diff --git a/src/components/Bio.astro b/src/components/Bio.astro index 16c629e..80adc27 100644 --- a/src/components/Bio.astro +++ b/src/components/Bio.astro @@ -1,5 +1,9 @@ +--- +import { Image } from 'astro:assets'; +import logoImage from '../assets/img/yht_logo.png'; +---
- YouHaveTrouble's logo + Logo displaying a stylized character with brown hair wearing purple hoodie on a light blue circle background

Hi, I'm Paweł, also known by YouHaveTrouble on the internet. I'm a full-stack web developer and minecraft plugin developer. @@ -10,6 +14,7 @@ div { align-items: center; display: flex; + flex-direction: row; } img { @@ -23,4 +28,15 @@ p { font-size: 1.125rem; } + + @media screen and (max-width: 520px) { + div { + flex-direction: column; + } + img { + margin-right: unset; + width: 150px; + height: 150px; + } + } diff --git a/src/components/Header.astro b/src/components/Header.astro index 0d2cdeb..d457d19 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -16,6 +16,6 @@ const { current = '' } = Astro.props;

- +
diff --git a/src/components/Logo.astro b/src/components/Logo.astro index f15ee4f..be552b0 100644 --- a/src/components/Logo.astro +++ b/src/components/Logo.astro @@ -1,10 +1,12 @@ --- import { Image } from 'astro:assets'; import logoImage from '../assets/img/yht_logo.png'; + +const { width, height } = Astro.props; --- - Logo displaying a stylized character with brown hair wearing purple hoodie on a light blue circle background + Logo displaying a stylized character with brown hair wearing purple hoodie on a light blue circle background