This repository has been archived by the owner on Jun 6, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
implement basic outline + header
- Loading branch information
0 parents
commit 74f7460
Showing
11 changed files
with
153 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| --- | ||
| title: "{{ replace .Name "-" " " | title }}" | ||
| date: {{ .Date }} | ||
| --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| :root { | ||
| --light: #fbfffe; | ||
| --lightgray: #f0f0f0; | ||
| --gray: #dddddd; | ||
| --dark: #284b63; | ||
| --secondary: #84a59d; | ||
| } | ||
|
|
||
| a { | ||
| text-decoration: none; | ||
| color: var(--dark); | ||
| transition: all 0.2s ease; | ||
| } | ||
|
|
||
| .hover { | ||
| color: var(--dark); | ||
| text-decoration: none; | ||
| display: inline-block; | ||
| position: relative; | ||
| opacity: 0.6; | ||
| z-index: 1; | ||
| } | ||
|
|
||
| .hover::after { | ||
| transition: 300ms; | ||
| height: 20px; | ||
| content: ""; | ||
| position: absolute; | ||
| background-color: var(--secondary); | ||
| opacity: 0.5; | ||
| z-index: -1; | ||
| width: 0%; | ||
| left: 15px; | ||
| bottom: 0px; | ||
| } | ||
|
|
||
| header { | ||
| display: flex; | ||
| flex-direction: row; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| } | ||
|
|
||
| header:hover .hover { | ||
| opacity: 1.0; | ||
| } | ||
|
|
||
| header:hover .hover::after { | ||
| width: 100%; | ||
| } | ||
|
|
||
| body { | ||
| margin: 0; | ||
| background-color: var(--light); | ||
| } | ||
|
|
||
| h1, h2, h3, h4, nav { | ||
| font-family: Roboto Mono; | ||
| } | ||
|
|
||
| p { | ||
| font-family: Roboto; | ||
| } | ||
|
|
||
| #contentWrapper { | ||
| margin: 25px 25vw; | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| baseURL: "https://blog.jzhao.xyz" | ||
| languageCode: "en-us" | ||
| title: "jacky zhao | blog" | ||
| footnoteReturnLinkContents: "↩" | ||
|
|
||
| params: | ||
| headline: "jzhao.xyz" | ||
| github: "https://github.com/jackyzha0" | ||
| twitter: "https://twitter.com/_jzhao" | ||
| email: "j.zhao2k19@gmail.com" | ||
| author: "jacky" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| title: "test test test" | ||
| date: 2020-07-09T08:51:56-07:00 | ||
| --- | ||
|
|
||
| # test | ||
|
|
||
| more test | ||
|
|
||
| * nice | ||
| * cool | ||
| * good |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| <main id="main"> | ||
| <div> | ||
| <h1 id="title"><a href="{{ "/" | relURL }}">uh oh</a></h1> | ||
| </div> | ||
| </main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| {{- partial "head.html" . -}} | ||
|
|
||
| <body> | ||
| <div id="contentWrapper"> | ||
| {{- partial "header.html" . -}} | ||
| <main> | ||
| {{- partial "post/list.html" . -}} | ||
| </main> | ||
| {{- partial "footer.html" . -}} | ||
| </div> | ||
| </body> | ||
|
|
||
| </html> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| <head> | ||
| <link rel="preconnect" href="https://www.googletagmanager.com"> | ||
| <link crossorigin rel="preconnect" href="https://www.google-analytics.com"> | ||
|
|
||
| <!-- Global site tag (gtag.js) - Google Analytics --> | ||
| <script async src="https://www.googletagmanager.com/gtag/js?id=UA-148413215-1"></script> | ||
| <script> | ||
| window.dataLayer = window.dataLayer || []; | ||
|
|
||
| function gtag() { | ||
| dataLayer.push(arguments); | ||
| } | ||
| gtag('js', new Date()); | ||
|
|
||
| gtag('config', 'UA-148413215-1'); | ||
| </script> | ||
|
|
||
| <!-- Meta tags --> | ||
| <meta charset="UTF-8"> | ||
| <meta name="description" | ||
| content="jacky zhao personal portfolio - software developer trying to build solutions to the world’s problems "> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
|
||
| <!-- Fonts --> | ||
| <link href="https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Mono:wght@700&display=swap" rel="stylesheet"> | ||
|
|
||
| <!-- CSS Stylesheets and Fonts --> | ||
| {{with resources.Get "style.css" | minify}} | ||
| <style>{{ .Content | safeCSS }}</style> | ||
| {{end}} | ||
| </head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <header> | ||
| <h1><a class="hover" href="/">{{ .Site.Params.headline }}</a></h1> | ||
| <nav> | ||
| <a href="https://jzhao.xyz">[site]</a> | ||
| <a href="https://github.com/jackyzha0">[github]</a> | ||
| <a href="https://twitter.com/_jzhao">[twitter]</a> | ||
| </nav> | ||
| </header> |
Empty file.
Empty file.