Skip to content

Commit

Permalink
Feat: Go to dashboard link on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Vija02 committed Sep 5, 2024
1 parent bb2d8b8 commit 4d96e6f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
24 changes: 24 additions & 0 deletions apps/homepage/src/app/(default)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,30 @@ export default function Home() {
</PageHeader>

<ViewOnGithub />

<Box display="flex" justifyContent="center">
<styled.a
mt={6}
href="/o"
bg="indigo.700"
color="white"
padding="5px 10px"
borderRadius="md"
fontWeight="bold"
transition="background-color 0.3s"
_hover={{ bg: "indigo.800" }}
>
<styled.span
display="flex"
flex={1}
alignItems="center"
gap={3}
fontSize="lg"
>
Go to Dashboard
</styled.span>
</styled.a>
</Box>
</Box>
</Box>
</styled.section>
Expand Down
1 change: 0 additions & 1 deletion apps/homepage/src/components/ui/view-on-github.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export default function ViewOnGithub() {
cursor: "pointer",
}}
my={-2.5}
ml={8}
>
<styled.span
display="flex"
Expand Down

0 comments on commit 4d96e6f

Please sign in to comment.