From 1499203b219d642e8b4b9ac80b47426e7d4fc93c Mon Sep 17 00:00:00 2001
From: Fedor Katurov
Date: Thu, 10 Nov 2022 14:12:45 +0600
Subject: [PATCH] made mobile layout for bio
---
assets/svg/howdy.svg | 66 +++++++++++++++++++++++-----------
components/bio/BioHeading.vue | 52 ++++++++++++++++++++++++++-
components/home/HomeHeader.vue | 21 ++++++-----
layouts/content.vue | 5 +++
layouts/default.vue | 1 +
layouts/landing.vue | 20 +++++++++--
pages/bio.vue | 10 +++---
pages/index.vue | 18 +++++-----
8 files changed, 145 insertions(+), 48 deletions(-)
diff --git a/assets/svg/howdy.svg b/assets/svg/howdy.svg
index 3c5215e..79d9118 100644
--- a/assets/svg/howdy.svg
+++ b/assets/svg/howdy.svg
@@ -25,15 +25,15 @@
inkscape:deskcolor="#505050"
inkscape:document-units="px"
showgrid="false"
- inkscape:zoom="1.9557888"
- inkscape:cx="148.78907"
- inkscape:cy="221.13839"
+ inkscape:zoom="1.7794374"
+ inkscape:cx="77.83359"
+ inkscape:cy="405.46524"
inkscape:window-width="1440"
inkscape:window-height="847"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="0"
- inkscape:current-layer="g15740" />
-
+
@@ -16,6 +16,19 @@
numerous other frameworks for the most of my time, but I'm also capable
of doing
Typescript and
Golang backend.
+
+
+
+ Visit my Github
+
+
+
+
+
@@ -23,10 +36,17 @@
diff --git a/components/home/HomeHeader.vue b/components/home/HomeHeader.vue
index 4895c26..7b27c12 100644
--- a/components/home/HomeHeader.vue
+++ b/components/home/HomeHeader.vue
@@ -12,12 +12,8 @@
-
- Visit my Github
+
+ Read about me
@@ -46,7 +42,6 @@
border-bottom: 2px solid var(--color-line);
@include desktop {
- // grid-template-columns: 1fr 1fr;
grid-template-columns: 1fr;
grid-template-rows: auto auto;
column-gap: 20px;
@@ -102,10 +97,18 @@
}
}
.desk {
- width: 100%;
+ max-width: 100%;
+
+ @include desktop {
+ max-height: 50vh;
+ }
}
.buttons {
- margin-top: 50px;
+ margin-top: 40px;
+
+ @include desktop {
+ margin-top: 20px;
+ }
}
diff --git a/layouts/content.vue b/layouts/content.vue
index 7341893..bad534a 100644
--- a/layouts/content.vue
+++ b/layouts/content.vue
@@ -18,6 +18,10 @@
display: flex;
flex-direction: column;
padding-top: 40px;
+
+ @include desktop {
+ padding-top: 10px;
+ }
}
.content {
@@ -36,6 +40,7 @@
right: 20px;
stroke: currentColor;
stroke-width: 0.5px;
+ z-index: 12;
@include tablet {
stroke-width: 1.5px;
diff --git a/layouts/default.vue b/layouts/default.vue
index fb92896..0247edb 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -92,6 +92,7 @@ export default defineComponent({
z-index: 1;
display: flex;
flex-direction: column;
+ height: 100%;
@include container;
}
diff --git a/layouts/landing.vue b/layouts/landing.vue
index 227cdb3..45202f9 100644
--- a/layouts/landing.vue
+++ b/layouts/landing.vue
@@ -12,18 +12,32 @@
-
-
diff --git a/pages/bio.vue b/pages/bio.vue
index c55409a..f39e696 100644
--- a/pages/bio.vue
+++ b/pages/bio.vue
@@ -11,10 +11,6 @@
-
-
@@ -36,4 +32,10 @@ definePageMeta({ layout: "landing" });
padding-bottom: 0;
}
}
+
+.heading {
+ @include desktop {
+ padding-top: 0;
+ }
+}
diff --git a/pages/index.vue b/pages/index.vue
index 46c9259..2727f2b 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,17 +1,15 @@
-
-
-
+
+
-
-
Cheatsheet
+
+
Cheatsheet
-
-
-
+
+
-
-
+
+