Skip to content

Commit 6a02589

Browse files
authored
Fix invited user registration form styles (#565)
1 parent ff94af2 commit 6a02589

File tree

26 files changed

+626
-691
lines changed

26 files changed

+626
-691
lines changed

frontend/src/components/layouts/AuthLayout/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const GenericFeatures = () => {
5050
const allFeatures = [
5151
{
5252
icon: IconChartBar,
53-
title: t`Smart Dashboard`,
53+
title: t`In-depth Analytics`,
5454
description: t`Track revenue, page views, and sales with detailed analytics and exportable reports`
5555
},
5656
{
@@ -65,7 +65,7 @@ const GenericFeatures = () => {
6565
},
6666
{
6767
icon: IconBuildingStore,
68-
title: t`Complete Store`,
68+
title: t`Sell Anything`,
6969
description: t`Sell merchandise alongside tickets with integrated tax and promo code support`
7070
},
7171
{
@@ -80,12 +80,12 @@ const GenericFeatures = () => {
8080
},
8181
{
8282
icon: IconPalette,
83-
title: t`Brand Control`,
83+
title: t`Match Your Brand`,
8484
description: t`Customize your event page and widget design to match your brand perfectly`
8585
},
8686
{
8787
icon: IconWebhook,
88-
title: t`Auto Workflow`,
88+
title: t`Fully Integrated`,
8989
description: t`Connect with CRM and automate tasks using webhooks and integrations`
9090
}
9191
];

frontend/src/components/routes/auth/AcceptInvitation/index.tsx

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {useAcceptInvitation} from "../../../../mutations/useAcceptInvitation.ts"
1010
import {showError, showSuccess} from "../../../../utilites/notifications.tsx";
1111
import {AcceptInvitationRequest} from "../../../../types.ts";
1212
import {Card} from "../../../common/Card";
13+
import {InputGroup} from "../../../common/InputGroup";
1314

1415
const AcceptInvitation = () => {
1516
const navigate = useNavigate();
@@ -86,29 +87,38 @@ const AcceptInvitation = () => {
8687
</Alert>
8788
<form onSubmit={form.onSubmit(handleSubmit)}>
8889
<fieldset disabled={!isFetched}>
89-
<TextInput required {...form.getInputProps('first_name')}
90-
label={t`First Name`}/>
91-
<TextInput required {...form.getInputProps('last_name')}
92-
label={t`Last Name`}/>
93-
<TextInput disabled required {...form.getInputProps('email')} label={t`Email`}/>
90+
<InputGroup>
91+
<TextInput required {...form.getInputProps('first_name')}
92+
label={t`First Name`}/>
93+
<TextInput required {...form.getInputProps('last_name')}
94+
label={t`Last Name`}/>
95+
</InputGroup>
9496

95-
<Select
96-
required
97-
searchable
98-
data={timezones}
99-
{...form.getInputProps('timezone')}
100-
label={t`Timezone`}
101-
placeholder={t`UTC`}
102-
/>
97+
<InputGroup>
98+
<TextInput disabled required {...form.getInputProps('email')} label={t`Email`}/>
10399

104-
<PasswordInput {...form.getInputProps('password')} label={t`New Password`} required/>
105-
<PasswordInput {...form.getInputProps('password_confirmation')} label={t`Confirm Password`}
106-
required/>
100+
<Select
101+
required
102+
searchable
103+
data={timezones}
104+
{...form.getInputProps('timezone')}
105+
label={t`Timezone`}
106+
placeholder={t`UTC`}
107+
/>
108+
</InputGroup>
109+
110+
<InputGroup>
111+
<PasswordInput {...form.getInputProps('password')} label={t`New Password`} required/>
112+
<PasswordInput {...form.getInputProps('password_confirmation')} label={t`Confirm Password`}
113+
required/>
114+
</InputGroup>
107115

108116
<Switch {...form.getInputProps('terms', {type: 'checkbox'})}
109117
label={(
110118
<Trans>
111-
I agree to the <Anchor target={'_blank'} href={'https://hi.events/terms-of-service'}>terms and conditions</Anchor>
119+
I agree to the <Anchor target={'_blank'}
120+
href={'https://hi.events/terms-of-service'}>terms and
121+
conditions</Anchor>
112122
</Trans>
113123
)}/>
114124

frontend/src/locales/de.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)