aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/about.html6
-rw-r--r--templates/blog.html9
-rw-r--r--templates/index.html15
-rw-r--r--templates/master.html20
-rw-r--r--templates/postHelp.tmpl3
-rw-r--r--templates/projects.html9
6 files changed, 28 insertions, 34 deletions
diff --git a/templates/about.html b/templates/about.html
index a6a432b..9f8fcab 100644
--- a/templates/about.html
+++ b/templates/about.html
@@ -3,12 +3,12 @@
<meta name="description" content="About me, Alex Scerba">
{{ end }}
{{ define "main" }}
- <h1>About</h1>
- <p class="subtitle">Me and my site.</p>
- <hr>
+ <h1>alexscerba.com/about</h1>
+ <section class="postContent">
<p>My name is Alex Scerba, and I am a design student at the College for Creative Studies in Detroit, MI.</p>
<blockquote>"It's just a machine. Open it up and see what's wrong."</blockquote>
<p>This phrase is mostly what my life revolves around. Tinkering, making, repairing, and improving the world through these outlets is what I strive to do in my lifetime.</p>
<p>This site is my anti social media and is where I post about my life and school projects &lpar;when allowed&rpar; and serves as a way to keep up with my appreciation for software programming. The backend is written in <a href="https://go.dev" target="_blank" rel="noopener noreferrer">Go</a> &lpar;source can be found <a href="https://notabug.org/thinkpadmaster/alexscerba.com" target="_blank" rel="noopener noreferrer">at notabug.org</a>&rpar; and uses a templating system to keep hand-editing of pages to a bare minimum.</p>
<p>For posterity, I keep my <a href="http://alexscerba.com:8080" target="_blank" rel="noopener noreferrer">old site</a> deployed. The blog page is extremely slow to load along with a couple others due to amount of content on the pages and size of images, but it is a fun project to look back on.</p>
+ </section>
{{ end }} \ No newline at end of file
diff --git a/templates/blog.html b/templates/blog.html
index d90c19e..a6f1713 100644
--- a/templates/blog.html
+++ b/templates/blog.html
@@ -3,13 +3,12 @@
<meta name="description" content="Site blog featuring personal and project updates as well as anything random I want to share.">
{{ end }}
{{ define "main" }}
- <h1>Blog</h1>
- <p class="subtitle">Personal and site updates.</p>
- <hr>
+ <h1>alexscerba.com/blog</h1>
+ <section class="postContent">
+ <h2>Entries</h2>
{{ range .Contents }}
{{ printf "%s" .Thumbnail }}
{{ end }}
-
- <a href="/blog">Top</a>
+ </section>
{{ end }} \ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
index 491bd55..794eefb 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -3,17 +3,14 @@
<meta name="description" content="Homepage">
{{ end }}
{{ define "main" }}
- <h1>Alex Scerba</h1>
- <p class="subtitle">Designer. Maker.</p>
- <hr>
- <p>Student at College for Creative Studies in Detroit, MI. Love for tinkering, making, and building.</p>
-
- <h2>Featured Projects</h2>
- <hr>
+ <h1 style="animation: 1s ease-out 0s 1 fadeIn">alexscerba.com</h1>
+ <section class="bottom">
+ <h2>Featured Projects</h2>
+ <div class="posts">
{{ range .Contents }}
{{ printf "%s" .Thumbnail }}
{{ end }}
-
- <a href="/projects">See More Projects</a>
+ </div>
+ </section>
{{ end }} \ No newline at end of file
diff --git a/templates/master.html b/templates/master.html
index c2ef78a..26e2d0b 100644
--- a/templates/master.html
+++ b/templates/master.html
@@ -14,25 +14,21 @@
<body>
- <nav aria-labelledby="global-navigation" class="nav">
- <ul>
- <li><a href="/">Home</a></li>
- <li><a href="/projects">Projects</a></li>
- <li><a href="/blog">Blog</a></li>
- <li><a href="/about">About</a></li>
- </ul>
+ <input type="checkbox" class="toggler">
+ <div class="hamburger"><div></div></div>
+ <nav aria-labelledby="global-navigation" class="menu">
+ <a href="/">Home</a>
+ <a href="/projects">Projects</a>
+ <a href="/blog">Blog</a>
+ <a href="/about">About</a>
</nav>
+ <div class="bg-nav-block"></div>
<main>
{{ template "main" . }}
</main>
-
- <footer>
- <p>Contact: <a href="mailto:ascerba@collegeforcreativestudies.edu">ascerba@collegeforcreativestudies.edu</a></p>
- </footer>
-
</body>
</html>
diff --git a/templates/postHelp.tmpl b/templates/postHelp.tmpl
index ca2e319..d7124eb 100644
--- a/templates/postHelp.tmpl
+++ b/templates/postHelp.tmpl
@@ -2,5 +2,8 @@
{{ printf "%s" .Meta }}
{{ end }}
{{ define "main" }}
+ <h1>Post</h1>
+ <div class="postContent">
{{ printf "%s" .Content }}
+ </div>
{{ end }}
diff --git a/templates/projects.html b/templates/projects.html
index 9c7f12d..6e90ffe 100644
--- a/templates/projects.html
+++ b/templates/projects.html
@@ -3,13 +3,12 @@
<meta name="description" content="Site blog featuring personal and project updates as well as anything random I want to share.">
{{ end }}
{{ define "main" }}
- <h1>Projects</h1>
- <p class="subtitle">Current posted industrial and automotive design projects.</p>
- <hr>
+ <h1>alexscerba.com/projects</h1>
+ <section class="postContent">
+ <h2>Completed</h2>
{{ range .Contents }}
{{ printf "%s" .Thumbnail }}
{{ end }}
-
- <a href="/projects">Top</a>
+ </section>
{{ end }} \ No newline at end of file