From 6b2246aa976a9fe1396287c88cd5409e79fe5be9 Mon Sep 17 00:00:00 2001 From: 4o1x5 <4o1x5@4o1x5.dev> Date: Wed, 18 Dec 2024 18:19:58 +0100 Subject: [PATCH] added a basic projects layout --- assets/css/main.css | 15 +++++++++++++++ layouts/index.html | 4 ++-- layouts/page/projects.html | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 layouts/page/projects.html diff --git a/assets/css/main.css b/assets/css/main.css index 3bb3d2a..3441307 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -6,6 +6,21 @@ --hovercolor:navy; --darkMaincolor: #50fa7b; } +.pfp { + border: none; + border-radius: 50em; +} + +.profile-header { + display: flex; +} +.profile-header img { + width: 12em; + height: auto; + margin-right: 1em; + object-fit: cover; +} + html { color: #232333; font-family: 'Roboto Mono', monospace; diff --git a/layouts/index.html b/layouts/index.html index 1318644..06be7ed 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,8 +9,8 @@

{{ .Site.Params.About }}

🎵 Probably listening to - - {{ .Site.Params.ListeningToTitle }} + + {{ .Site.Params.music.title }} - {{ .Site.Params.music.artist }}

diff --git a/layouts/page/projects.html b/layouts/page/projects.html new file mode 100644 index 0000000..d3ac5bc --- /dev/null +++ b/layouts/page/projects.html @@ -0,0 +1,16 @@ + + + {{- partial "header.html" . -}} + +
+ {{- partial "head.html" . -}} + {{ range .Params.projects }} +

{{ .name }}

+

{{ .description }}

+ Take a look + {{ end }} + {{- partial "footer.html" . -}} +
+ + +