-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7346cbc
commit 22fe023
Showing
22 changed files
with
451 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,57 @@ | ||
name: Deploy Pagine | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: | ||
- master | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
# Default to bash | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Pagine | ||
run: go install github.com/webpagine/go-pagine/cmd/pagine@latest | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v4 | ||
|
||
- name: Build with Pagine | ||
run: ~/go/bin/pagine --gen --public ./public/ | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: ./public/ | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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,2 @@ | ||
# IntelliJ | ||
.idea/ |
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,14 @@ | ||
[templates] | ||
header = "/templates/header.gohtml" | ||
footer = "/templates/footer.gohtml" | ||
head = "/templates/head.gohtml" | ||
main = "/templates/404.gohtml" | ||
|
||
[include] | ||
header = [ "/data/header.toml" ] | ||
footer = [ "/data/footer.toml" ] | ||
head = [ "/data/head.toml" ] | ||
|
||
[define.main] | ||
lang = "en" | ||
title = "Pagine - Web Generator" |
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,33 @@ | ||
@import "components.css"; | ||
@import "footer.css"; | ||
@import "header.css"; | ||
|
||
body { | ||
font-family: "Noto Sans", serif; | ||
margin: 0; | ||
} | ||
|
||
footer { | ||
color: white; | ||
background-color: black; | ||
} | ||
|
||
header { | ||
margin: 0; | ||
} | ||
|
||
.invert { | ||
filter: invert(1); | ||
} | ||
|
||
.content { | ||
a { | ||
text-decoration: none; | ||
transition-duration: 500ms; | ||
} | ||
|
||
a:hover { | ||
color: deepskyblue; | ||
transition-duration: 500ms; | ||
} | ||
} |
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,22 @@ | ||
a.button { | ||
margin: 0 10px; | ||
padding: 10px 20px; | ||
border-radius: 30px; | ||
|
||
font-family: "Droid Sans", serif; | ||
font-weight: bolder; | ||
|
||
color: white; | ||
|
||
transition-duration: 200ms; | ||
|
||
background-color: #ff336a; | ||
|
||
text-decoration: none; | ||
} | ||
|
||
.button:hover { | ||
transition-duration: 200ms; | ||
|
||
background-color: #f58; | ||
} |
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,71 @@ | ||
.footer { | ||
margin: 0 40px; | ||
padding: 50px 50px 10px 50px; | ||
} | ||
|
||
.footer-row { | ||
display: flex; | ||
align-items: stretch; | ||
box-sizing: border-box; | ||
margin-left: 14px; | ||
margin-right: 14px; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.footer-link-list-block { | ||
margin: 0 14px 32px 14px; | ||
} | ||
|
||
.footer-link-list-title { | ||
color: #aaa; | ||
|
||
font-weight: bold; | ||
} | ||
|
||
.footer-link-list { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
|
||
min-width: 200px; | ||
|
||
a { | ||
color: white; | ||
margin-top: 10px; | ||
|
||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
|
||
.footer-icon-list { | ||
margin-top: 10px; | ||
|
||
display: flex; | ||
flex-direction: initial; | ||
align-items: flex-start; | ||
|
||
min-width: 200px; | ||
} | ||
|
||
.footer-icon { | ||
margin: 0 40px 30px 0; | ||
|
||
width: 30px; | ||
height: 30px; | ||
|
||
filter: invert(100%); | ||
} | ||
|
||
.footer-hr { | ||
display: block; | ||
height: 0; | ||
overflow: visible; | ||
padding: 0; | ||
border: 0; | ||
margin: 0 0 40px 0; | ||
border-bottom: 1px solid #333; | ||
} |
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,35 @@ | ||
.nav-bar { | ||
padding: 0 100px; | ||
|
||
user-select: none; | ||
|
||
a { | ||
color: black; | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
.nav-logo { | ||
margin-top: 30px; | ||
display: block; | ||
} | ||
|
||
.nav-item-link { | ||
margin: 30px; | ||
padding: 10px 20px; | ||
border-radius: 30px; | ||
|
||
display: inline-block; | ||
|
||
transition-duration: 200ms; | ||
|
||
font-family: "Droid Sans", serif; | ||
font-weight: bolder; | ||
} | ||
|
||
.nav-item-link:hover { | ||
transition-duration: 200ms; | ||
|
||
color: white; | ||
background-color: #ff006a; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,40 @@ | ||
[copyright] | ||
owner = "Symboltics" | ||
date = "2024" | ||
license = "Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply." | ||
|
||
[logo] | ||
src = "/assets/img/symboltics_white.svg" | ||
height = 40 | ||
|
||
[[lists]] | ||
title = "About Symboltics" | ||
links = [ | ||
{ name = "Vision", link = "" }, | ||
{ name = "Mission", link = "" }, | ||
{ name = "Where we go", link = "" }, | ||
{ name = "Where we come", link = "" }, | ||
] | ||
|
||
[[lists]] | ||
title = "Infrastructure" | ||
links = [ | ||
{ name = "LangVM", link = "https://github.com/langvm/" }, | ||
{ name = "Symonarch", link = "https://github.com/symonarch/" }, | ||
{ name = "HyperArchy", link = "https://github.com/hyperarchy/" }, | ||
{ name = "Web Pagine", link = "https://github.com/webpagine/" }, | ||
] | ||
|
||
[[lists]] | ||
title = "Services" | ||
links = [ | ||
{ name = "Modularis", link = "https://github.com/symboltics/modularis/" }, | ||
] | ||
|
||
[[media.list]] | ||
logo = "github" | ||
link = "https://github.com/jellyterra" | ||
|
||
[[media.list]] | ||
logo = "x" | ||
link = "https://x.com/jellyterra" |
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 @@ | ||
icon = "https://avatars.githubusercontent.com/u/168826426" |
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 @@ | ||
[[nav.items]] | ||
name = "Documentation" | ||
link = "/docs/" | ||
|
||
[[nav.items]] | ||
name = "Repositories" | ||
link = "https://github.com/webpagine" | ||
|
||
[nav.logo] | ||
src = "/assets/img/pagine.svg" | ||
height = 50 |
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,14 @@ | ||
[templates] | ||
header = "/templates/header.gohtml" | ||
footer = "/templates/footer.gohtml" | ||
head = "/templates/head.gohtml" | ||
main = "/templates/mainpage.gohtml" | ||
|
||
[include] | ||
header = [ "/data/header.toml" ] | ||
footer = [ "/data/footer.toml" ] | ||
head = [ "/data/head.toml" ] | ||
|
||
[define.main] | ||
lang = "en" | ||
title = "Pagine - Web Generator" |
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 @@ | ||
ignore = [ "/.git*", "/*.toml", "/templates/*" ] |
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 @@ | ||
<html lang="en"> | ||
<head> | ||
<title>Page not found!</title> | ||
{{ .templates.head }} | ||
</head> | ||
<body> | ||
{{ .templates.header }} | ||
<div style="min-height: 100%; text-align: center"> | ||
<div style="block-size: 40%"></div> | ||
<span style="font-size: 400%">404</span><br/> | ||
<span style="font-size: 200%">Page not found.</span> | ||
</div> | ||
{{ .templates.footer }} | ||
</body> | ||
</html> |
Oops, something went wrong.