From 2ee6823515e096b7921443d51a6c5e092d559eec Mon Sep 17 00:00:00 2001 From: itziarZG Date: Thu, 15 Jan 2026 13:45:16 +0100 Subject: [PATCH 1/2] feat: add new animation and sponsor CFA --- package.json | 1 + pnpm-lock.yaml | 8 ++ src/layouts/Layout.astro | 2 +- src/pages/index.astro | 153 ++++++++++++++++++++++++++------------- tailwind.config.mjs | 12 +++ 5 files changed, 126 insertions(+), 50 deletions(-) create mode 100644 tailwind.config.mjs diff --git a/package.json b/package.json index 1b9631e..85b2483 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "license": "ISC", "packageManager": "pnpm@10.10.0", "dependencies": { + "@fontsource-variable/jetbrains-mono": "^5.2.8", "@tailwindcss/vite": "^4.1.18", "animejs": "^4.2.2", "astro": "^5.16.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e604b97..6bff635 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: dependencies: + '@fontsource-variable/jetbrains-mono': + specifier: ^5.2.8 + version: 5.2.8 '@tailwindcss/vite': specifier: ^4.1.18 version: 4.1.18(vite@6.4.1(jiti@2.6.1)(lightningcss@1.30.2)) @@ -230,6 +233,9 @@ packages: cpu: [x64] os: [win32] + '@fontsource-variable/jetbrains-mono@5.2.8': + resolution: {integrity: sha512-WBA9elru6Jdp5df2mES55wuOO0WIrn3kpXnI4+W2ek5u3ZgLS9XS4gmIlcQhiZOWEKl95meYdvK7xI+ETLCq/Q==} + '@img/colour@1.0.0': resolution: {integrity: sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==} engines: {node: '>=18'} @@ -1860,6 +1866,8 @@ snapshots: '@esbuild/win32-x64@0.25.12': optional: true + '@fontsource-variable/jetbrains-mono@5.2.8': {} + '@img/colour@1.0.0': optional: true diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 668b0b7..848bb11 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,6 +1,6 @@ --- import '../style/global.css' - +import '@fontsource-variable/jetbrains-mono' import { ClientRouter } from 'astro:transitions' interface Props { diff --git a/src/pages/index.astro b/src/pages/index.astro index 43aaf7f..ea4e93a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,61 +1,116 @@ --- import Layout from '../layouts/Layout.astro' +import '@fontsource-variable/jetbrains-mono' --- - -
-

PyConES 2026

-

Barcelona

-

6, 7 y 8 de Noviembre

+ +
+
+

+ PYCON ES 2026 +

+ +

+ > Initialising system..._ +

+ +
+ +
+
+ +
+
+ iteration += 1 / 3 + }, 30) + } + + const init = () => { + const h1 = document.querySelector('h1') + const subtitle = document.querySelector('#subtitle') + const actions = document.querySelector('#actions') + + if (h1) { + runMatrixEffect(h1) + h1.onmouseover = () => runMatrixEffect(h1) + } - + //not needed now + document.addEventListener('astro:page-load', init) + init() + diff --git a/tailwind.config.mjs b/tailwind.config.mjs new file mode 100644 index 0000000..55aad95 --- /dev/null +++ b/tailwind.config.mjs @@ -0,0 +1,12 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], + theme: { + extend: { + fontFamily: { + mono: ['"JetBrains Mono Variable"', 'monospace'], + }, + }, + }, + plugins: [], +} \ No newline at end of file From 81c0f13c5094397c4c40305a2afcc486e0493147 Mon Sep 17 00:00:00 2001 From: itziarZG Date: Thu, 15 Jan 2026 16:54:49 +0100 Subject: [PATCH 2/2] fix: add city --- src/pages/index.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index ea4e93a..8b1aca9 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -83,7 +83,7 @@ import '@fontsource-variable/jetbrains-mono' if (subtitle) { setTimeout(() => { - subtitle.textContent = 'Sede UB | 6-8 Nov 2026' + subtitle.textContent = 'Sede UB Barcelona | 6-8 Nov 2026' if (actions) { actions.classList.remove('opacity-0') }