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'; +---
+
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;