diff --git a/package-lock.json b/package-lock.json index 991d2da..fc66a77 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@firq/fgosite", - "version": "0.2.0-pre.43", + "version": "0.2.0-pre.46", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@firq/fgosite", - "version": "0.2.0-pre.43", + "version": "0.2.0-pre.46", "dependencies": { "@astro-community/astro-embed-youtube": "^0.5.2", "@astrojs/check": "^0.9.4", diff --git a/package.json b/package.json index b2b6b3f..685435e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.45", + "version": "0.2.0-pre.46", "private": true, "scripts": { "dev": "astro dev", diff --git a/src/components/navbar/navbar.astro b/src/components/navbar/navbar.astro index cf865a5..77cfc18 100644 --- a/src/components/navbar/navbar.astro +++ b/src/components/navbar/navbar.astro @@ -1,34 +1,20 @@ --- -import { Image } from 'astro:assets' -import logo from '@assets/logo.svg' -import hamburger from 'iconoir/icons/menu.svg' -const hamburger_src_url = `url("${hamburger.src}")` +import NavbarDesktop from './navbarDesktop.astro' +import NavbarLogo from './navbarLogo.astro' +import NavbarMobile from './navbarMobile.astro' ---
- - - Logo - - - + + + +
- diff --git a/src/components/navbar/navbarDesktop.astro b/src/components/navbar/navbarDesktop.astro new file mode 100644 index 0000000..0b04740 --- /dev/null +++ b/src/components/navbar/navbarDesktop.astro @@ -0,0 +1,29 @@ +--- + +--- + + + + diff --git a/src/components/navbar/navbarLogo.astro b/src/components/navbar/navbarLogo.astro new file mode 100644 index 0000000..87cebae --- /dev/null +++ b/src/components/navbar/navbarLogo.astro @@ -0,0 +1,32 @@ +--- +import { Image } from 'astro:assets' +import logo from '@assets/logo.svg' +--- + + + + Logo + + + \ No newline at end of file diff --git a/src/components/navbar/navbarMobile.astro b/src/components/navbar/navbarMobile.astro new file mode 100644 index 0000000..0e5f6c5 --- /dev/null +++ b/src/components/navbar/navbarMobile.astro @@ -0,0 +1,70 @@ +--- +import hamburger from 'iconoir/icons/menu.svg' +const hamburger_src_url = `url("${hamburger.src}")` +--- + + + +