Skip to content

Commit bf7773d

Browse files
committed
feat: New site.
1 parent 6b28f22 commit bf7773d

31 files changed

+221
-9346
lines changed

.babelrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/modgen-gh-pages.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Workflow for building and deploying a modgen site to GitHub Pages
2+
name: Deploy modgen with GitHub Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# Build job
26+
build:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v3
31+
- name: Set up Go
32+
uses: actions/setup-go@v4
33+
with:
34+
go-version: '1.20'
35+
- name: Install modgen
36+
run: go install go.essaim.dev/modgen/cmd/modgen@latest
37+
- name: Generate site
38+
run: >
39+
modgen
40+
-config 'modgen.yaml'
41+
-index-tmpl './index.html.tmpl'
42+
-target "_site/"
43+
cp -rv './assets/' './_site/'
44+
- name: Upload artifact
45+
uses: actions/upload-pages-artifact@v2
46+
47+
# Deployment job
48+
deploy:
49+
environment:
50+
name: github-pages
51+
url: ${{ steps.deployment.outputs.page_url }}
52+
runs-on: ubuntu-latest
53+
needs: build
54+
steps:
55+
- name: Deploy to GitHub Pages
56+
id: deployment
57+
uses: actions/deploy-pages@v2

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

assets/css/style.css

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
@font-face {
2+
font-family: lucida_granderegular;
3+
src: url(/assets/fonts/lucida_grande-webfont.woff) format('woff');
4+
}
5+
6+
@font-face {
7+
font-family: lucida_sans_unicoderegular;
8+
src: url(/assets/fonts/lucida_sans_unicode-webfont.woff) format('woff');
9+
}
10+
11+
@font-face {
12+
font-family: courierprime-regular;
13+
src: url(/assets/fonts/courierprime-regular-webfont.woff) format('woff');
14+
}
15+
16+
header, footer {
17+
background-color: #1d3264;
18+
}
19+
20+
header {
21+
height: 93px;
22+
}
23+
24+
footer {
25+
position: bottom;
26+
height: 5%;
27+
}
28+
29+
body {
30+
background-color: #162b55;
31+
color: #FFFFFF;
32+
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans",
33+
Helvetica, Arial, lucida_sans_unicoderegular, coolveticaregular;
34+
}
35+
36+
code, pre, tt {
37+
font-family: "Courier Prime", courierprime-regular, "Courier New", monospace;
38+
}
39+
40+
ul {
41+
list-style: disc;
42+
}
43+
44+
li::marker {
45+
color: #ebd758;
46+
}
47+
48+
.logo {
49+
float: left;
50+
margin: 0px 5px 0 0;
51+
height: 93px;
52+
width: 200px;
53+
}
54+
55+
.lemma {
56+
display: inline-block;
57+
vertical-align: middle;
58+
}
59+
60+
a, .title-marker {
61+
color: #ebd758;
62+
text-decoration: none;
63+
background-color: transparent;
64+
}
65+
66+
.main-text {
67+
font-size: 20px;
68+
margin: 5px 0 30px 20px;
69+
}
70+
71+
.copyright {
72+
margin: 0px 0 0 5px;
73+
}
26.6 KB
Binary file not shown.
Binary file not shown.
21.4 KB
Binary file not shown.
21.5 KB
Binary file not shown.
File renamed without changes.

assets/img/logo_mini.png

5.07 KB
Loading

components/About/index.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

components/Footer/index.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

components/Head/index.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

components/Header/index.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

components/Header/navbarFtp.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

components/Hero/index.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)