Skip to content

Commit

Permalink
setup footer
Browse files Browse the repository at this point in the history
  • Loading branch information
markgoho committed Jan 15, 2024
1 parent fd4b29b commit 1f0c6c3
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 4 deletions.
22 changes: 19 additions & 3 deletions hugo/assets/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ body {
grid-template-columns:
minmax(var(--padding), 1fr) minmax(auto, var(--content-width))
minmax(var(--padding), 1fr);
grid-template-rows: min-content 1fr min-content;
}

a {
Expand Down Expand Up @@ -99,7 +100,7 @@ p + p {

.header {
background-color: var(--surface-2);

// block-size: max-content;
padding: var(--size-fluid-3) 0;
margin-block-end: var(--size-fluid-3);
align-items: center;
Expand Down Expand Up @@ -133,11 +134,12 @@ p + p {
}

.title {
font-size: var(--font-size-fluid-3);
line-height: 1;
}

.subtitle {
font-size: var(--font-size-3);
font-size: var(--font-size-fluid-1);
font-weight: var(--font-weight-4);
}
}
Expand All @@ -153,6 +155,20 @@ p + p {
color: var(--text-1);
}

.main > * {
.main,
.footer > * {
grid-column: 2 / 3;
}

.footer {
background-color: var(--surface-2);
block-size: 10rem;
align-items: center;
margin-block-start: var(--size-fluid-3);
.footer-container {
display: flex;
flex-direction: column;
gap: var(--size-1);
color: var(--text-2);
}
}
4 changes: 4 additions & 0 deletions hugo/content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Gloria Deo Classical Cooperative
description: Gloria Deo Classical Cooperative is a Schole Community in the classical tradition.
---
5 changes: 5 additions & 0 deletions hugo/content/visitor-information.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Visitor Information
description: Information for families who are interested in visiting Gloria Deo.
type: visitor-information
---
4 changes: 4 additions & 0 deletions hugo/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div class="footer-container">
<div>Gloria Deo Classical Cooperative</div>
<div>Copyright 2024</div>
</div>
2 changes: 1 addition & 1 deletion hugo/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/>
</svg>
<div class="title-container">
<h1 class="title">Gloria Deo</h1>
<div class="title">Gloria Deo</div>
<div class="subtitle">Classical Cooperative</div>
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions hugo/layouts/visitor-information/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{- end }}

0 comments on commit 1f0c6c3

Please sign in to comment.