diff --git a/astro.config.mjs b/astro.config.mjs index 6caae0f..8466d42 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -2,11 +2,15 @@ import { defineConfig } from 'astro/config'; import tailwind from '@astrojs/tailwind'; import node from '@astrojs/node'; +import icon from 'astro-icon'; export default defineConfig({ output: 'server', adapter: node({ mode: 'standalone', }), - integrations: [tailwind()], + integrations: [ + tailwind(), + icon(), + ], }); diff --git a/bun.lockb b/bun.lockb index 3e47d6b..467af6c 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 0eb6358..4dccd94 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "dependencies": { "@astrojs/node": "^10.1.0", "astro": "^6.3.1", + "astro-icon": "^1.1.5", "tailwindcss": "3" }, "engines": { diff --git a/src/assets/astro.svg b/src/assets/astro.svg deleted file mode 100644 index 8cf8fb0..0000000 --- a/src/assets/astro.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/assets/background.svg b/src/assets/background.svg deleted file mode 100644 index 4b2be0a..0000000 --- a/src/assets/background.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/components/Hero.astro b/src/components/Hero.astro index 51a1d3d..9415df2 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -1,6 +1,24 @@ --- +import ChevronDown from '../icons/ChevronDown.svg'; --- + + - - Листайте ниже - + + Листайте ниже + + + - \ No newline at end of file + diff --git a/src/icons/ChevronDown.svg b/src/icons/ChevronDown.svg new file mode 100644 index 0000000..245290a --- /dev/null +++ b/src/icons/ChevronDown.svg @@ -0,0 +1 @@ + \ No newline at end of file