added a basic projects layout
This commit is contained in:
parent
2064a9fbca
commit
6b2246aa97
|
@ -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;
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
<h1 class="site-about"> {{ .Site.Params.About }}</h1>
|
||||
|
||||
<p> 🎵 Probably listening to
|
||||
<a href="{{ .Site.Params.ListeningToUrl }}" target="_blank">
|
||||
{{ .Site.Params.ListeningToTitle }}
|
||||
<a href="{{ .Site.Params.music.url }}" target="_blank">
|
||||
{{ .Site.Params.music.title }} - {{ .Site.Params.music.artist }}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
|
16
layouts/page/projects.html
Normal file
16
layouts/page/projects.html
Normal 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>
|
||||
|
Loading…
Reference in a new issue