From a5dfc9d0c7c930f8eb30c4217ba37b79d25c2f69 Mon Sep 17 00:00:00 2001 From: KtorZ Date: Fri, 29 Mar 2024 18:31:49 +0100 Subject: [PATCH] Finalize project layout. --- src/components/Card.astro | 13 +- src/components/ExternalLink.astro | 2 +- src/components/Footer.astro | 6 +- src/components/Hero.astro | 33 ++ src/components/Pattern.astro | 5 + src/components/Section.astro | 6 +- src/components/roadmaps/Journey.astro | 462 +++++++++++++++++++++++ src/content/maintainers/microproofs.yaml | 8 + src/content/maintainers/rvcas.yaml | 8 + src/content/projects/aiken.md | 44 +++ src/content/projects/amaru.md | 83 ++-- src/css/global.css | 81 +++- src/layouts/base.astro | 1 + src/layouts/project.astro | 293 ++++++++++++++ src/pages/about.astro | 8 +- src/pages/faq.astro | 7 - src/pages/index.astro | 74 ++-- src/pages/members.astro | 7 +- src/pages/projects/aiken.astro | 8 + src/pages/projects/amaru.astro | 413 +------------------- 20 files changed, 1054 insertions(+), 508 deletions(-) create mode 100644 src/components/Hero.astro create mode 100644 src/components/roadmaps/Journey.astro create mode 100644 src/content/maintainers/microproofs.yaml create mode 100644 src/content/maintainers/rvcas.yaml create mode 100644 src/content/projects/aiken.md create mode 100644 src/layouts/project.astro create mode 100644 src/pages/projects/aiken.astro diff --git a/src/components/Card.astro b/src/components/Card.astro index 5317348..e4765ae 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -20,7 +20,7 @@ const pixels = Array.from(digest).map((digit) => {
-

{title}

+

{title}

@@ -44,7 +44,7 @@ const pixels = Array.from(digest).map((digit) => { flex: 1 1 0; background: var(--color-primary-dark); padding: var(--gap-lg); - min-height: calc(max(28rem, min(55vh, 55vw))); + min-height: calc(max(30rem, min(60vh, 60vw))); position: relative; } @@ -93,11 +93,9 @@ const pixels = Array.from(digest).map((digit) => { } } - h3 { + h4 { font-family: var(--font-secondary); color: var(--color-secondary); - margin-bottom: var(--gap-md); - font-size: 1.5em; font-weight: 300; } @@ -105,15 +103,16 @@ const pixels = Array.from(digest).map((digit) => { display: inline-block; color: var(--color-secondary); font-family: var(--font-mono); - font-variant: small-caps; margin-top: auto; text-decoration: none; + font-size: 0.8em; text-align: right; + text-transform: uppercase; position: relative; & > svg.icon.slide { position: absolute; - top: 0.1em; + top: 0.2em; right: 0; opacity: 0; transition: all 100ms ease-in; diff --git a/src/components/ExternalLink.astro b/src/components/ExternalLink.astro index c8b8c34..33b5a53 100644 --- a/src/components/ExternalLink.astro +++ b/src/components/ExternalLink.astro @@ -6,6 +6,6 @@ type Props = HTMLAttributes<'a'>; const { href, ...attributes } = Astro.props; --- - + diff --git a/src/components/Footer.astro b/src/components/Footer.astro index da4bea3..a28068f 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -21,7 +21,7 @@ const twitterUrl = `https://twitter.com/${socials.twitter}`;