diff --git a/astro.config.mjs b/astro.config.mjs deleted file mode 100644 index ddc0b27..0000000 --- a/astro.config.mjs +++ /dev/null @@ -1,25 +0,0 @@ -import { defineConfig } from 'astro/config' -import tailwind from '@astrojs/tailwind' -import deno from '@astrojs/deno' -import robotsTxt from 'astro-robots-txt' -import preact from '@astrojs/preact' - -// https://astro-critters.nikolahristov.tech/ -import critters from 'astro-critters' - -// https://astro.build/config -export default defineConfig({ - integrations: [tailwind(), robotsTxt(), preact(), critters()], - adapter: deno({}), - output: 'server', - i18n: { - locales: ['en', 'es'], - defaultLocale: 'en', - routing: { - prefixDefaultLocale: false, - strategy: 'pathname', - redirectToDefaultLocale: true - } - }, - site: 'https://jamerrq.deno.dev/' -}) diff --git a/bun.lockb b/bun.lockb index 6643fea..ae48622 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 40d454c..b892610 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "@astrojs/preact": "^3.1.0", "@astrojs/tailwind": "^5.0.4", "@fontsource/merriweather": "^5.0.8", - "astro": "^4.0.7", + "astro": "4.0.8", "astro-critters": "^2.0.11", "astro-robots-txt": "^1.0.0", "preact": "^10.19.3", diff --git a/tailwind.config.mjs b/tailwind.config.mjs deleted file mode 100644 index e733b57..0000000 --- a/tailwind.config.mjs +++ /dev/null @@ -1,169 +0,0 @@ -export default { - content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], - darkMode: 'class', // or 'media' or 'class - theme: { - screens: { - xs: { min: '300px', max: '639px' }, - sm: { min: '640px', max: '767px' }, - // => @media (min-width: 640px and max-width: 767px) { ... } - - md: { min: '768px', max: '1023px' }, - // => @media (min-width: 768px and max-width: 1023px) { ... } - - lg: { min: '1024px', max: '1279px' }, - // => @media (min-width: 1024px and max-width: 1279px) { ... } - - xl: { min: '1280px' } //, max: '1535px' }, - // => @media (min-width: 1280px and max-width: 1535px) { ... } - - // '2xl': { min: '1536px' }, - // => @media (min-width: 1536px) { ... } - }, - extend: { - fontFamily: { - 'rubik-doodle': ['Rubik Doodle Shadow', 'system-ui'], - merriweather: ['Merriweather', 'serif'] - } - }, - colors: { - emerald: { - 50: '#ecfdf5', - 100: '#d1fae5', - 200: '#a7f3d0', - 300: '#6ee7b7', - 400: '#34d399', - 500: '#10b981', - 600: '#059669', - 700: '#047857', - 800: '#065f46', - 900: '#064e3b', - 950: '#022c22' - }, - indigo: { - 50: '#eef2ff', - 100: '#e0e7ff', - 200: '#c7d2fe', - 300: '#a5b4fc', - 400: '#818cf8', - 500: '#6366f1', - 600: '#4f46e5', - 700: '#4338ca', - 800: '#3730a3', - 900: '#312e81', - 950: '#1e1b4b' - }, - blue: { - 50: '#eff6ff', - 100: '#dbeafe', - 200: '#bfdbfe', - 300: '#93c5fd', - 400: '#60a5fa', - 500: '#3b82f6', - 600: '#2563eb', - 700: '#1d4ed8', - 800: '#1e40af', - 900: '#1e3a8a', - 950: '#172554' - }, - teal: { - 50: '#f0fdfa', - 100: '#ccfbf1', - 200: '#99f6e4', - 300: '#5eead4', - 400: '#2dd4bf', - 500: '#14b8a6', - 600: '#0d9488', - 700: '#0f766e', - 800: '#115e59', - 900: '#134e4a', - 950: '#042f2e' - }, - slate: { - 50: '#f8fafc', - 100: '#f1f5f9', - 200: '#e2e8f0', - 300: '#cbd5e1', - 400: '#94a3b8', - 500: '#64748b', - 600: '#475569', - 700: '#334155', - 800: '#1e293b', - 900: '#0f172a', - 950: '#020617' - }, - amber: { - 50: '#fffbeb', - 100: '#fef3c7', - 200: '#fde68a', - 300: '#fcd34d', - 400: '#fbbf24', - 500: '#f59e0b', - 600: '#d97706', - 700: '#b45309', - 800: '#92400e', - 900: '#78350f', - 950: '#451a03' - }, - red: { - 50: '#fef2f2', - 100: '#fee2e2', - 200: '#fecaca', - 300: '#fca5a5', - 400: '#f87171', - 500: '#ef4444', - 600: '#dc2626', - 700: '#b91c1c', - 800: '#991b1b', - 900: '#7f1d1d', - 950: '#450a0a' - }, - yellow: { - 50: '#fefce8', - 100: '#fef9c3', - 200: '#fef08a', - 300: '#fde047', - 400: '#facc15', - 500: '#eab308', - 600: '#ca8a04', - 700: '#a16207', - 800: '#854d0e', - 900: '#713f12', - 950: '#422006' - }, - cyan: { - 50: '#ecfeff', - 100: '#cffafe', - 200: '#a5f3fc', - 300: '#67e8f9', - 400: '#22d3ee', - 500: '#06b6d4', - 600: '#0891b2', - 700: '#0e7490', - 800: '#155e75', - 900: '#164e63', - 950: '#083344' - } - } - }, - plugins: [require('tailwindcss-debug-screens')], - safelist: [ - 'fill-[#BC52EE]', - 'fill-[#3FCF8E]', - 'fill-[#000000]', - 'fill-[#06B6D4]', - 'fill-[#3178C6]', - 'fill-[#512BD4]', - 'fill-[#512BD4]', - 'fill-[#000000]', - 'fill-[#52B0E7]', - 'fill-[#4169E1]', - 'fill-[#61DAFB]', - 'fill-[#3776AB]', - 'fill-[#F37626]', - 'fill-[#008080]', - 'fill-[#E34F26]', - 'fill-[#F7DF1E]', - 'fill-[#777BB4]', - 'fill-[#1572B6]' - ] -} diff --git a/tailwind.config.ts b/tailwind.config.ts index 6775eef..e733b57 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,5 +1,3 @@ -import type { Config } from 'tailwindcss' - export default { content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], darkMode: 'class', // or 'media' or 'class @@ -168,4 +166,4 @@ export default { 'fill-[#777BB4]', 'fill-[#1572B6]' ] -} satisfies Config +}