diff --git a/src/components/Card.astro b/src/components/Card.astro index 21f23e6..74c9661 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -97,7 +97,6 @@ const date = new Date(post.data.pubDate); &:hover, &:focus-within { > a { - /*text-decoration: underline;*/ outline: none; } diff --git a/src/components/Certificate.astro b/src/components/Certificate.astro index 93618e9..f9c9e1c 100644 --- a/src/components/Certificate.astro +++ b/src/components/Certificate.astro @@ -3,81 +3,25 @@ const { certificate } = Astro.props; ---
- -
+ + + + + + + + +

{certificate.data.title}

{certificate.data.achieved}

By: {certificate.data.provider}

{certificate.data.skills && (
    - {certificate.data.skills.map((skill: string) => ( -
  • {skill}
  • - ))} + {certificate.data.skills.map((skill: string) => (
  • {skill}
  • ))}
)} - {certificate.data.link && ( - View - )} + {certificate.data.link && ( View )}
- - \ No newline at end of file diff --git a/src/components/HomeButton.astro b/src/components/HomeButton.astro index 331e21f..3798ad5 100644 --- a/src/components/HomeButton.astro +++ b/src/components/HomeButton.astro @@ -8,9 +8,13 @@ Homepage -
+
\ No newline at end of file diff --git a/src/components/Music.astro b/src/components/Music.astro index 0dbf006..74ca684 100644 --- a/src/components/Music.astro +++ b/src/components/Music.astro @@ -1,13 +1,18 @@ --- -import { Image } from "astro:assets"; - import leg from "../assets/leg.webp"; --- - Track cover art + Track cover art
    -
  • Track Name
  • +
  • Track Name
  • by Artist
  • on Album
@@ -24,50 +29,3 @@ import leg from "../assets/leg.webp"; ( document.querySelector("#music-album") as HTMLParagraphElement ).innerText = `on ${data["track"]["album"]["#text"]}`; }); - - \ No newline at end of file diff --git a/src/styles/_button.scss b/src/styles/_button.scss index 7213a73..c835cb2 100644 --- a/src/styles/_button.scss +++ b/src/styles/_button.scss @@ -17,7 +17,6 @@ border-radius: 9999px; border: 0 solid transparent; - //border: 2px solid rgba($light, 0.04); background-color: rgba($light, 0.04); color: $light; @@ -34,7 +33,7 @@ left: 0; border-radius: 9999px; - background-color: rgba($light, 0.04); + background-color: rgba($accent, 0.13); opacity: 0; transform: scaleX(0%); diff --git a/src/styles/_certificate.scss b/src/styles/_certificate.scss new file mode 100644 index 0000000..075f2b9 --- /dev/null +++ b/src/styles/_certificate.scss @@ -0,0 +1,54 @@ +.certificate { + padding: 16px; + + height: 100%; + + position: relative; + + border-radius: $radius; + border: 2px solid $gray; + background-color: $dark; + color: $light; + + overflow: hidden; + + > svg { + width: 200px; + height: 200px; + + position: absolute; + top: -37px; + left: -25px; + + opacity: 0.03; + z-index: +1; + } + + > div { + position: relative; + + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 8px; + + text-decoration: none; + text-align: center; + + z-index: +2; + + + > h3 { + margin-bottom: 4px; + } + > .pill-list { + margin-top: 4px; + + justify-content: center; + } + > .button { + margin-top: 4px; + } + } +} diff --git a/src/styles/_music.scss b/src/styles/_music.scss new file mode 100644 index 0000000..1c9314d --- /dev/null +++ b/src/styles/_music.scss @@ -0,0 +1,38 @@ +#music { + padding: 16px; + + width: unset; + height: unset; + + display: flex; + flex-direction: row; + justify-content: unset; + align-items: unset; + + text-decoration: none; + + border-radius: $radius; + + &:before { + border-radius: $radius; + } + + > img { + margin-right: 16px; + + width: 64px; + height: 64px; + + border-radius: $radius; + } + + > ul { + display: flex; + flex-direction: column; + + > li { + font-size: 16px; + list-style: none; + } + } +} diff --git a/src/styles/styles.scss b/src/styles/styles.scss index c8fcc59..43d5050 100644 --- a/src/styles/styles.scss +++ b/src/styles/styles.scss @@ -9,3 +9,5 @@ @import "pill"; @import "pill_list"; @import "project_list"; +@import "music"; +@import "certificate";