Hi, I'm Marvin, co-founder of Pirsch Analytics and Emvi, software engineer, and open-source enthusiast.
diff --git a/assets/js/main.js b/assets/js/main.js index 74d5533..812286e 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -1 +1 @@ -console.log("Hello from Shifu!"); +console.log("Hi!"); diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 1d8bfed..fe6a34e 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -2,8 +2,9 @@ $borderRadius: 8px; $textColor: #0f0f0f; +$linkColor: #717171; $lightGray: #e6e6e6; -$highlight: #82b3db; +$highlight: #c0d9f0; * { box-sizing: border-box; @@ -14,9 +15,8 @@ $highlight: #82b3db; } body { - padding: 80px 40px; - max-width: 1000px; - margin: 0 auto; + margin: 0; + padding: 0; } h1, h2 { @@ -36,70 +36,104 @@ h2 { a { text-decoration: none; transition: all 0.3s; - color: $highlight; + color: $linkColor; &:hover { color: $textColor; } } +p { + margin: 20px 0; +} + nav { - display: flex; - justify-content: space-between; - align-items: center; - margin: 0 0 80px 0; + padding: 80px 40px; + background: $highlight; - ul { + .content { display: flex; - gap: 20px; - margin: 0; - padding: 0; + justify-content: space-between; + align-items: center; + max-width: 1000px; + margin: 0 auto; - li { - list-style: none; + ul { + display: flex; + gap: 20px; margin: 0; padding: 0; - a { - color: $textColor; + li { + list-style: none; + margin: 0; + padding: 0; - &:hover { - color: $highlight; + a { + color: $textColor; + + svg { + fill: $textColor; + transition: all 0.3s; + } + + &:hover { + color: $linkColor; + + svg { + fill: $linkColor; + } + } } } } - } - .contact { - display: inline-block; - padding: 8px 16px; - border-radius: $borderRadius; - border: 2px solid $highlight; - color: $textColor; - transition: all 0.3s; - color: $highlight; + .contact { + display: inline-block; + padding: 8px 16px; + border-radius: $borderRadius; + border: 2px solid $textColor; + color: $textColor; + transition: all 0.3s; - &:hover { - background: $highlight; - color: #fff; + &:hover { + background: $textColor; + color: #fff; + } } } } section { - margin: 0 0 80px 0; + max-width: 1080px; + margin: 80px auto 0 auto; + padding: 0 40px; } footer { - margin: 0 0 80px 0; - padding: 40px 0; - border-style: solid; - border-width: 2px 0 0 0; - border-color: $lightGray; + max-width: 1080px; + margin: 80px auto 0 auto; + padding: 0 40px; + + .content { + max-width: 1000px; + margin: 0 auto; + border-style: solid; + border-width: 2px 0 0 0; + border-color: $lightGray; + padding: 40px 0; + } } .intro { + background: $highlight; + max-width: 100%; + padding: 0 40px 80px 40px; + margin: 0; + article { + max-width: 1000px; + margin: 0 auto; display: flex; gap: 40px; justify-content: flex-start; @@ -110,8 +144,8 @@ footer { } img { - max-width: 256px; - max-height: 256px; + max-width: 196px; + max-height: 196px; aspect-ratio: 1; border-radius: $borderRadius; } diff --git a/content/404.json b/content/404.json new file mode 100644 index 0000000..6eb6acb --- /dev/null +++ b/content/404.json @@ -0,0 +1,28 @@ +{ + "path": { + "en": "/404" + }, + "sitemap": { + "priority": "0.1" + }, + "content": { + "content": [ + {"ref": "head"}, + {"ref": "nav"}, + { + "tpl": "text", + "data": { + "size": "h1" + }, + "copy": { + "en": { + "headline": "404", + "text": "
Whoops — this page does not exist.
" + } + } + }, + {"ref": "footer"}, + {"ref": "end"} + ] + } +} diff --git a/content/blog.json b/content/blog.json new file mode 100644 index 0000000..b3cb1ae --- /dev/null +++ b/content/blog.json @@ -0,0 +1,16 @@ +{ + "path": { + "en": "/blog" + }, + "sitemap": { + "priority": "0.9" + }, + "content": { + "content": [ + {"ref": "head"}, + {"ref": "nav"}, + {"ref": "footer"}, + {"ref": "end"} + ] + } +} diff --git a/content/home.json b/content/home.json index 93497f2..3944ad9 100644 --- a/content/home.json +++ b/content/home.json @@ -8,9 +8,20 @@ "content": { "content": [ {"ref": "head"}, + {"ref": "nav"}, { "tpl": "intro" }, + { + "tpl": "text", + "copy": { + "en": { + "headline": "TODO", + "text": "