Skip to content

Commit

Permalink
Add company button to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
SortHvit committed Apr 19, 2024
1 parent 491d602 commit 412893e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/exhibitor/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CompanyRegistrationButton } from "@/app/_components/CompanyRegistrationButton"
import { NavigationMenu } from "@/components/shared/NavigationMenu"
import { Button } from "@/components/ui/button"
import Link from "next/link"

export default function ExhibitorLayout({
Expand All @@ -12,7 +12,7 @@ export default function ExhibitorLayout({
<NavigationMenu
aside={
<Link href="https://register.armada.nu/register">
<Button>Exhibitor signup</Button>
<CompanyRegistrationButton />
</Link>
}
/>
Expand Down
3 changes: 2 additions & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { CompanyRegistrationButton } from "@/app/_components/CompanyRegistrationButton"
import { FairDates } from "@/app/_components/FairDates"
import { RecruitmentBanner } from "@/app/_components/Recruitment"
import { NavigationMenu } from "@/components/shared/NavigationMenu"
Expand All @@ -13,7 +14,7 @@ export default async function HomePage() {
<NavigationMenu
aside={
<Link href="https://register.armada.nu/register">
<Button>Exhibitor Signup</Button>
<CompanyRegistrationButton />
</Link>
}
/>
Expand Down

0 comments on commit 412893e

Please sign in to comment.