diff options
Diffstat (limited to 'html/main')
-rw-r--r-- | html/main/about.tmpl.html | 20 | ||||
-rw-r--r-- | html/main/blog.tmpl.html | 14 | ||||
-rw-r--r-- | html/main/index.tmpl.html | 24 | ||||
-rw-r--r-- | html/main/projects.tmpl.html | 19 |
4 files changed, 77 insertions, 0 deletions
diff --git a/html/main/about.tmpl.html b/html/main/about.tmpl.html new file mode 100644 index 0000000..6add633 --- /dev/null +++ b/html/main/about.tmpl.html @@ -0,0 +1,20 @@ +{{ define "title" }}About{{end}} +{{ define "description" }}About me and my site.{{end}} +{{ define "keywords" }}about{{end}} + +{{ define "main" }} + <h1>alexscerba.com<wbr>/about</h1> + <section class="postContent"> + <h2>About</h2> + <figure> + <img src="/static/media/alex_profile_512.jpg" alt="Highschool senior photo portrait of Alex next to Yerkes Observatory."> + <figcaption>Highschool senior photo.</figcaption> + </figure> + <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 (when allowed) 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> (source can be found <a href="https://notabug.org/thinkpadmaster/alexscerba.com" target="_blank" rel="noopener noreferrer">at notabug.org</a>) and uses a templating system to keep hand-editing of pages to a bare minimum.</p> + <p>I keep my <a href="http://alexscerba.com:8080" target="_blank" rel="noopener noreferrer">old site</a> hosted for posterity. The blog page and others are extremely slow to load due to amount of content on the pages and size of images, but it is a fun project to look back on.</p> + <p>Contact me at <a href="mailto:ascerba@collegeforcreativestudies.edu">ascerba@collegeforcreativestudies.edu</a></p> + </section> +{{ end }}
\ No newline at end of file diff --git a/html/main/blog.tmpl.html b/html/main/blog.tmpl.html new file mode 100644 index 0000000..9017066 --- /dev/null +++ b/html/main/blog.tmpl.html @@ -0,0 +1,14 @@ +{{ define "title" }}Blog{{end}} +{{ define "description" }}Site blog featuring personal and project updates as well as anything random I want to share.{{end}} +{{ define "keywords" }}blog{{end}} + +{{ define "main" }} + <h1>alexscerba.com<wbr>/blog</h1> + + <section class="postContent"> + <h2>Entries</h2> +{{ range .Contents }} + <p>- <a href="/blog/{{ .FileName }}">{{ .Title }}</a></p> +{{ end }} + </section> +{{ end }}
\ No newline at end of file diff --git a/html/main/index.tmpl.html b/html/main/index.tmpl.html new file mode 100644 index 0000000..5c60a6c --- /dev/null +++ b/html/main/index.tmpl.html @@ -0,0 +1,24 @@ +{{ define "title" }}Home{{end}} +{{ define "description" }}Homepage{{end}} +{{ define "keywords" }}home{{end}} + +{{ define "main" }} + <h1 style="animation: 1s ease-out 0s 1 fadeIn">alexscerba.com</h1> + <div class="frontpage-subtitle" style="animation: 1s ease-out 0s 1 fadeIn"> + <p>My place to:</p> + <p><strong>showcase design projects.<br>post life updates.<br>bulid web-development skills.</strong></p> + </div> + <section class="bottom"> + <h2>Latest Design Projects</h2> + <div class="posts"> +{{ range .Contents }} + <figure class="thumbnail"> + <a href="/projects/{{ .FileName }}"> + {{ .Image }} + <figcaption>{{ .Title }}</figcaption> + </a> + </figure> +{{ end }} + </div> + </section> +{{ end }}
\ No newline at end of file diff --git a/html/main/projects.tmpl.html b/html/main/projects.tmpl.html new file mode 100644 index 0000000..034c9bf --- /dev/null +++ b/html/main/projects.tmpl.html @@ -0,0 +1,19 @@ +{{ define "title" }}Projects{{end}} +{{ define "description" }}Porfolio projects.{{end}} +{{ define "keywords" }}projects{{end}} + +{{ define "main" }} + <h1>alexscerba.com<wbr>/projects</h1> + + <section class="postContent"> + <h2>Completed</h2> +{{ range .Contents }} + <figure class="thumbnail"> + <a href="/projects/{{ .FileName }}"> + {{ .Image }} + <figcaption>{{ .Title }}</figcaption> + </a> + </figure> +{{ end }} + </section> +{{ end }}
\ No newline at end of file |