From 9a2e99b0584e17a48df4f1619dc085066a565f10 Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Mon, 27 May 2024 12:23:06 -0400 Subject: [PATCH] Remove unused imports --- package.json | 1 + pnpm-lock.yaml | 18 ++++++++------- src/components/Footer.astro | 43 ++++++++++++++++++++++++++++++++++++ src/components/Header.astro | 17 ++++++++++++++ src/layouts/BaseLayout.astro | 2 -- 5 files changed, 71 insertions(+), 10 deletions(-) create mode 100644 src/components/Footer.astro create mode 100644 src/components/Header.astro diff --git a/package.json b/package.json index c7ea37b..05c0871 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ }, "devDependencies": { "@playwright/test": "^1.44.0", + "@types/node": "^20.12.12", "@typescript-eslint/parser": "^7.10.0", "eslint": "^8.57.0", "eslint-plugin-astro": "^1.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 965dd67..2c011c1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,7 +28,7 @@ dependencies: version: 18.3.0 astro: specifier: ^4.9.2 - version: 4.9.2(sass@1.77.2)(typescript@5.4.5) + version: 4.9.2(@types/node@20.12.12)(sass@1.77.2)(typescript@5.4.5) react: specifier: ^18.3.1 version: 18.3.1 @@ -46,6 +46,9 @@ devDependencies: '@playwright/test': specifier: ^1.44.0 version: 1.44.0 + '@types/node': + specifier: ^20.12.12 + version: 20.12.12 '@typescript-eslint/parser': specifier: ^7.10.0 version: 7.10.0(eslint@8.57.0)(typescript@5.4.5) @@ -1432,7 +1435,6 @@ packages: resolution: {integrity: sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==} dependencies: undici-types: 5.26.5 - dev: false /@types/prop-types@15.7.12: resolution: {integrity: sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==} @@ -1543,7 +1545,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.24.6(@babel/core@7.24.5) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.2.11(sass@1.77.2) + vite: 5.2.11(@types/node@20.12.12)(sass@1.77.2) transitivePeerDependencies: - supports-color dev: false @@ -1799,7 +1801,7 @@ packages: - typescript dev: true - /astro@4.9.2(sass@1.77.2)(typescript@5.4.5): + /astro@4.9.2(@types/node@20.12.12)(sass@1.77.2)(typescript@5.4.5): resolution: {integrity: sha512-apzpRoISk6L8g99m3zKIW5SYxw2GhOju/1Gq0Ccf3SH+X2UcFXF+MTdxPOFl5yJUQg7X0qsVQDOIVf8zHRRKFg==} engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'} hasBin: true @@ -1861,7 +1863,7 @@ packages: tsconfck: 3.0.3(typescript@5.4.5) unist-util-visit: 5.0.0 vfile: 6.0.1 - vite: 5.2.11(sass@1.77.2) + vite: 5.2.11(@types/node@20.12.12)(sass@1.77.2) vitefu: 0.2.5(vite@5.2.11) which-pm: 2.2.0 yargs-parser: 21.1.1 @@ -5086,7 +5088,6 @@ packages: /undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - dev: false /unherit@3.0.1: resolution: {integrity: sha512-akOOQ/Yln8a2sgcLj4U0Jmx0R5jpIg2IUyRrWOzmEbjBtGzBdHtSeFKgoEcoH4KYIG/Pb8GQ/BwtYm0GCq1Sqg==} @@ -5262,7 +5263,7 @@ packages: vfile-message: 4.0.2 dev: false - /vite@5.2.11(sass@1.77.2): + /vite@5.2.11(@types/node@20.12.12)(sass@1.77.2): resolution: {integrity: sha512-HndV31LWW05i1BLPMUCE1B9E9GFbOu1MbenhS58FuK6owSO5qHm7GiCotrNY1YE5rMeQSFBGmT5ZaLEjFizgiQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -5290,6 +5291,7 @@ packages: terser: optional: true dependencies: + '@types/node': 20.12.12 esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.17.2 @@ -5306,7 +5308,7 @@ packages: vite: optional: true dependencies: - vite: 5.2.11(sass@1.77.2) + vite: 5.2.11(@types/node@20.12.12)(sass@1.77.2) dev: false /volar-service-css@0.0.45(@volar/language-service@2.2.4): diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..abb4c5c --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,43 @@ +--- +import { RiInstagramLine, RiLinkedinLine } from "react-icons/ri"; + +const year = new Date().getFullYear(); +--- + + + + diff --git a/src/components/Header.astro b/src/components/Header.astro new file mode 100644 index 0000000..f2cc119 --- /dev/null +++ b/src/components/Header.astro @@ -0,0 +1,17 @@ +--- +import Logo from "./Logo.astro"; +--- + +
+ +
+ + diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index a75e30f..3c9335c 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -4,8 +4,6 @@ import "../styles/theme.css"; import "../styles/base.css"; import { ViewTransitions } from "astro:transitions"; -import { join } from "node:path"; -import { AstroFont } from "astro-font"; export interface Props { title: string;