-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
351 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import '../styles/frensday.css'; | ||
import '../styles/generic.css'; | ||
|
||
import React from 'react'; | ||
|
||
// export const metadata = { | ||
// title: 'Next.js', | ||
// description: 'Generated by Next.js', | ||
// }; | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
params: { slug: string }; | ||
searchParams: { event?: string; iykRef?: string }; | ||
}) { | ||
return ( | ||
// <html lang="en"> | ||
<div>{children}</div> | ||
// </html> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
html:has(.theme-frensday2023) { | ||
body { | ||
@apply bg-[#2A2244] text-white; | ||
} | ||
.btn { | ||
@apply bg-[#7116EB] hover:bg-[#781dff] active:bg-[#5e0fc8]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.btn { | ||
@apply relative rounded-lg flex items-center justify-center gap-2 transition-colors duration-200 ease-in-out; | ||
} | ||
|
||
html:has(.theme-generic) { | ||
body { | ||
@apply bg-ens-light-background-secondary text-ens-light-text-primary; | ||
} | ||
.btn { | ||
@apply bg-ens-light-blue-primary text-ens-light-text-accent hover:bg-ens-light-blue-bright active:bg-ens-light-blue-active; | ||
} | ||
.btn-twitter { | ||
@apply bg-black text-white hover:bg-[#222] active:bg-[#333]; | ||
} | ||
.btn-telegram { | ||
@apply bg-[#33ABE0] hover:bg-[#33ABE0] active:bg-[#33ABE0] hover:brightness-105 active:brightness-95; | ||
} | ||
.btn-url { | ||
@apply bg-ens-light-purple-primary hover:bg-ens-light-purple-bright active:bg-ens-light-purple-active; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export const EventHeader = ({ event }) => { | ||
if (event == 'frensday2023') { | ||
return ( | ||
<div className="text-center px-4"> | ||
<img | ||
src="/frensday_2.svg" | ||
alt="frensday" | ||
className="w-full h-auto mx-auto" | ||
/> | ||
<div>November 13 2023, Istanbul Türkiye</div> | ||
</div> | ||
); | ||
} | ||
|
||
return <></>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.