From c2b8ee4608115205f8b78de7362e7485a3433255 Mon Sep 17 00:00:00 2001 From: Ivan Martinez Date: Tue, 16 Jan 2024 15:53:50 -0500 Subject: [PATCH] More optimizations --- astro.config.mjs | 6 ++++-- package.json | 1 + src/components/HeroContent.css | 3 ++- src/components/Why.tsx | 3 ++- yarn.lock | 25 +++++++++++++++++++++++++ 5 files changed, 34 insertions(+), 4 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index c73ad6a..9da8067 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,14 +1,16 @@ import { defineConfig } from "astro/config"; import partytown from '@astrojs/partytown'; import react from "@astrojs/react"; - import compressor from "astro-compressor"; +import robotsTxt from "astro-robots-txt"; + // https://astro.build/config export default defineConfig({ + site: "https://uwucrew.art", integrations: [react(), partytown({ config: { forward: ["dataLayer.push"] } - }), compressor()] + }), compressor(), robotsTxt()] }); \ No newline at end of file diff --git a/package.json b/package.json index 2dadf0d..3f356ae 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@types/react-dom": "^18.0.6", "astro": "^2.4.1", "astro-compressor": "^0.4.1", + "astro-robots-txt": "^1.0.0", "astro-seo-metadata": "^0.6.0", "react": "^18.0.0", "react-dom": "^18.0.0" diff --git a/src/components/HeroContent.css b/src/components/HeroContent.css index 999f426..d876f8a 100644 --- a/src/components/HeroContent.css +++ b/src/components/HeroContent.css @@ -77,11 +77,12 @@ .socials-text { font-size: 2rem; font-weight: 700; + margin-right: 0.5rem; color: var(--sub); } .social { - margin-left: 1rem; + margin: 0.5rem; height: 1.8rem; width: 2rem; transition: transform 0.3s ease-in-out; diff --git a/src/components/Why.tsx b/src/components/Why.tsx index 14b0dc2..9495144 100644 --- a/src/components/Why.tsx +++ b/src/components/Why.tsx @@ -25,6 +25,7 @@ const Why = () => { uwu {

Why uwucrew?!

- uwu + uwu