Initial Commit

This commit is contained in:
Sangelo 2024-01-09 16:56:41 +01:00
commit 59b91f4353
16 changed files with 626 additions and 0 deletions

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
public/
resources/_gen/
dist
tmp

0
.hugo_build.lock Normal file
View file

5
archetypes/default.md Normal file
View file

@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++

7
assets/css/custom.css Normal file
View file

@ -0,0 +1,7 @@
/* @import url(./syntax.css);
/* @import url(./rrt.css) */
/* :root {
--primary-hue: 195deg;
--saturation: 100%
} */

427
assets/css/syntax.css Normal file
View file

@ -0,0 +1,427 @@
/* Background */
.bg {
color: #e0def4;
background-color: #232136;
}
/* PreWrapper */
.chroma {
color: #e0def4;
background-color: #232136;
}
/* Other */
.chroma .x {}
/* Error */
.chroma .err {
color: #eb6f92
}
/* CodeLine */
.chroma .cl {}
/* LineLink */
.chroma .lnlinks {
outline: none;
text-decoration: none;
color: inherit
}
/* LineTableTD */
.chroma .lntd {
vertical-align: top;
padding: 0;
margin: 0;
border: 0;
}
/* LineTable */
.chroma .lntable {
border-spacing: 0;
padding: 0;
margin: 0;
border: 0;
}
/* LineHighlight */
.chroma .hl {
background-color: #39374a
}
/* LineNumbersTable */
.chroma .lnt {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #7f7f7f
}
/* LineNumbers */
.chroma .ln {
white-space: pre;
-webkit-user-select: none;
user-select: none;
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
color: #7f7f7f
}
/* Line */
.chroma .line {
display: flex;
}
/* Keyword */
.chroma .k {
color: #3e8fb0
}
/* KeywordConstant */
.chroma .kc {
color: #3e8fb0
}
/* KeywordDeclaration */
.chroma .kd {
color: #3e8fb0
}
/* KeywordNamespace */
.chroma .kn {
color: #c4a7e7
}
/* KeywordPseudo */
.chroma .kp {
color: #3e8fb0
}
/* KeywordReserved */
.chroma .kr {
color: #3e8fb0
}
/* KeywordType */
.chroma .kt {
color: #3e8fb0
}
/* Name */
.chroma .n {
color: #ea9a97
}
/* NameAttribute */
.chroma .na {
color: #ea9a97
}
/* NameBuiltin */
.chroma .nb {
color: #ea9a97
}
/* NameBuiltinPseudo */
.chroma .bp {
color: #ea9a97
}
/* NameClass */
.chroma .nc {
color: #9ccfd8
}
/* NameConstant */
.chroma .no {
color: #f6c177
}
/* NameDecorator */
.chroma .nd {
color: #908caa
}
/* NameEntity */
.chroma .ni {
color: #ea9a97
}
/* NameException */
.chroma .ne {
color: #3e8fb0
}
/* NameFunction */
.chroma .nf {
color: #ea9a97
}
/* NameFunctionMagic */
.chroma .fm {
color: #ea9a97
}
/* NameLabel */
.chroma .nl {
color: #ea9a97
}
/* NameNamespace */
.chroma .nn {
color: #ea9a97
}
/* NameOther */
.chroma .nx {}
/* NameProperty */
.chroma .py {
color: #ea9a97
}
/* NameTag */
.chroma .nt {
color: #ea9a97
}
/* NameVariable */
.chroma .nv {
color: #ea9a97
}
/* NameVariableClass */
.chroma .vc {
color: #ea9a97
}
/* NameVariableGlobal */
.chroma .vg {
color: #ea9a97
}
/* NameVariableInstance */
.chroma .vi {
color: #ea9a97
}
/* NameVariableMagic */
.chroma .vm {
color: #ea9a97
}
/* Literal */
.chroma .l {
color: #f6c177
}
/* LiteralDate */
.chroma .ld {
color: #f6c177
}
/* LiteralString */
.chroma .s {
color: #f6c177
}
/* LiteralStringAffix */
.chroma .sa {
color: #f6c177
}
/* LiteralStringBacktick */
.chroma .sb {
color: #f6c177
}
/* LiteralStringChar */
.chroma .sc {
color: #f6c177
}
/* LiteralStringDelimiter */
.chroma .dl {
color: #f6c177
}
/* LiteralStringDoc */
.chroma .sd {
color: #f6c177
}
/* LiteralStringDouble */
.chroma .s2 {
color: #f6c177
}
/* LiteralStringEscape */
.chroma .se {
color: #3e8fb0
}
/* LiteralStringHeredoc */
.chroma .sh {
color: #f6c177
}
/* LiteralStringInterpol */
.chroma .si {
color: #f6c177
}
/* LiteralStringOther */
.chroma .sx {
color: #f6c177
}
/* LiteralStringRegex */
.chroma .sr {
color: #f6c177
}
/* LiteralStringSingle */
.chroma .s1 {
color: #f6c177
}
/* LiteralStringSymbol */
.chroma .ss {
color: #f6c177
}
/* LiteralNumber */
.chroma .m {
color: #f6c177
}
/* LiteralNumberBin */
.chroma .mb {
color: #f6c177
}
/* LiteralNumberFloat */
.chroma .mf {
color: #f6c177
}
/* LiteralNumberHex */
.chroma .mh {
color: #f6c177
}
/* LiteralNumberInteger */
.chroma .mi {
color: #f6c177
}
/* LiteralNumberIntegerLong */
.chroma .il {
color: #f6c177
}
/* LiteralNumberOct */
.chroma .mo {
color: #f6c177
}
/* Operator */
.chroma .o {
color: #908caa
}
/* OperatorWord */
.chroma .ow {
color: #908caa
}
/* Punctuation */
.chroma .p {
color: #908caa
}
/* Comment */
.chroma .c {
color: #6e6a86
}
/* CommentHashbang */
.chroma .ch {
color: #6e6a86
}
/* CommentMultiline */
.chroma .cm {
color: #6e6a86
}
/* CommentSingle */
.chroma .c1 {
color: #6e6a86
}
/* CommentSpecial */
.chroma .cs {
color: #6e6a86
}
/* CommentPreproc */
.chroma .cp {
color: #6e6a86
}
/* CommentPreprocFile */
.chroma .cpf {
color: #6e6a86
}
/* Generic */
.chroma .g {}
/* GenericDeleted */
.chroma .gd {
color: #eb6f92
}
/* GenericEmph */
.chroma .ge {
font-style: italic
}
/* GenericError */
.chroma .gr {}
/* GenericHeading */
.chroma .gh {}
/* GenericInserted */
.chroma .gi {
color: #9ccfd8
}
/* GenericOutput */
.chroma .go {}
/* GenericPrompt */
.chroma .gp {}
/* GenericStrong */
.chroma .gs {
font-weight: bold
}
/* GenericSubheading */
.chroma .gu {
color: #c4a7e7
}
/* GenericTraceback */
.chroma .gt {}
/* GenericUnderline */
.chroma .gl {}
/* TextWhitespace */
.chroma .w {}

6
content/_index.md Normal file
View file

@ -0,0 +1,6 @@
---
# title: 'Lunivity Wiki'
toc: false
---
# Lunivity Wiki

68
content/docs/_index.md Normal file
View file

@ -0,0 +1,68 @@
# Documentation
```yaml {filename="hugo.yml"}
baseURL: 'https://wiki.lunivity.com/'
languageCode: 'en-us'
title: 'Lunivity Wiki'
module:
imports:
- path: "github.com/imfing/hextra"
params:
# Navbar
navbar:
displayTitle: false
displayLogo: true
logo:
path: img/logo.svg
# dark: img/logo-dark.svg
link: /
width: 32
height: 32
# Edit URL
editURL:
enable: true
base: "https://gitpot.dev/lunivity/wiki/_edit/main/"
menu:
main:
- name: Home
pageRef: /
weight: 1
- name: Documentations
pageRef: /docs
weight: 2
- name: Services
pageRef: /services
weight: 3
- name: Guides
pageRef: /guides
weight: 4
- name: Search
weight: 5
params:
type: search
# - name: Gitpot
# weight: 5
# url: "https://gitpot.dev/lunivity"
# params:
# icon: git
sidebar:
- name: Links
params:
type: separator
weight: 991
- name: "Homepage ↗"
url: "https://lunivity.com/"
weight: 992
- name: "Authentik ↗"
url: "https://auth.lunivity.com/"
weight: 993
- name: "Legal ↗"
url: "https://lunivity.com/legal"
weight: 993
```

View file

@ -0,0 +1 @@
# Test

View file

@ -0,0 +1 @@
# Testing

1
content/guides/_index.md Normal file
View file

@ -0,0 +1 @@
# Guides

View file

@ -0,0 +1 @@
# Services

5
go.mod Normal file
View file

@ -0,0 +1,5 @@
module gitpot.dev/lunivity/wiki
go 1.21.5
require github.com/imfing/hextra v0.7.1 // indirect

2
go.sum Normal file
View file

@ -0,0 +1,2 @@
github.com/imfing/hextra v0.7.1 h1:hj5n0kDFYoZW//p5MlCC6A2y6cLKEHkag8OXVZq1EWI=
github.com/imfing/hextra v0.7.1/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=

61
hugo.yml Normal file
View file

@ -0,0 +1,61 @@
baseURL: 'https://wiki.lunivity.com/'
languageCode: 'en-us'
title: 'Lunivity Wiki'
module:
imports:
- path: "github.com/imfing/hextra"
params:
# Navbar
navbar:
displayTitle: false
displayLogo: true
logo:
path: img/logo.svg
# dark: img/logo-dark.svg
link: /
width: 32
height: 32
# Edit URL
editURL:
enable: true
base: "https://gitpot.dev/lunivity/wiki/_edit/main/"
menu:
main:
- name: Home
pageRef: /
weight: 1
- name: Documentations
pageRef: /docs
weight: 2
- name: Services
pageRef: /services
weight: 3
- name: Guides
pageRef: /guides
weight: 4
- name: Search
weight: 5
params:
type: search
# - name: Gitpot
# weight: 5
# url: "https://gitpot.dev/lunivity"
# params:
# icon: git
sidebar:
- name: Links
params:
type: separator
weight: 991
- name: "Homepage ↗"
url: "https://lunivity.com/"
weight: 992
- name: "Authentik ↗"
url: "https://auth.lunivity.com/"
weight: 993
- name: "Legal ↗"
url: "https://lunivity.com/legal"
weight: 993

14
i18n/en.yml Normal file
View file

@ -0,0 +1,14 @@
backToTop: "Scroll to top"
changeLanguage: "Change language"
changeTheme: "Change theme"
copyCode: "Copy code"
copyright: "© 2024 Lunivity"
dark: "Dark"
editThisPage: "Edit this page on Gitpot →"
lastUpdated: "Last updated on"
light: "Light"
noResultsFound: "No results found."
onThisPage: "On this page"
poweredBy: "Powered by Hextra"
readMore: "Read more →"
searchPlaceholder: "Search..."

22
static/img/logo.svg Normal file
View file

@ -0,0 +1,22 @@
<svg width="136" height="136" viewBox="0 0 136 136" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="135" height="135" rx="67.5" fill="url(#paint0_linear_621_2)"/>
<g filter="url(#filter0_d_621_2)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M70.4854 32.0569C70.5058 32.0818 70.5252 32.1073 70.5435 32.1334C71.0285 32.8266 70.3505 33.6105 69.7585 34.2949C69.6718 34.3951 69.587 34.4932 69.5079 34.5886C63.6327 41.6738 57.527 55.1835 70.1602 67.3418C82.5786 77.9576 95.1973 71.6482 98.9028 68.4434C101.468 66.2252 104.812 63.8366 104.812 68.4434C104.812 78.6586 97.96 94.3899 84.882 100.791C66.4547 109.811 49.4295 101.292 43.721 96.0844C32.0036 85.3949 28.4984 68.4434 33.1053 56.1252C39.0406 41.5339 51.8702 31.1945 67.8359 31.3474C67.8853 31.3478 67.9351 31.3482 67.9852 31.3486C68.8967 31.3552 69.916 31.3626 70.4854 32.0569ZM53.178 50.6171C52.8584 55.6245 54.1995 66.3804 61.8909 74.5525C64.5282 77.4234 73.0074 83.2854 85.8264 83.7662C87.5957 83.5992 89.9292 83.4571 86.928 86.37C78.4154 94.6322 62.8924 98.488 49.3724 85.669C42.5068 79.1593 38.1771 62.6348 49.1721 50.6171C50.6076 49.0481 53.4184 46.8515 53.178 50.6171Z" fill="white"/>
</g>
<defs>
<filter id="filter0_d_621_2" x="27.9406" y="28.9421" width="80.0756" height="79.8099" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="0.801187"/>
<feGaussianBlur stdDeviation="1.60237"/>
<feComposite in2="hardAlpha" operator="out"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_621_2"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_621_2" result="shape"/>
</filter>
<linearGradient id="paint0_linear_621_2" x1="22.7329" y1="135.5" x2="157.276" y2="-15.0374" gradientUnits="userSpaceOnUse">
<stop stop-color="#759CFF"/>
<stop offset="1" stop-color="#78A1BB"/>
</linearGradient>
</defs>
<script xmlns=""/></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB