summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Cao <[email protected]>2023-03-17 21:09:45 +0800
committerRyan Cao <[email protected]>2023-03-17 21:09:45 +0800
commit0601dcac61c88622a9c1b745f1e2812a4659714f (patch)
tree890806e1da67e950d9eb3c4e6138b1054341475c
parent7573fcc698da4954d60b1f409bb8deb5255dab9a (diff)
t a b s
-rw-r--r--.github/workflows/deploy.yaml50
-rw-r--r--src/_includes/layouts/base.njk36
-rw-r--r--src/_includes/layouts/page.njk58
-rw-r--r--src/guzzle.sass68
-rw-r--r--src/lul.njk6
5 files changed, 109 insertions, 109 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 382cdbe..b79089c 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -1,38 +1,38 @@
name: deploy to gh pages
on:
- push:
- branches: [main]
- workflow_dispatch:
+ push:
+ branches: [main]
+ workflow_dispatch:
permissions:
- contents: read
- pages: write
- id-token: write
+ contents: read
+ pages: write
+ id-token: write
jobs:
- build:
- runs-on: ubuntu-latest
+ build:
+ runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
+ steps:
+ - uses: actions/checkout@v3
- - name: setup deno
- uses: denoland/setup-deno@v1
- with:
- deno-version: v1.31.3
+ - name: setup deno
+ uses: denoland/setup-deno@v1
+ with:
+ deno-version: v1.31.3
- - name: build site
- run: deno task build
+ - name: build site
+ run: deno task build
- - name: setup pages
- uses: actions/configure-pages@v3
+ - name: setup pages
+ uses: actions/configure-pages@v3
- - name: upload artifact
- uses: actions/upload-pages-artifact@v1
- with:
- path: '_site'
+ - name: upload artifact
+ uses: actions/upload-pages-artifact@v1
+ with:
+ path: '_site'
- - name: deploy
- id: deployment
- uses: actions/deploy-pages@v1
+ - name: deploy
+ id: deployment
+ uses: actions/deploy-pages@v1
diff --git a/src/_includes/layouts/base.njk b/src/_includes/layouts/base.njk
index b0fb268..cd1e66c 100644
--- a/src/_includes/layouts/base.njk
+++ b/src/_includes/layouts/base.njk
@@ -1,21 +1,21 @@
<!DOCTYPE html>
<html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <title>{{ title }}</title>
- <meta name="description" content="{{ description }}" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <link rel="stylesheet" href="/guzzle.css" />
- <script type="module" src="/js/chrisApp.js"></script>
- </head>
- <body>
- {{ content | safe }}
- {% block footer %}
- <footer>
- <a href="https://github.com/getchoo/getchoo.github.io">source</a>
- commit: {{ gitRevision }}
- </footer>
- {% endblock %}
- </body>
+ <head>
+ <meta charset="utf-8" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <title>{{ title }}</title>
+ <meta name="description" content="{{ description }}" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="stylesheet" href="/guzzle.css" />
+ <script type="module" src="/js/chrisApp.js"></script>
+ </head>
+ <body>
+ {{ content | safe }}
+ {% block footer %}
+ <footer>
+ <a href="https://github.com/getchoo/getchoo.github.io">source</a>
+ commit: {{ gitRevision }}
+ </footer>
+ {% endblock %}
+ </body>
</html>
diff --git a/src/_includes/layouts/page.njk b/src/_includes/layouts/page.njk
index 7eb4218..1ae8d58 100644
--- a/src/_includes/layouts/page.njk
+++ b/src/_includes/layouts/page.njk
@@ -3,33 +3,33 @@ layout: "layouts/base.njk"
---
<div class="container">
- <div class="content">
- {{ content | safe }}
- </div>
- <div class="gifs">
- <img src="/imgs/gifs/legalize.gif" width="88" height="31" loading="lazy" decoding="async" alt="legalize now!" />
- <img src="/imgs/gifs/acab.gif" width="88" height="31" loading="lazy" decoding="async" alt="acab" />
- <img src="/imgs/gifs/poweredbyfedora.gif" width="88" height="31" loading="lazy" decoding="async" alt="powered by fedora" />
- <img src="/imgs/gifs/capitalism.gif" width="88" height="31" loading="lazy" decoding="async" alt="let's crush capitalism!" />
- <br>
- <img src="/imgs/gifs/anybrowser.gif" width="88" height="31" loading="lazy" decoding="async" alt="best viewed with any browser" />
- <img src="/imgs/gifs/weezer.gif" width="88" height="31" loading="lazy" decoding="async" alt="weezer fan" />
- <img src="/imgs/gifs/steam.gif" width="88" height="31" loading="lazy" decoding="async" alt="play with steam" />
- <img src="/imgs/gifs/vi.gif" width="88" height="31" loading="lazy" decoding="async" alt="made with vi" />
- <img src="/imgs/gifs/pride.gif" width="88" height="31" loading="lazy" decoding="async" alt="pride" />
- <img src="/imgs/gifs/imagine.gif" width="88" height="31" loading="lazy" decoding="async" alt="imagination" />
- <br>
- <img src="/imgs/gifs/moz.gif" width="88" height="31" loading="lazy" decoding="async" alt="mozilla is cool" />
- <img src="/imgs/gifs/free.gif" width="88" height="31" loading="lazy" decoding="async" alt="completely free software" />
- <img src="/imgs/gifs/gimp.gif" width="88" height="31" loading="lazy" decoding="async" alt="graphics by gimp" />
- <img src="/imgs/gifs/explorer.gif" width="88" height="31" loading="lazy" decoding="async" alt="marijuana mind explorer" />
- <img src="/imgs/gifs/jsfree.gif" width="88" height="31" loading="lazy" decoding="async" alt="javascript free" />
- <img src="/imgs/gifs/web3.gif" width="88" height="31" loading="lazy" decoding="async" alt="keep the web free! say no to web3!" />
- <img src="/imgs/gifs/tired.gif" width="88" height="31" loading="lazy" decoding="async" alt="tired" />
- <img src="/imgs/gifs/arnold.gif" width="88" height="31" loading="lazy" decoding="async" alt="hey arnold!" />
- <br>
- <img src="/imgs/gifs/bob.gif" width="88" height="31" loading="lazy" decoding="async" alt="powered by bob" />
- <img src="/imgs/gifs/counterstrike.gif" width="88" height="31" loading="lazy" decoding="async" alt="counter-strike player" />
- <img src="/imgs/gifs/chris.gif" width="88" height="31" loading="lazy" decoding="async" alt="chris troll" id="chris_gif" />
- </div>
+ <div class="content">
+ {{ content | safe }}
+ </div>
+ <div class="gifs">
+ <img src="/imgs/gifs/legalize.gif" width="88" height="31" loading="lazy" decoding="async" alt="legalize now!" />
+ <img src="/imgs/gifs/acab.gif" width="88" height="31" loading="lazy" decoding="async" alt="acab" />
+ <img src="/imgs/gifs/poweredbyfedora.gif" width="88" height="31" loading="lazy" decoding="async" alt="powered by fedora" />
+ <img src="/imgs/gifs/capitalism.gif" width="88" height="31" loading="lazy" decoding="async" alt="let's crush capitalism!" />
+ <br>
+ <img src="/imgs/gifs/anybrowser.gif" width="88" height="31" loading="lazy" decoding="async" alt="best viewed with any browser" />
+ <img src="/imgs/gifs/weezer.gif" width="88" height="31" loading="lazy" decoding="async" alt="weezer fan" />
+ <img src="/imgs/gifs/steam.gif" width="88" height="31" loading="lazy" decoding="async" alt="play with steam" />
+ <img src="/imgs/gifs/vi.gif" width="88" height="31" loading="lazy" decoding="async" alt="made with vi" />
+ <img src="/imgs/gifs/pride.gif" width="88" height="31" loading="lazy" decoding="async" alt="pride" />
+ <img src="/imgs/gifs/imagine.gif" width="88" height="31" loading="lazy" decoding="async" alt="imagination" />
+ <br>
+ <img src="/imgs/gifs/moz.gif" width="88" height="31" loading="lazy" decoding="async" alt="mozilla is cool" />
+ <img src="/imgs/gifs/free.gif" width="88" height="31" loading="lazy" decoding="async" alt="completely free software" />
+ <img src="/imgs/gifs/gimp.gif" width="88" height="31" loading="lazy" decoding="async" alt="graphics by gimp" />
+ <img src="/imgs/gifs/explorer.gif" width="88" height="31" loading="lazy" decoding="async" alt="marijuana mind explorer" />
+ <img src="/imgs/gifs/jsfree.gif" width="88" height="31" loading="lazy" decoding="async" alt="javascript free" />
+ <img src="/imgs/gifs/web3.gif" width="88" height="31" loading="lazy" decoding="async" alt="keep the web free! say no to web3!" />
+ <img src="/imgs/gifs/tired.gif" width="88" height="31" loading="lazy" decoding="async" alt="tired" />
+ <img src="/imgs/gifs/arnold.gif" width="88" height="31" loading="lazy" decoding="async" alt="hey arnold!" />
+ <br>
+ <img src="/imgs/gifs/bob.gif" width="88" height="31" loading="lazy" decoding="async" alt="powered by bob" />
+ <img src="/imgs/gifs/counterstrike.gif" width="88" height="31" loading="lazy" decoding="async" alt="counter-strike player" />
+ <img src="/imgs/gifs/chris.gif" width="88" height="31" loading="lazy" decoding="async" alt="chris troll" id="chris_gif" />
+ </div>
</div>
diff --git a/src/guzzle.sass b/src/guzzle.sass
index dc595ad..d3ab79b 100644
--- a/src/guzzle.sass
+++ b/src/guzzle.sass
@@ -4,54 +4,54 @@ $fonts: "Fira Code", monospace
$foreground-color: #1e1e2e
.container
- background-color: #b4befe
+ background-color: #b4befe
- display: flex
- flex: 1 1 auto
- flex-direction: column
- align-items: center
- justify-content: center
+ display: flex
+ flex: 1 1 auto
+ flex-direction: column
+ align-items: center
+ justify-content: center
- width: fit-content
+ width: fit-content
- margin-left: auto
- margin-right: auto
- margin-top: 8%
+ margin-left: auto
+ margin-right: auto
+ margin-top: 8%
- padding: 20px
+ padding: 20px
body
- background-color: $foreground-color
- font-family: $fonts
+ background-color: $foreground-color
+ font-family: $fonts
- padding: 10px 36px
+ padding: 10px 36px
- p,li
- font-size: 16px
+ p,li
+ font-size: 16px
- h
- font-size: 24px
+ h
+ font-size: 24px
footer
- font-size: 10px
- color: white
- padding: 10px
- justify-content: center
- text-align: center
+ font-size: 10px
+ color: white
+ padding: 10px
+ justify-content: center
+ text-align: center
.content
- display: inline-block
- text-align: center
- padding: 5px
- margin: 5px
+ display: inline-block
+ text-align: center
+ padding: 5px
+ margin: 5px
.gifs
- background-color: $foreground-color
- display: inline-block
- text-align: center
- padding: 5px
- margin: 5px
+ background-color: $foreground-color
+ display: inline-block
+ text-align: center
+ padding: 5px
+ margin: 5px
#vidya
- display: flex
- justify-content: center
+ display: flex
+ justify-content: center
diff --git a/src/lul.njk b/src/lul.njk
index d0e249a..100220c 100644
--- a/src/lul.njk
+++ b/src/lul.njk
@@ -5,7 +5,7 @@ layout: "layouts/base.njk"
---
<div id="vidya">
- <video width="1280" height="720" controls autoplay muted>
- <source src="/files/rickroll.mp4" type="video/mp4"/>
- </video>
+ <video width="1280" height="720" controls autoplay muted>
+ <source src="/files/rickroll.mp4" type="video/mp4"/>
+ </video>
</div>