From ca762db012c095882beb1a365927f9fd6be8fd95 Mon Sep 17 00:00:00 2001 From: Erik Jonkers Date: Thu, 8 Aug 2024 16:38:58 +0200 Subject: [PATCH] by RustNL in header logo --- public/images/rustnl-logo-square.svg | 1 + public/svg/hero-logo-rustweek-by-rustnl.svg | 1 + .../logo.svg => svg/hero-logo-rustweek.svg} | 0 public/svg/logo.svg | 1 - public/svg/rustnl.svg | 69 ------------------- src/components/header.astro | 2 +- src/layouts/HomeLayout.astro | 4 +- src/pages/industry.astro | 2 +- src/styles/components/_buttons.scss | 4 +- src/styles/components/_hero.scss | 12 ++-- 10 files changed, 14 insertions(+), 82 deletions(-) create mode 100644 public/images/rustnl-logo-square.svg create mode 100644 public/svg/hero-logo-rustweek-by-rustnl.svg rename public/{images/logo.svg => svg/hero-logo-rustweek.svg} (100%) delete mode 100644 public/svg/logo.svg delete mode 100644 public/svg/rustnl.svg diff --git a/public/images/rustnl-logo-square.svg b/public/images/rustnl-logo-square.svg new file mode 100644 index 0000000..45cfa30 --- /dev/null +++ b/public/images/rustnl-logo-square.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svg/hero-logo-rustweek-by-rustnl.svg b/public/svg/hero-logo-rustweek-by-rustnl.svg new file mode 100644 index 0000000..57345d5 --- /dev/null +++ b/public/svg/hero-logo-rustweek-by-rustnl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/logo.svg b/public/svg/hero-logo-rustweek.svg similarity index 100% rename from public/images/logo.svg rename to public/svg/hero-logo-rustweek.svg diff --git a/public/svg/logo.svg b/public/svg/logo.svg deleted file mode 100644 index e641da2..0000000 --- a/public/svg/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/svg/rustnl.svg b/public/svg/rustnl.svg deleted file mode 100644 index 0b1abf1..0000000 --- a/public/svg/rustnl.svg +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/components/header.astro b/src/components/header.astro index 339a09d..a288e2f 100644 --- a/src/components/header.astro +++ b/src/components/header.astro @@ -7,7 +7,7 @@ const { withLogo } = Astro.props; { withLogo && ( ) } diff --git a/src/layouts/HomeLayout.astro b/src/layouts/HomeLayout.astro index bf20b60..c4020be 100644 --- a/src/layouts/HomeLayout.astro +++ b/src/layouts/HomeLayout.astro @@ -13,8 +13,8 @@ import "../styles/index.scss";
- Logo Rust Week 2025 -

May 13 - 17, 2025
The Netherlands

+ Logo Rust Week 2025 +

May 13 - 17, 2025
Utrecht, The Netherlands

diff --git a/src/styles/components/_buttons.scss b/src/styles/components/_buttons.scss index cfd5dc6..98d1923 100644 --- a/src/styles/components/_buttons.scss +++ b/src/styles/components/_buttons.scss @@ -37,12 +37,12 @@ .down-arrow { aspect-ratio: 1; border: solid var(--color-red-400); - border-width: 0 1.5rem 1.5rem 0; + border-width: 0 1rem 1rem 0; display: inline-block; rotate: 0deg; animation: MoveUpDown 2s ease-in-out infinite; rotate: 45deg; - width: 72px; + width: 3rem; } diff --git a/src/styles/components/_hero.scss b/src/styles/components/_hero.scss index 91f42f2..471262a 100644 --- a/src/styles/components/_hero.scss +++ b/src/styles/components/_hero.scss @@ -7,8 +7,9 @@ color: var(--color-neutral-400); display: flex; flex-direction: column; - font-size: var(--font-size-2xl); - gap: var(--space-9); + font-size: clamp(var(--font-size-xl), 2.5vw, 2.5rem); + + gap: var(--space-10); justify-content: center; line-height: var(--line-height-tight); min-height: 100svh; @@ -54,14 +55,13 @@ img { height: auto; - max-width: 100%; - + @include mixins.breakpoint(md) { - max-width: 60vw; + max-width: 60vw; } @include mixins.breakpoint(xl) { - max-width: 45vw; + max-width: 40vw; } }