Skip to content

Commit c234a51

Browse files
authored
Merge pull request #1215 from helpwave/patch/tasks-demo-url
Update staging url for tasks on landing-page
2 parents abd3e9a + ede90db commit c234a51

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

landing-page/components/Footer.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type { ThemeType, ThemeTypeTranslation } from '@helpwave/hightide/hooks/u
1212
import { defaultThemeTypeTranslation } from '@helpwave/hightide/hooks/useTheme'
1313
import { useTheme } from '@helpwave/hightide/hooks/useTheme'
1414

15-
type Categories = 'socials'| 'general'| 'products'| 'development'
15+
type Categories = 'socials' | 'general' | 'products' | 'development'
1616
type FooterTranslation = { [key in Categories]: string } & ThemeTypeTranslation
1717

1818
const defaultFooterTranslation: Record<Languages, FooterTranslation> = {
@@ -51,7 +51,7 @@ const linkGroups: Record<Categories, LinkType[]> = {
5151
{ name: 'web', link: 'https://github.com/helpwave/web' },
5252
{ name: 'mobile-app', link: 'https://github.com/helpwave/mobile-app' },
5353
{ name: 'services', link: 'https://github.com/helpwave/services' },
54-
{ name: 'helpwave tasks (staging)', link: 'https://staging-tasks.helpwave.de' },
54+
{ name: 'helpwave tasks', link: 'https://tasks.helpwave.de' },
5555
],
5656
general: [
5757
{ name: 'Support', link: 'https://support.helpwave.de' },
@@ -99,7 +99,7 @@ const Footer = () => {
9999
{grouping.map((groups, index) => (
100100
<div key={index} className="col max-tablet:w-full w-[192px] max-tablet:text-center max-tablet:items-center">
101101
{groups.map((category) => (
102-
<FooterLinkGroup key={category} title={translation[category] } links={linkGroups[category]} />
102+
<FooterLinkGroup key={category} title={translation[category]} links={linkGroups[category]} />
103103
))}
104104
{index === 2 && (
105105
<>
@@ -126,7 +126,7 @@ const Footer = () => {
126126
</div>
127127
<div
128128
className="row w-full h-[128px] items-center justify-center mx-auto font-space">
129-
<Helpwave color="white" size={128}/>
129+
<Helpwave color="white" size={128} />
130130
<span className="textstyle-title-normal">&copy; {year} helpwave</span>
131131
</div>
132132
</div>

landing-page/components/sections/landing/TasksDemoSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const defaultTasksDemoSectionTranslation: Record<Languages, TasksDemoSectionTran
4343
export const TasksDemoSection = () => {
4444
const translation = useTranslation(defaultTasksDemoSectionTranslation)
4545

46-
const demoURL = 'https://staging-tasks.helpwave.de'
46+
const demoURL = 'https://tasks.helpwave.de'
4747
const imageURL = 'https://cdn.helpwave.de/products/tasks_preview.png'
4848
return (
4949
<SectionBase
@@ -52,14 +52,14 @@ export const TasksDemoSection = () => {
5252
>
5353
<div className="col desktop:flex-row w-full items-end justify-between gap-x-16 gap-y-8">
5454
<div className="col gap-y-4 desktop:max-w-[70%]">
55-
<HelpwaveBadge className="text-primary bg-purple-100 !w-fit" title={translation.helpwaveTasks}/>
55+
<HelpwaveBadge className="text-primary bg-purple-100 !w-fit" title={translation.helpwaveTasks} />
5656
<span className="textstyle-title-lg">{translation.workflowManagement}</span>
5757
<div className="grid grid-cols-1 gap-x-6 gap-y-4 overflow-x-auto mt-2">
5858
{[translation.feature1, translation.feature2, translation.feature3, translation.feature4].map((feature, index) => (
5959
<div key={index} className="row items-center">
6060
<div
6161
className="col justify-center items-center bg-primary text-white rounded-full min-w-[24px] min-h-[24px]">
62-
<Check size={18} strokeWidth={2.5}/>
62+
<Check size={18} strokeWidth={2.5} />
6363
</div>
6464
<span>{feature}</span>
6565
</div>

landing-page/components/sections/tasks/DemoSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import Link from 'next/link'
33
import { SectionBase } from '@/components/sections/SectionBase'
44

55
const DemoSection = () => {
6-
const demoURL = 'https://staging-tasks.helpwave.de'
6+
const demoURL = 'https://tasks.helpwave.de'
77

88
return (
99
<SectionBase backgroundColor="variant">
1010
<Link href={demoURL} target="_blank">
1111
<div className="font-space text-4xl font-bold underline text-center justify-center">
12-
Try <span className="text-blue-400 text-6xl">Open Beta</span> now!
13-
<LinkIcon className="ml-4 inline text-gray-400"/>
12+
Try <span className="text-blue-400 text-6xl">Demo</span> now!
13+
<LinkIcon className="ml-4 inline text-gray-400" />
1414
</div>
1515
</Link>
1616
</SectionBase>

landing-page/components/sections/tasks/StartSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const defaultStartSectionTranslation: Record<Languages, StartSectionTranslation>
2727
const StartSection = ({ overwriteTranslation }: PropsForTranslation<StartSectionTranslation>) => {
2828
const translation = useTranslation(defaultStartSectionTranslation, overwriteTranslation)
2929

30-
const demoURL = 'https://staging-tasks.helpwave.de'
30+
const demoURL = 'https://tasks.helpwave.de'
3131
const screenshotURL = 'https://cdn.helpwave.de/products/helpwave_tasks_ui_elements.png'
3232

3333
return (
@@ -45,12 +45,12 @@ const StartSection = ({ overwriteTranslation }: PropsForTranslation<StartSection
4545
<div className="col gap-y-4">
4646
<Link href={demoURL} target="_blank">
4747
<Chip className="row w-fit items-center" color="default">
48-
<Helpwave size={24} className="min-w-[24px] min-h-[24px]"/>
48+
<Helpwave size={24} className="min-w-[24px] min-h-[24px]" />
4949
<span className="font-bold">helpwave tasks</span>
5050
</Chip>
5151
</Link>
5252
<h1 className="textstyle-title-2xl">{translation.title}</h1>
53-
<MarkdownInterpreter text={translation.text} className="text-xl font-medium"/>
53+
<MarkdownInterpreter text={translation.text} className="text-xl font-medium" />
5454
</div>
5555
</SectionBase>
5656
)

0 commit comments

Comments
 (0)