added a basic projects layout

This commit is contained in:
Barna Máté 2024-12-18 18:19:58 +01:00
parent 2064a9fbca
commit 6b2246aa97
3 changed files with 33 additions and 2 deletions

View file

@ -6,6 +6,21 @@
--hovercolor:navy; --hovercolor:navy;
--darkMaincolor: #50fa7b; --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 { html {
color: #232333; color: #232333;
font-family: 'Roboto Mono', monospace; font-family: 'Roboto Mono', monospace;

View file

@ -9,8 +9,8 @@
<h1 class="site-about"> {{ .Site.Params.About }}</h1> <h1 class="site-about"> {{ .Site.Params.About }}</h1>
<p> 🎵 Probably listening to <p> 🎵 Probably listening to
<a href="{{ .Site.Params.ListeningToUrl }}" target="_blank"> <a href="{{ .Site.Params.music.url }}" target="_blank">
{{ .Site.Params.ListeningToTitle }} {{ .Site.Params.music.title }} - {{ .Site.Params.music.artist }}
</a> </a>
</p> </p>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
{{- partial "header.html" . -}}
<body>
<div class="content">
{{- partial "head.html" . -}}
{{ range .Params.projects }}
<h2>{{ .name }}</h2>
<p>{{ .description }}</p>
<a href="{{ .url }}">Take a look</a>
{{ end }}
{{- partial "footer.html" . -}}
</div>
</body>
</html>