{title}
- -Check out Foundation updates
+ +{t('blog.check-updates')}
-
{
posts.map((blogPostEntry) => {
@@ -92,26 +106,16 @@ const {
>
{blogPostEntry.data.date.toDateString()}
- {blogPostEntry.data.lang ? (
-
- ) : (
-
- {blogPostEntry.data.title}
-
- )}
+
+ {blogPostEntry.data.title}
+
{blogPostEntry.data.description ? blogPostEntry.data.description @@ -244,12 +248,6 @@ const { text-decoration-color: currentColor; } - .postlist-es { - display: flex; - align-items: start; - gap: var(--space-2xs); - } - .postlist-lang { border: 1.5px solid; padding-inline: 4px; diff --git a/src/components/blog/CommunityLinks.astro b/src/components/blog/CommunityLinks.astro index 2973483c..9eda131d 100644 --- a/src/components/blog/CommunityLinks.astro +++ b/src/components/blog/CommunityLinks.astro @@ -1,29 +1,56 @@ --- - +const lang = Astro.props.lang || 'en' ---
-
- As we are open source, you can easily check our work on GitHub. If the work mentioned here inspired you, we welcome your contributions. You - can join our community slack or participate in the next community call, which takes place each second Wednesday of the month. -
- -- If you want to stay updated with all open opportunities and news from the - Interledger Foundation, you can subscribe to our newsletter. -
+{ + lang === 'es' ? ( + <> ++ En Interledger somos de código abierto, así qué puedes verificar + fácilmente nuestro trabajo en + GitHub. Si este blogpost y + las tecnologías aquí mencionadas te inspiraron, agradecemos tus + contribuciones. Puedes unirte a nuestra{' '} + + Comunidad en Slack + {' '} + o participar en la próxima llamada de la{' '} + Comunidad Interledger, + que tiene lugar el segundo miércoles de cada mes. +
++ Si deseas mantenerte actualizado con todas las oportunidades y noticias + de la Fundación Interledger, puedes suscribirte a{' '} + nuestro boletín. +
+ > + ) : ( + <> ++ As we are open source, you can easily check our work on{' '} + GitHub. If the work + mentioned here inspired you, we welcome your contributions. You can join + our{' '} + + community slack + {' '} + or participate in the next{' '} + + community call + + , which takes place each second Wednesday of the month. +
++ If you want to stay updated with all open opportunities and news from + the Interledger Foundation, you can subscribe to our{' '} + newsletter. +
+ > + ) +} diff --git a/src/styles/pages.css b/src/styles/pages.css index 47892d84..c78018d5 100644 --- a/src/styles/pages.css +++ b/src/styles/pages.css @@ -1,6 +1,6 @@ /* Webfont import */ @font-face { - font-family: "Titillium"; + font-family: "Titillium Web"; src: url("/developers/fonts/titilliumweb-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; @@ -8,7 +8,7 @@ } @font-face { - font-family: "Titillium"; + font-family: "Titillium Web"; src: url("/developers/fonts/titilliumweb-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; @@ -16,7 +16,7 @@ } @font-face { - font-family: "Titillium"; + font-family: "Titillium Web"; src: url("/developers/fonts/titilliumweb-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; @@ -24,7 +24,7 @@ } @font-face { - font-family: "Titillium"; + font-family: "Titillium Web"; src: url("/developers/fonts/titilliumweb-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; @@ -32,7 +32,7 @@ } @font-face { - font-family: "Titillium"; + font-family: "Titillium Web"; src: url("/developers/fonts/titilliumweb-extralight.woff2") format("woff2"); font-weight: 200; font-style: normal; @@ -80,6 +80,7 @@ --color-primary-bg-fallback: rgba(7, 121, 114, 0.1); --color-primary-bg: oklch(51.95% 0.089 187.7 / 0.1); + --color-nav-hover: #eee; --color-header-bg: var(--color-white); --color-header-accent: #eee; --color-table-stripe: #f6f7f9; diff --git a/src/utils/tag-url.js b/src/utils/tag-url.js index e747fd1f..72ee9884 100644 --- a/src/utils/tag-url.js +++ b/src/utils/tag-url.js @@ -1,11 +1,14 @@ +import { defaultLang } from '../i18n/ui' /** * Converts a tag name to a URL-friendly slug and returns the full tag URL path * @param {string} tag - The tag name * @returns {string} The tag URL path (e.g., "/developers/blog/tag/my-tag") */ -export function getTagUrl(tag) { +export function getTagUrl(tag, lang) { const slug = tag.toLowerCase().replace(/\s+/g, '-') - return `/developers/blog/tag/${slug}` + return lang === defaultLang + ? `/developers/blog/tag/${slug}` + : `/developers/${lang}/blog/tag/${slug}` } /**