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 cd324b8..0c917dc 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..8b1aca9 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