added contact page, wip page, and removed background image
This commit is contained in:
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 8.0 KiB |
@@ -19,10 +19,7 @@ body {
|
|||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
-webkit-font-smoothing: antialias;
|
-webkit-font-smoothing: antialias;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
text-rendering: optimizeLegibility;
|
background-color: #fafafa;
|
||||||
background-image: url('/static/bg.svg');
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: cover;
|
|
||||||
font-size: calc(12px + 0.33vw);
|
font-size: calc(12px + 0.33vw);
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
@@ -57,6 +54,11 @@ p {
|
|||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
padding-top: 6px;
|
||||||
|
padding-bottom: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #242124;
|
color: #242124;
|
||||||
@@ -114,7 +116,6 @@ a::after:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post-record {
|
.post-record {
|
||||||
background-color: rgba(233, 233, 233, 0.6);
|
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
width: 200px + 2vw;
|
width: 200px + 2vw;
|
||||||
|
|||||||
11
templates/contact.tmpl
Normal file
11
templates/contact.tmpl
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{{ template "header.tmpl" . }}
|
||||||
|
<h2>Ways to contact me</h2>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="mailto:rawleyfowler@gmail.com">Email</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://unix.stackexchange.com/users/507434/rawley-fowler">Stack Exchange</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
{{ template "footer.tmpl" . }}
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
<!--footer.html-->
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p class="footer-text">This site is powered by:</p>
|
<p class="footer-text">This site is powered by:</p>
|
||||||
<a href="https://www.openbsd.org/">
|
<a href="https://www.openbsd.org/">
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
<!--header.html-->
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
<!--nav.html-->
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h1 class="header-title">
|
<h1 class="header-title">
|
||||||
<a href="/">Rawley.xyz</a>
|
<a href="/">Rawley.xyz</a>
|
||||||
|
|||||||
9
templates/wip.tmpl
Normal file
9
templates/wip.tmpl
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{{ template "header.tmpl" . }}
|
||||||
|
<h2>Work in progress...</h2>
|
||||||
|
<p>
|
||||||
|
This page is not finished yet, check back later!
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href="https://gitlab.com/rawleyIfowler/rawleydotxyz">Development progress</a>
|
||||||
|
</p>
|
||||||
|
{{ template "footer.tmpl" . }}
|
||||||
@@ -27,6 +27,8 @@ func InitializeRoutes(router *gin.Engine) {
|
|||||||
router.NoRoute(ServePage("not_found.tmpl"))
|
router.NoRoute(ServePage("not_found.tmpl"))
|
||||||
router.GET("/", ServePage("index.tmpl"))
|
router.GET("/", ServePage("index.tmpl"))
|
||||||
router.GET("/resume", ServePage("resume.tmpl"))
|
router.GET("/resume", ServePage("resume.tmpl"))
|
||||||
|
router.GET("/contact", ServePage("contact.tmpl"))
|
||||||
|
router.GET("/blog", ServePage("wip.tmpl"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns a handler function to serve a page based on the template that is inputted
|
// Returns a handler function to serve a page based on the template that is inputted
|
||||||
|
|||||||
Reference in New Issue
Block a user