Skip to content

Commit

Permalink
fix:company registeration button
Browse files Browse the repository at this point in the history
  • Loading branch information
Duosi-Dai committed Nov 13, 2024
1 parent bc6d074 commit 8a5a178
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ export default async function HomePage() {
const today = Date.now()
return (
<>
<NavigationMenu
aside={today < fr_end ? <CompanyRegistrationButton /> : ""}
/>
{today < fr_end ? (
<NavigationMenu />
) : (
<NavigationMenu aside={<CompanyRegistrationButton />} />
)}

<Page.Background className="">
<div className="mb-5 flex w-full flex-1 justify-center ">
<div className="mx-5 w-full max-w-[800px] pt-3 md:mx-10 md:pt-6">
Expand Down Expand Up @@ -106,9 +109,9 @@ export default async function HomePage() {
src={
exhibitor.name === "Nordea"
? "/exhibitorLogo/NordeaBankLogo.png"
: (exhibitor.logo_squared ??
: exhibitor.logo_squared ??
exhibitor.logo_freesize ??
"")
""
}
alt={exhibitor.name}
width={600}
Expand Down

0 comments on commit 8a5a178

Please sign in to comment.