Skip to content

Commit 8a5a178

Browse files
committed
fix:company registeration button
1 parent bc6d074 commit 8a5a178

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/app/page.tsx

+8-5
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ export default async function HomePage() {
2020
const today = Date.now()
2121
return (
2222
<>
23-
<NavigationMenu
24-
aside={today < fr_end ? <CompanyRegistrationButton /> : ""}
25-
/>
23+
{today < fr_end ? (
24+
<NavigationMenu />
25+
) : (
26+
<NavigationMenu aside={<CompanyRegistrationButton />} />
27+
)}
28+
2629
<Page.Background className="">
2730
<div className="mb-5 flex w-full flex-1 justify-center ">
2831
<div className="mx-5 w-full max-w-[800px] pt-3 md:mx-10 md:pt-6">
@@ -106,9 +109,9 @@ export default async function HomePage() {
106109
src={
107110
exhibitor.name === "Nordea"
108111
? "/exhibitorLogo/NordeaBankLogo.png"
109-
: (exhibitor.logo_squared ??
112+
: exhibitor.logo_squared ??
110113
exhibitor.logo_freesize ??
111-
"")
114+
""
112115
}
113116
alt={exhibitor.name}
114117
width={600}

0 commit comments

Comments
 (0)