Skip to content

Commit

Permalink
Refactor Event Naming & Introduce basic day
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Aug 6, 2024
1 parent c7b38cc commit cdb1cec
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/[slug]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '../styles/frensday.css';
import '../styles/frensday23.css';
import '../styles/frensday24.css';
import '../styles/ethdenver24.css';
import '../styles/generic.css';

Expand Down
4 changes: 3 additions & 1 deletion app/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ import { useWarpcast } from '../../hooks/useWarpcast';

const theme2Class = {
frensday2023: 'theme-frensday2023',
ethdenver2024: 'theme-ethdenver24',
ethdenver2024: 'theme-ethdenver2024',
frensday2024: 'theme-frensday2024',
};

const theme2Color = {
frensday2023: '#2A2244',
ethdenver2024: '#888CDC',
frensday2024: '#FFF3E8',
};

export default async function ({
Expand Down
2 changes: 1 addition & 1 deletion app/styles/ethdenver24.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
html:has(.theme-ethdenver24) {
html:has(.theme-ethdenver2024) {
body, html {
@apply bg-[#888CDC] text-[#1D1C47];
}
Expand Down
File renamed without changes.
14 changes: 14 additions & 0 deletions app/styles/frensday24.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
html:has(.theme-frensday2024) {
body {
@apply bg-[#FCB3AC] text-[#702F00];
}
.btn {
@apply bg-[#E95666] hover:bg-[#d24a5a] active:bg-[#eb5d6e] font-bold text-[#FFF3E8];
}
.card-bg {
@apply bg-[#14032C];
}
.link {
@apply text-ens-light-blue;
}
}

0 comments on commit cdb1cec

Please sign in to comment.