diff --git a/index.html b/index.html index 5685176..6e9d9af 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + diff --git a/package-lock.json b/package-lock.json index 1ab186f..3e86b0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "island", "version": "0.0.0", "dependencies": { + "bootstrap-icons": "^1.13.1", "i18next": "^25.5.2", "react": "^19.1.1", "react-dom": "^19.1.1", @@ -2135,6 +2136,22 @@ "baseline-browser-mapping": "dist/cli.js" } }, + "node_modules/bootstrap-icons": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.13.1.tgz", + "integrity": "sha512-ijombt4v6bv5CLeXvRWKy7CuM3TRTuPEuGaGKvTV5cz65rQSY8RQ2JcHt6b90cBBAC7s8fsf2EkQDldzCoXUjw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT" + }, "node_modules/brace-expansion": { "version": "1.1.12", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", diff --git a/package.json b/package.json index 0f33b56..186cad4 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "preview": "vite preview" }, "dependencies": { + "bootstrap-icons": "^1.13.1", "i18next": "^25.5.2", "react": "^19.1.1", "react-dom": "^19.1.1", diff --git a/src/App.tsx b/src/App.tsx index d45b8fb..d8730aa 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,22 +1,31 @@ import { Outlet, Link, useLocation } from 'react-router-dom'; import { useTranslation } from "react-i18next"; +import { useState } from 'react'; import TranslateButton from './language/translate_button.tsx'; +import SoundCloudIcon from './components/soundcloud_icon'; import './style.scss'; +import 'bootstrap-icons/font/bootstrap-icons.css' function App() { const location = useLocation(); const { t } = useTranslation(); const path = location.pathname; + const [isMenuOpen, setIsMenuOpen] = useState(false); return (
@@ -28,12 +37,11 @@ function App() {