mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-09 15:05:48 +01:00
💄 Normalize onboarding steps design
This commit is contained in:
@@ -11,7 +11,7 @@ export const StepDockerImport = ({ next }: { next: () => void }) => {
|
|||||||
</Title>
|
</Title>
|
||||||
|
|
||||||
<Stack align="center">
|
<Stack align="center">
|
||||||
<Button onClick={next} rightIcon={<IconArrowRight size="1rem" />}>
|
<Button onClick={next} rightIcon={<IconArrowRight size="1rem" />} fullWidth>
|
||||||
Next
|
Next
|
||||||
</Button>
|
</Button>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Button, Divider, Stack, Text, Title } from '@mantine/core';
|
import { Button, Divider, Stack, Text, Title } from '@mantine/core';
|
||||||
import { IconArrowRight, IconLink } from '@tabler/icons-react';
|
import { IconArrowRight, IconExternalLink } from '@tabler/icons-react';
|
||||||
|
|
||||||
import { OnboardingStepWrapper } from './common-wrapper';
|
import { OnboardingStepWrapper } from './common-wrapper';
|
||||||
|
|
||||||
@@ -16,13 +16,13 @@ export const StepDocumentation = ({ next }: { next: () => void }) => {
|
|||||||
component="a"
|
component="a"
|
||||||
href="https://homarr.dev/docs/introduction/after-the-installation"
|
href="https://homarr.dev/docs/introduction/after-the-installation"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
leftIcon={<IconLink size="1rem" />}
|
rightIcon={<IconExternalLink size="1rem" />}
|
||||||
variant="light"
|
variant="default"
|
||||||
>
|
>
|
||||||
Open documentation
|
Open documentation
|
||||||
</Button>
|
</Button>
|
||||||
<Divider w={400} maw="100%" />
|
<Divider h={30} />
|
||||||
<Button onClick={next} rightIcon={<IconArrowRight size="1rem" />}>
|
<Button onClick={next} rightIcon={<IconArrowRight size="1rem" />} fullWidth>
|
||||||
Finish
|
Finish
|
||||||
</Button>
|
</Button>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Box, Card, NavLink, Stack, Text, Title, createStyles } from '@mantine/core';
|
import { NavLink, Stack, Text, Title, createStyles } from '@mantine/core';
|
||||||
import {
|
import {
|
||||||
IconChevronRight,
|
IconChevronRight,
|
||||||
IconDashboard,
|
IconDashboard,
|
||||||
@@ -7,10 +7,12 @@ import {
|
|||||||
} from '@tabler/icons-react';
|
} from '@tabler/icons-react';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
|
|
||||||
|
import { OnboardingStepWrapper } from './common-wrapper';
|
||||||
|
|
||||||
export const StepOnboardingFinished = () => {
|
export const StepOnboardingFinished = () => {
|
||||||
const { classes } = useStyles();
|
const { classes } = useStyles();
|
||||||
return (
|
return (
|
||||||
<Card>
|
<OnboardingStepWrapper>
|
||||||
<Stack align="center">
|
<Stack align="center">
|
||||||
<Image src="/imgs/logo/logo.svg" alt="" width={50} height={50} />
|
<Image src="/imgs/logo/logo.svg" alt="" width={50} height={50} />
|
||||||
<Title order={2} align="center">
|
<Title order={2} align="center">
|
||||||
@@ -45,7 +47,7 @@ export const StepOnboardingFinished = () => {
|
|||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Card>
|
</OnboardingStepWrapper>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user