From 6c784c5a494d493e3792172eac29f80496ac8f3b Mon Sep 17 00:00:00 2001 From: tree Date: Mon, 13 Nov 2023 04:44:38 +0100 Subject: [PATCH] updates --- src/config.yaml | 6 ++++-- src/layouts/base.astro | 22 +++++++++++++++------- src/pages/leaderboard.astro | 8 ++++---- src/styles/base.css | 12 ++++-------- 4 files changed, 27 insertions(+), 21 deletions(-) diff --git a/src/config.yaml b/src/config.yaml index 1b51a88..42b5317 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -2,6 +2,8 @@ title: Web3Privacy Now links: docs: https://docs.web3privacy.info/ manifesto: https://docs.web3privacy.info/manifesto + github: https://github.com/web3privacy + twitter: https://twitter.com/web3privacy header: menu: - name: Home @@ -14,8 +16,8 @@ header: url: /talks - name: Articles url: /articles - - name: Leaderboard - url: /leaderboard + #- name: Leaderboard + # url: /leaderboard - name: Docs url: https://docs.web3privacy.info #- name: Manifesto diff --git a/src/layouts/base.astro b/src/layouts/base.astro index a3d2df8..21fda0b 100644 --- a/src/layouts/base.astro +++ b/src/layouts/base.astro @@ -37,9 +37,13 @@ import cfonts from 'cfonts';
@@ -47,8 +51,8 @@ import cfonts from 'cfonts';
-
- +
+
))}
+
+ + +
{banner &&
@@ -72,8 +80,8 @@ import cfonts from 'cfonts';
} {!banner && -
-
{cfonts.render(title + ' ', { font: '' }).string}
+
+
{cfonts.render(title + ' ', { font: '', maxLength: 1000 }).string}
}
diff --git a/src/pages/leaderboard.astro b/src/pages/leaderboard.astro index ee3a579..4b88d52 100644 --- a/src/pages/leaderboard.astro +++ b/src/pages/leaderboard.astro @@ -11,16 +11,16 @@ import contributors from '../contributors.json'; - - + + {contributors.map((contrib) => ( - - + + ))} diff --git a/src/styles/base.css b/src/styles/base.css index bbe998a..4a97a3d 100644 --- a/src/styles/base.css +++ b/src/styles/base.css @@ -58,7 +58,7 @@ #intro { background-image: url(/hp-bg.webp); - background-repeat: no-repeat; + background-repeat: repeat; background-color: #0f0f0f; background-position: center; } @@ -110,9 +110,9 @@ @apply inline-block w-12 h-12; } .icon.small { - @apply w-7 h-7; + @apply w-6 h-6; } - + .icon.twitter { background-image: url('data:image/svg+xml,'); background-size: 100% 100%; @@ -148,7 +148,6 @@ width: 100%; top: 5rem; left: 48px; - background-color: #ff9776; display: none; margin: 0; } @@ -158,12 +157,9 @@ text-align: center; padding: 10px 0; text-decoration: none; - font-size: 1.2rem; - font-weight: bold; - text-transform: uppercase; } -.nav-links a:hover, a:focus { +.nav-links a:hover, .nav-links a:focus { background-color: white; text-color: black; }
Contributor# ContributionsContributor# Contribs
{contrib.login}{contrib.contributions}{contrib.login}{contrib.contributions}