diff --git a/astro.config.mjs b/astro.config.mjs index 42803528..00c8e593 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -131,7 +131,7 @@ export default defineConfig({ */ "img-src 'self' data: blob: https:", "media-src 'self' data: blob: https:", - // Karla is self-hosted through the fonts API — nothing else is needed. + // Fonts are self-hosted through the fonts API — nothing else is needed. "font-src 'self'", /** * The tight one, and the reason for the whole exercise: this is what data @@ -177,21 +177,19 @@ export default defineConfig({ }, /** - * Karla is downloaded from Google at build time and served from our own origin, so no + * Fonts are downloaded from Google at build time and served from our own origin, so no * request reaches a third party while a visitor reads a page. * - * Karla is a variable font: the whole `200 800` range travels in a single file, which is - * why asking for every weight the interface uses costs no extra request. The previous - * `@fontsource/karla` import only shipped weight 400, so the ~360 `font-bold`, - * `font-medium` and `font-semibold` usages were being faked by the browser. + * Atkinson Hyperlegible Next is variable, so interface emphasis can use a true 600 weight. + * Load the full range in upright and italic styles. * * `latin-ext` is not optional here: Catalan needs U+0140 (`ŀ`) for the geminate `l·l`. */ fonts: [ { provider: fontProviders.google(), - name: "Karla", - cssVariable: "--font-karla", + name: "Atkinson Hyperlegible Next", + cssVariable: "--font-atkinson-hyperlegible", weights: ["200 800"], styles: ["normal", "italic"], subsets: ["latin", "latin-ext"], @@ -200,8 +198,8 @@ export default defineConfig({ provider: fontProviders.google(), name: "Boldonse", cssVariable: "--font-boldonse", - weights: ["200 800"], - styles: ["normal", "italic"], + weights: [400], + styles: ["normal"], subsets: ["latin", "latin-ext"], }, ], diff --git a/public/images/partners/commons_network.svg b/public/images/partners/commons_network.svg new file mode 100644 index 00000000..537ee67e --- /dev/null +++ b/public/images/partners/commons_network.svg @@ -0,0 +1,277 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/partners/coopcloud.svg b/public/images/partners/coopcloud.svg new file mode 100644 index 00000000..0f701019 --- /dev/null +++ b/public/images/partners/coopcloud.svg @@ -0,0 +1,140 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/partners/ecommons.svg b/public/images/partners/ecommons.svg new file mode 100644 index 00000000..dc5a7d93 --- /dev/null +++ b/public/images/partners/ecommons.svg @@ -0,0 +1,60 @@ + + + +eCommons diff --git a/public/images/partners/fki.svg b/public/images/partners/fki.svg new file mode 100644 index 00000000..76eac3d1 --- /dev/null +++ b/public/images/partners/fki.svg @@ -0,0 +1,162 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/partners/newsmast-foundation.svg b/public/images/partners/newsmast-foundation.svg new file mode 100644 index 00000000..212aa0b7 --- /dev/null +++ b/public/images/partners/newsmast-foundation.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/images/partners/platoniq_goteo.png b/public/images/partners/platoniq_goteo.png new file mode 100644 index 00000000..c5d253ab Binary files /dev/null and b/public/images/partners/platoniq_goteo.png differ diff --git a/public/images/partners/waag.png b/public/images/partners/waag.png new file mode 100644 index 00000000..77c04060 Binary files /dev/null and b/public/images/partners/waag.png differ diff --git a/src/components/admin/charges/CreateChargeModal.svelte b/src/components/admin/charges/CreateChargeModal.svelte index 2948e7c5..31764a9e 100644 --- a/src/components/admin/charges/CreateChargeModal.svelte +++ b/src/components/admin/charges/CreateChargeModal.svelte @@ -255,7 +255,7 @@ {/snippet} {#if href} diff --git a/src/components/hero/Hero.svelte b/src/components/hero/Hero.svelte index e21dc609..53f7fad7 100644 --- a/src/components/hero/Hero.svelte +++ b/src/components/hero/Hero.svelte @@ -21,16 +21,14 @@ class={[ "grid-cols-1 items-center gap-12", hasMedia ? "lg:grid-cols-2" : "lg:grid-cols-3", - ]} + ].join(" ")} >
-

+

{hero.title}

-
+
{@html content}
@@ -39,7 +37,7 @@ {#if hero.primaryCtaText && hero.primaryCtaLink}
{hero.primaryCtaText} @@ -47,7 +45,7 @@ {#if hero.secondaryCtaText && hero.secondaryCtaLink} {hero.secondaryCtaText} diff --git a/src/components/home/Blog.astro b/src/components/home/Blog.astro index c7ef3496..c2c65c7b 100644 --- a/src/components/home/Blog.astro +++ b/src/components/home/Blog.astro @@ -19,7 +19,7 @@ const cover = post.headerMedia.find((media) => media.type.startsWith("image/"));
-

+

{post.title}

{post.subtitle &&

{post.subtitle}

} diff --git a/src/components/home/CampaignCard.svelte b/src/components/home/CampaignCard.svelte index ffdc1cea..d154d02d 100644 --- a/src/components/home/CampaignCard.svelte +++ b/src/components/home/CampaignCard.svelte @@ -109,19 +109,19 @@ Converted from CampaignCard.astro to maintain exact functionality
-
+
{campaign.title} diff --git a/src/components/home/Matchfunding.astro b/src/components/home/Matchfunding.astro index 81420c8c..8e2bbef9 100644 --- a/src/components/home/Matchfunding.astro +++ b/src/components/home/Matchfunding.astro @@ -44,7 +44,7 @@ const calls: CallCard[] = [ ]; --- -
+
@@ -54,10 +54,10 @@ const calls: CallCard[] = [ class="backdrop-blur-md/0 flex flex-col gap-10 rounded-2xl bg-[rgba(143,124,146,0.4)] p-10" >
-

+

{t("pages.home.matchfunding.title")}

-

+

{t("pages.home.matchfunding.description")}

@@ -87,13 +87,15 @@ const calls: CallCard[] = [ style={`background-image:url(${card.background});`} >
-
-

{card.title}

+
+

{card.title}

{card.description}

{card.stats.map((s) => (
- {s.label} + + {s.label} + {s.value}
))} @@ -103,7 +105,7 @@ const calls: CallCard[] = [
-
+
)) } diff --git a/src/components/home/Stats.astro b/src/components/home/Stats.astro index cad28727..9820ecf0 100644 --- a/src/components/home/Stats.astro +++ b/src/components/home/Stats.astro @@ -14,9 +14,7 @@ const { t } = Astro.locals;
-

+

{t("pages.home.stats.theoryToAction.title")}

@@ -73,9 +71,7 @@ const { t } = Astro.locals;

-

+

{t("pages.home.stats.whyGoteo.title")}

diff --git a/src/components/icons/navigation/Hamburger.svelte b/src/components/icons/navigation/Hamburger.svelte index 6c6f23e4..3e196e16 100644 --- a/src/components/icons/navigation/Hamburger.svelte +++ b/src/components/icons/navigation/Hamburger.svelte @@ -18,40 +18,21 @@ }: Props = $props(); -{#if close === false} - - - - - -{:else if close === true} - - - - - -{/if} + + {#if close} + + {:else} + + {/if} + diff --git a/src/components/library/buttons/Button.svelte b/src/components/library/buttons/Button.svelte index 39519f43..ae76fb98 100644 --- a/src/components/library/buttons/Button.svelte +++ b/src/components/library/buttons/Button.svelte @@ -10,10 +10,10 @@ }; const kindStyles = { - primary: "bg-primary", - secondary: "bg-variant1 text-content", - ghost: "inset-ring-1 inset-ring-secondary text-content", - invert: "text-content", + primary: "bg-primary text-on-primary enabled:hover:bg-primary-hover", + secondary: "bg-variant1 text-content enabled:hover:brightness-90", + ghost: "inset-ring-1 inset-ring-secondary text-content enabled:hover:bg-content/10", + invert: "text-content enabled:hover:bg-content/10", }; interface Props extends Omit { @@ -44,6 +44,9 @@ sizeStyles[size], kindStyles[kind], href && "hover:underline", + href && kind === "primary" && "hover:bg-primary-hover", + href && kind === "secondary" && "hover:brightness-90", + href && (kind === "ghost" || kind === "invert") && "hover:bg-content/10", classes, ), ); diff --git a/src/components/library/inputs/DateInput.svelte b/src/components/library/inputs/DateInput.svelte index 4e142a69..841445bd 100644 --- a/src/components/library/inputs/DateInput.svelte +++ b/src/components/library/inputs/DateInput.svelte @@ -254,7 +254,7 @@ diff --git a/src/components/library/share/Iframe.svelte b/src/components/library/share/Iframe.svelte index ee8949e8..5b258294 100644 --- a/src/components/library/share/Iframe.svelte +++ b/src/components/library/share/Iframe.svelte @@ -69,7 +69,9 @@

) diff --git a/src/components/project/SingleProject.svelte b/src/components/project/SingleProject.svelte index 3d3b33f8..efbf5d45 100644 --- a/src/components/project/SingleProject.svelte +++ b/src/components/project/SingleProject.svelte @@ -140,7 +140,7 @@ }} />

- + <Title level={1} variant="section" class="display-heading text-content"> {project.title}
diff --git a/src/components/review/ChatMessage.svelte b/src/components/review/ChatMessage.svelte index fe2cf77d..37bfebaf 100644 --- a/src/components/review/ChatMessage.svelte +++ b/src/components/review/ChatMessage.svelte @@ -61,7 +61,7 @@ class={twMerge( "flex min-h-16 max-w-[80%] flex-col items-end justify-end rounded-tl-2xl rounded-tr-2xl border px-4 lg:max-w-[40%]", isOwn - ? "bg-primary border-primary rounded-br-none rounded-bl-2xl pt-4 pb-2 text-white" + ? "bg-primary border-primary text-on-primary rounded-br-none rounded-bl-2xl pt-4 pb-2" : "border-secondary text-content rounded-br-2xl rounded-bl-none bg-white py-2", )} > @@ -76,7 +76,10 @@