From 65d304448ca5f9b43c9021755e67cc1944a74ec3 Mon Sep 17 00:00:00 2001 From: Niko Date: Mon, 5 May 2025 21:13:30 +0200 Subject: [PATCH 01/24] nav --- src/components/Header.astro | 3 +- src/components/NavItems.astro | 196 ++++++++++++++++++++++++++++++++++ src/data/links.json | 174 +++++++++++------------------- 3 files changed, 259 insertions(+), 114 deletions(-) create mode 100644 src/components/NavItems.astro diff --git a/src/components/Header.astro b/src/components/Header.astro index d01e07e24..66d8d18bf 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,6 +1,5 @@ --- -import { promises as fs } from "fs"; -import { NavItems } from "@components/nav-items"; +import NavItems from "@components/NavItems.astro"; import HeaderActions from "@components/header/header-actions.astro"; import HeaderLogo from "@components/header/header-logo.astro"; import Search from "@components/Search.astro"; diff --git a/src/components/NavItems.astro b/src/components/NavItems.astro new file mode 100644 index 000000000..9185f249f --- /dev/null +++ b/src/components/NavItems.astro @@ -0,0 +1,196 @@ +--- +import Icon from "@ui/Icon.astro"; +import clsx from "clsx"; + +type Item = { + name: string; + path?: string; + items?: Item[]; +}; + +interface Props { + items: Item[]; + inverted?: boolean; + level?: number; +} + +const { items, inverted = false, level = 1 } = Astro.props; +--- + + + + + + diff --git a/src/data/links.json b/src/data/links.json index d1db56583..0114b3022 100644 --- a/src/data/links.json +++ b/src/data/links.json @@ -1,150 +1,100 @@ { "header": [ { - "name": "Programme", + "name": "Program", "items": [ - { - "name": "Programme & Events Overview", - "path": "/overview" - }, - { - "name": "List of Sessions", - "path": "/sessions" - }, - { - "name": "List of Speakers", - "path": "/speakers" - }, - { - "name": "Tracks", - "path": "/tracks" - }, - { - "name": "Selection Process", - "path": "/selection" - }, - { - "name": "Community Voting", - "path": "/voting" - }, - { - "name": "Speaker Mentorship", - "path": "/mentorship" - }, - { - "name": "C API Summit", - "path": "/c-api-summit" - }, - { - "name": "WebAssembly Summit", - "path": "/wasm-summit" - }, - { - "name": "Rust Summit", - "path": "/rust-summit" - } + { "name": "Overview", "path": "/overview" }, + { + "name": "Schedule", + "items": [ + { "name": "Full Program", "path": "/schedule" }, + { "name": "Day 1 - July 8", "path": "/schedule/day1" }, + { "name": "Day 2 - July 9", "path": "/schedule/day2" }, + { "name": "Day 3 - July 10", "path": "/schedule/day3" }, + { "name": "Talks", "path": "/schedule/talks" }, + { "name": "Workshops", "path": "/schedule/workshops" }, + { "name": "Keynotes", "path": "/schedule/keynotes" }, + { "name": "Lightning Talks", "path": "/schedule/lightning" }, + { "name": "My Schedule", "path": "/schedule/my-schedule" } + ] + }, + { "name": "Speakers", "path": "/speakers" }, + { "name": "Sessions", "path": "/sessions" }, + { "name": "Tracks", "path": "/tracks" } ] }, { "name": "Events", "items": [ - { - "name": "Speakers' Dinner", - "path": "/speakers-dinner" - }, - { - "name": "Beginners' Day", - "path": "/beginners-day" - } + { "name": "Main Conference", "path": "/conference" }, + { + "name": "Summits", + "items": [ + { "name": "C API Summit", "path": "/c-api-summit" }, + { "name": "WebAssembly Summit", "path": "/wasm-summit" }, + { "name": "Rust Summit", "path": "/rust-summit" } + ] + }, + { + "name": "Special Events", + "items": [ + { "name": "Speakers' Dinner", "path": "/speakers-dinner" }, + { "name": "Beginners' Day", "path": "/beginners-day" }, + { "name": "Lightning Talks", "path": "/schedule/lightning" }, + { "name": "Poster Session", "path": "/posters" }, + { "name": "Social Event", "path": "/social" } + ] + }, + { "name": "Tutorials", "path": "/schedule/tutorials" } ] }, { - "name": "Schedule", + "name": "Venue", "items": [ - { - "name": "Tutorials", - "path": "/schedule/tutorials" - }, - { - "name": "Talks", - "path": "/schedule/talks" - } - ] - }, - { - "name": "Prague & Venue", - "items": [ - { - "name": "Prague", - "path": "/prague" - }, - { - "name": "Venue", - "path": "/venue" - } + { "name": "Location & Facilities", "path": "/venue" }, + { "name": "Prague Guide", "path": "/prague" } ] }, { - "name": "Sponsorship", + "name": "Participate", "items": [ - { - "name": "Sponsor Packages", - "path": "/sponsorship/sponsor" - }, - { - "name": "Sponsor Information", - "path": "/sponsorship/information" - } + { "name": "Register", "path": "/tickets" }, + { "name": "Submit Proposal", "path": "/selection" }, + { "name": "Community Voting", "path": "/voting" }, + { "name": "Speaker Mentorship", "path": "/mentorship" }, + { "name": "Financial Aid", "path": "/finaid" } ] }, { - "name": "Registration", + "name": "Sponsors", "items": [ - { - "name": "Tickets information", - "path": "/tickets" - } + { "name": "Our Sponsors", "path": "/sponsors" }, + { "name": "Sponsorship Packages", "path": "/sponsorship/sponsor" }, + { "name": "Become a Sponsor", "path": "/sponsorship/information" } ] }, { - "name": "Info & Support", + "name": "Info", "items": [ + { "name": "FAQ", "path": "/faq" }, { "name": "Code of Conduct", "path": "https://www.europython-society.org/coc/" }, + { "name": "Visa Support", "path": "/visa" }, + { "name": "Childcare", "path": "/childcare" }, { - "name": "FAQ", - "path": "/faq" + "name": "2024 Photos", + "path": "https://ep2024.europython.eu/photos" }, - { - "name": "Financial Aid", - "path": "/finaid" - }, - { - "name": "Visa Support Letter", - "path": "/visa" - }, - { - "name": "Childcare", - "path": "/childcare" - } + { "name": "Contact Us", "path": "/contacts" } ] } ], "footer": [ - { - "name": "2024 Photos", - "path": "https://ep2024.europython.eu/photos" - }, - { - "name": "Contacts", - "path": "/contacts" - }, - { - "name": "Terms", - "path": "/terms" - }, + { "name": "2024 Photos", "path": "https://ep2024.europython.eu/photos" }, + { "name": "Contacts", "path": "/contacts" }, + { "name": "Terms", "path": "/terms" }, { "name": "Privacy Policy", "path": "https://www.europython-society.org/privacy/" From 3ba0dca4340874a17088506fef13e0aa0471ba9d Mon Sep 17 00:00:00 2001 From: Niko Date: Mon, 5 May 2025 22:48:37 +0200 Subject: [PATCH 02/24] New navbar. --- public/EuroPython2025_logo_small.png | Bin 0 -> 8070 bytes public/eps-logo.svg | 1 + src/components/Footer.astro | 9 +- src/components/Header.astro | 32 +- src/components/header/header-actions.astro | 4 +- src/components/header/header-logo.astro | 4 +- src/components/logo/eps-logo.tsx | 128 -- src/components/logo/index.tsx | 1 - src/components/logo/logo-extended.tsx | 229 --- src/components/logo/logo.tsx | 1507 -------------------- src/layouts/Layout.astro | 2 +- 11 files changed, 38 insertions(+), 1879 deletions(-) create mode 100644 public/EuroPython2025_logo_small.png create mode 100644 public/eps-logo.svg delete mode 100644 src/components/logo/eps-logo.tsx delete mode 100644 src/components/logo/index.tsx delete mode 100644 src/components/logo/logo-extended.tsx delete mode 100644 src/components/logo/logo.tsx diff --git a/public/EuroPython2025_logo_small.png b/public/EuroPython2025_logo_small.png new file mode 100644 index 0000000000000000000000000000000000000000..9c47e035cc123e12323f8982d3c63455c4de08ca GIT binary patch literal 8070 zcmV;1A9>)3P)E#Y3!+ut5T}fF~I95;h1Z5U*oH9y1Oi52tMsBc{_lnluufP92guNcBt{ zC!HcXP80u;Sh(#pv1ejoH+5ocv&2q7K!O|uv0GzSfJ9;>Sc9zR-h29e_wHR??e2Z; zUOg<%Z)UZty=U)h&z|pjzQZ5~f}wCwR{Fw>K^2!+CF2mJw^N$MIEM}foSxehd0HeE zjl@785C{YU!Gyvf3rZJM*D#6I;ma^&16P~k()3253Vwfj}Ub5IiXX67U-EmvGtq zwP6ql1OkCTFz$F$0#u%w^aqUd1Nam%zqf3Gs&7j?if07jhkx-&*t2Rz+CDjBArJ@z z0)apAnLeeVw!b=`uS-s}0}8&FYFg0FfxTj%x?!JjytWUFkg020l|Ze?wT6l+{dljWT`C{Jr)Iz%vrFm7CfQ?i!rXo;(xp=$vjBlN|B@^+4L=| z^Uda5?Y`?_8L;pB|GN_iawTUazzqXK1Mt|1E?{a8cyvBw1zuE$OVX3zGl6(-6ii+Z zNn-mruu!J9T;;vuozufzFzIj$3=n3Yym$54A~VXAVV`_jn>WC=|X4XAx}oIySA zIVjP0%hTI2%_YR@0ytuqRj!YqGSb|0;rIc!$I0fq)H7aXpktO+u8-n*MHGoOS_z6c zD6xReacF-iq!)P+G^HpM?9QE%V^INUHvT6CU@ZD=`hj@_68$NlvKlV2y*90z!2^E% zCd_>c_ZQSgjm&*3Oy3TD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da)Na%-szUz5|Z5-ZiS_qmSHY znQ=aq=!qV0ak7%LL9gKFuVw7GEUs4hEZm$a2Z5ACjLqIdu30BVz$>Wi?C+Um$$f(H zMYpQ`?^}%X16RhdZ;=918mhhXT3a8dBf)r4&_R zpfBycJ>PoyyqnK5;7#BDr~CH9`lnk}$$#r*pA_O2)??S9q|5KK*Q zjE$*W-MwnX{N_yCeVLp-cgBUZ_h=n@y9X)`+B4@o%lh+^3vIArzF6*&u}}aE6lthl zpW0{vV|A2lWwn{ki_Q#YL)^rf&%!S?vBfMqwxqBr2Zz4rS!7VXiM9t!zHzytaK%^DRp zZINBMV!_P`^-od^v-urOWZ$Bkn_QI_uTXN=iaRQ5CAwEC+l6nn;5qo7`yhCKKtdm% zqMWm4uBy98_>=p8&6-8FIdwUO1K#apnj%1K?|&W+7Tph*eGP5wRL>ZTsj7NF(ktVQ`oW>Lzx&ZgwhD_-AP@)yf^o)^CjbqGh%Cb>C16AK z$KV9N7cMK8pmN|G3=U_sDuS650BxVLa9;@o0)ap<5qO>~zvtnX4kzckyF_0#FuiOr z)e^W_rVF_q%7YGCbfj}Ub5WJVo zOF;Pnz}U_#=Jdum=llER-X^~*0SW{Hfj}T|Pu5C+!JdD7sRksqhJmyi|E diff --git a/src/components/Footer.astro b/src/components/Footer.astro index db0e79211..b8f3548d2 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,8 +1,7 @@ --- -import { Fullbleed } from "./layout/fullbleed"; - -import links from "../data/links.json"; -import { EPSLogo } from "./logo/eps-logo"; +import { Image } from "astro:assets"; +import links from "@data/links.json"; +import EPSLogo from "../../public/eps-logo.svg"; const buildTimestamp = __TIMESTAMP__; const gitVersion = __GIT_VERSION__; @@ -36,7 +35,7 @@ const gitVersion = __GIT_VERSION__; class="flex flex-col lg:flex-row self-center gap-8 lg:gap-12 justify-end" >
- +
diff --git a/src/components/Header.astro b/src/components/Header.astro index 66d8d18bf..ee5bdfdf4 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -7,7 +7,8 @@ import Search from "@components/Search.astro"; import links from "../data/links.json"; --- -
+ -
+ + diff --git a/src/components/header/header-actions.astro b/src/components/header/header-actions.astro index 0b2407237..8ad87de96 100644 --- a/src/components/header/header-actions.astro +++ b/src/components/header/header-actions.astro @@ -15,7 +15,7 @@ const IS_LIVE = false; // --- -
+
{ !mobile ? @@ -34,7 +34,7 @@ const IS_LIVE = false; CtrlK - + {IS_LIVE && } : null diff --git a/src/components/header/header-logo.astro b/src/components/header/header-logo.astro index e084d8143..3fd341ba9 100644 --- a/src/components/header/header-logo.astro +++ b/src/components/header/header-logo.astro @@ -1,11 +1,9 @@ --- -import { Logo } from "../logo"; - interface Props { inverted?: boolean; } --- - + diff --git a/src/components/logo/eps-logo.tsx b/src/components/logo/eps-logo.tsx deleted file mode 100644 index d8de69717..000000000 --- a/src/components/logo/eps-logo.tsx +++ /dev/null @@ -1,128 +0,0 @@ -import * as React from "react"; - -export const EPSLogo = (props: React.SVGProps) => { - return ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ); -}; diff --git a/src/components/logo/index.tsx b/src/components/logo/index.tsx deleted file mode 100644 index c33ff11e9..000000000 --- a/src/components/logo/index.tsx +++ /dev/null @@ -1 +0,0 @@ -export { Logo } from "./logo"; diff --git a/src/components/logo/logo-extended.tsx b/src/components/logo/logo-extended.tsx deleted file mode 100644 index 49c10ad27..000000000 --- a/src/components/logo/logo-extended.tsx +++ /dev/null @@ -1,229 +0,0 @@ -import * as React from "react"; - -export const LogoExtended = (props: React.SVGProps) => { - return ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ); -}; diff --git a/src/components/logo/logo.tsx b/src/components/logo/logo.tsx deleted file mode 100644 index e0bc35106..000000000 --- a/src/components/logo/logo.tsx +++ /dev/null @@ -1,1507 +0,0 @@ -//@ts-nocheck -// TODO: LogoInverted needs to be adapted to the new logo -const LogoInverted = ({ className }: { className?: string }) => { - return ( - - EuroPython logo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ); -}; - -export const Logo = ({ className }: { className?: string }) => { - return ( - - EuroPython logo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ); -}; diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index d47e64031..a200a219e 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -76,7 +76,7 @@ const externalDomain = new URL(Astro.site || "").hostname; @apply bg-body-background; } main { - @apply bg-body-background; + @apply bg-body-background pt-6; } footer { @apply bg-primary py-10; From 237f2ad39a9834492d2d044be43326c4f8a5b23c Mon Sep 17 00:00:00 2001 From: Niko Date: Tue, 6 May 2025 21:11:34 +0200 Subject: [PATCH 03/24] Add padding. --- src/layouts/Layout.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index a200a219e..308f8d711 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -36,7 +36,7 @@ const externalDomain = new URL(Astro.site || "").hostname;
-
+
@@ -76,7 +76,7 @@ const externalDomain = new URL(Astro.site || "").hostname; @apply bg-body-background; } main { - @apply bg-body-background pt-6; + @apply bg-body-background; } footer { @apply bg-primary py-10; From 6966d5cd87e68f42a959022d3343bdb30ebeb20c Mon Sep 17 00:00:00 2001 From: Niko Date: Thu, 8 May 2025 17:52:22 +0200 Subject: [PATCH 04/24] New footer. --- src/components/Footer.astro | 169 ++++++------ src/components/Header.astro | 2 +- src/components/header/header-actions.astro | 2 +- src/components/ui/Button.astro | 3 +- src/data/links.json | 297 ++++++++++++++++----- src/layouts/Layout.astro | 16 ++ 6 files changed, 336 insertions(+), 153 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index b8f3548d2..ee8a8eebc 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -8,97 +8,94 @@ const gitVersion = __GIT_VERSION__; ---
-
- -
+

+ version: {gitVersion} @ {buildTimestamp} +

+