From babf06105b2fbe513bae08263f9722a8588b6174 Mon Sep 17 00:00:00 2001 From: Chen Hui Jing <1461498+huijing@users.noreply.github.com> Date: Sat, 20 Jan 2024 14:00:20 +0800 Subject: [PATCH] Update dependencies and splash page --- package.json | 8 +- src/components/Header.astro | 2 +- src/components/pages/Footer.astro | 4 +- src/components/pages/FoundationFooter.astro | 159 ++++++++++++++------ src/components/pages/FoundationHeader.astro | 49 +++--- src/components/pages/LanderHeader.astro | 5 +- src/layouts/HomeLayout.astro | 1 + src/layouts/LanderLayout.astro | 1 + src/pages/hackathon-2023.astro | 30 ++-- src/pages/hacktoberfest.astro | 13 +- src/pages/index.astro | 9 +- src/styles/interledger.css | 20 +-- src/styles/pages.css | 13 +- 13 files changed, 188 insertions(+), 126 deletions(-) diff --git a/package.json b/package.json index 7437d62..b3a2ba7 100644 --- a/package.json +++ b/package.json @@ -9,12 +9,12 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.15.0", + "@astrojs/starlight": "^0.16.0", "@interledger/docs-design-system": "^0.2.1", "@types/showdown": "^2.0.6", - "astro": "^4.0.3", - "node-html-parser": "^6.1.11", - "sharp": "^0.33.0", + "astro": "^4.2.1", + "node-html-parser": "^6.1.12", + "sharp": "^0.33.2", "showdown": "^2.1.0" } } diff --git a/src/components/Header.astro b/src/components/Header.astro index 532a66d..808931d 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -60,7 +60,7 @@ import DevelopersLogo from "../components/DevelopersLogo.astro"; overflow: hidden; max-width: 100%; white-space: nowrap; - margin-left: auto; + margin-inline-start: auto; height: 1.5em; } diff --git a/src/components/pages/Footer.astro b/src/components/pages/Footer.astro index 55969bd..75ed781 100644 --- a/src/components/pages/Footer.astro +++ b/src/components/pages/Footer.astro @@ -31,7 +31,7 @@ const currentYear = new Date().getFullYear(); gap: 1.5em; justify-content: center; padding: 0; - margin-top: var(--space-2xs); + margin-block-start: var(--space-2xs); } @media screen and (min-width: 480px) { @@ -41,7 +41,7 @@ const currentYear = new Date().getFullYear(); } ul { - margin-top: 0; + margin-block-start: 0; } } diff --git a/src/components/pages/FoundationFooter.astro b/src/components/pages/FoundationFooter.astro index a661cb8..db2bd7d 100644 --- a/src/components/pages/FoundationFooter.astro +++ b/src/components/pages/FoundationFooter.astro @@ -2,38 +2,61 @@ const currentYear = new Date().getFullYear(); ---