Skip to content

Commit 0fda0d2

Browse files
committed
feat: add contact page and footer with navigation links
1 parent 9a76543 commit 0fda0d2

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

content/contact.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: "Contact"
3+
date: 2025-09-01T00:00:00+00:00
4+
description: "Get in touch with the Y-A-S team."
5+
---
6+
7+
## Contact Information
8+
9+
**GitHub:** [Yet-another-solution](https://github.com/Yet-another-solution)
10+
11+
---
12+
13+
*Looking forward to connecting with you!*

themes/yas-theme/layouts/_default/baseof.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@
8484
<li class="nav-item">
8585
<a class="nav-link" href="/projects">Projects</a>
8686
</li>
87+
<li class="nav-item">
88+
<a class="nav-link" href="/contact">Contact</a>
89+
</li>
8790
</ul>
8891
</div>
8992
</div>
@@ -92,6 +95,8 @@
9295

9396
{{ block "main" . }}{{ end }}
9497

98+
{{ partial "footer.html" . }}
99+
95100
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
96101
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
97102
<script type="module" src="https://unpkg.com/@rocktimsaikia/github-card@latest?module"></script>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<footer class="dark-bg light-text py-4 mt-5">
2+
<div class="container">
3+
<div class="row">
4+
<div class="col-md-6">
5+
<div class="d-flex align-items-center mb-3">
6+
<img src="{{ `img/Logo.png` | relURL }}" alt="Y-A-S Logo" height="30" width="30" class="me-2" loading="lazy">
7+
<h5 class="rubik mb-0">{{ .Site.Title }}</h5>
8+
</div>
9+
<p class="jet-brains-mono mb-0">{{ .Site.Params.description }}</p>
10+
</div>
11+
<div class="col-md-3">
12+
<h6 class="jet-brains-mono mb-3">Navigation</h6>
13+
<ul class="list-unstyled">
14+
<li><a href="/" class="text-decoration-none light-text">Home</a></li>
15+
<li><a href="/projects" class="text-decoration-none light-text">Projects</a></li>
16+
<li><a href="/contact" class="text-decoration-none light-text">Contact</a></li>
17+
</ul>
18+
</div>
19+
<div class="col-md-3">
20+
<h6 class="jet-brains-mono mb-3">Connect</h6>
21+
<a href="https://github.com/Yet-another-solution" target="_blank" class="btn btn-light btn-sm rounded-circle me-2" style="width: 40px; height: 40px; display: inline-flex; justify-content: center; align-items: center;">
22+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" class="bi bi-github" viewBox="0 0 16 16">
23+
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"/>
24+
</svg>
25+
</a>
26+
</div>
27+
</div>
28+
<hr class="my-4" style="border-color: var(--border-color);">
29+
<div class="row">
30+
<div class="col text-center">
31+
<p class="jet-brains-mono small mb-0">
32+
&copy; {{ now.Year }} {{ .Site.Title }}. Built with Hugo & hosted on GitHub Pages.
33+
</p>
34+
</div>
35+
</div>
36+
</div>
37+
</footer>

0 commit comments

Comments
 (0)