website refactor
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
import React from 'react';
|
||||
import { Stack } from '@/ui/Stack';
|
||||
import { Box } from '@/ui/Box';
|
||||
import { Text } from '@/ui/Text';
|
||||
|
||||
interface NotFoundHelpLinksProps {
|
||||
@@ -20,7 +19,7 @@ export function NotFoundHelpLinks({ links }: NotFoundHelpLinksProps) {
|
||||
<Stack direction="row" gap={6} align="center" wrap center>
|
||||
{links.map((link, index) => (
|
||||
<React.Fragment key={link.href}>
|
||||
<Box
|
||||
<Stack
|
||||
as="a"
|
||||
href={link.href}
|
||||
transition
|
||||
@@ -36,9 +35,9 @@ export function NotFoundHelpLinks({ links }: NotFoundHelpLinksProps) {
|
||||
>
|
||||
{link.label}
|
||||
</Text>
|
||||
</Box>
|
||||
</Stack>
|
||||
{index < links.length - 1 && (
|
||||
<Box width="1px" height="12px" bg="border-gray" opacity={0.5} />
|
||||
<Stack width="1px" height="12px" bg="border-gray" opacity={0.5} />
|
||||
)}
|
||||
</React.Fragment>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user