diff --git a/package.json b/package.json index e973e96..7b8769a 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { - "name": "heardle", - "type": "module", - "version": "0.0.1", - "scripts": { - "dev": "astro dev", - "build": "astro build", - "preview": "astro preview", - "astro": "astro" - }, - "dependencies": { - "astro": "^5.16.6" - } -} \ No newline at end of file + "name": "musedel", + "type": "module", + "version": "0.0.1", + "scripts": { + "dev": "astro dev", + "build": "astro build", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "astro": "^5.16.6" + } +} diff --git a/public/favicon.svg b/public/favicon.svg index f157bd1..150df26 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,9 +1,76 @@ - - - + + + + + + + + + + + + + + + + diff --git a/src/assets/icon.svg b/src/assets/icon.svg new file mode 100644 index 0000000..1567e17 --- /dev/null +++ b/src/assets/icon.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index e455c61..209a9c5 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,22 +1,17 @@ +--- +import "../styles/layout.css" +--- + - - - - - - Astro Basics - - - - + + + + + + Musedel + + + + - - diff --git a/src/pages/index.astro b/src/pages/index.astro index 252236c..d6315fa 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,5 +1,6 @@ --- import Layout from "../layouts/Layout.astro" +import "../styles/index.css" --- @@ -7,53 +8,85 @@ import Layout from "../layouts/Layout.astro" id="music" src="https://www.youtube-nocookie.com/embed/NyaOYfpq9Fc?enablejsapi=1" > - - + 1 + + + - - - - diff --git a/src/styles/index.css b/src/styles/index.css new file mode 100644 index 0000000..3270385 --- /dev/null +++ b/src/styles/index.css @@ -0,0 +1,6 @@ +#music { + position: absolute; + width: 0; + height: 0; + border: none; +} diff --git a/src/styles/layout.css b/src/styles/layout.css new file mode 100644 index 0000000..20e990d --- /dev/null +++ b/src/styles/layout.css @@ -0,0 +1,59 @@ +html, +body { + margin: 0; + width: 100%; + height: 100%; +} + +html { + background: linear-gradient(black, rgb(18, 2, 38)); +} + +body { + color: white; + display: flex; + justify-content: center; + align-items: center; +} + +button { + --border-radius: 2rem; + position: relative; + background: white; + border: none; + border-radius: var(--border-radius); + + padding: 0.2rem 1rem; + margin: 1rem; + + display: flex; + justify-content: center; + align-items: center; + + cursor: pointer; + &:hover { + background: rgb(211, 211, 211); + } + + & svg { + width: 2.2rem; + } +} + +button::before { + --border-size: 5px; + content: ""; + border-radius: var(--border-radius); + width: 100%; + height: 100%; + background-image: linear-gradient( + to bottom right, + #cc56d0 0%, + #6e06ff 100% + ); + padding: var(--border-size); + top: calc(var(--border-size) * -1); + left: calc(var(--border-size) * -1); + position: absolute; + z-index: -1; +}