mirror of
https://ark.sudovanilla.org/Korbs/butterflyvu.git
synced 2024-12-22 23:33:54 +00:00
update
This commit is contained in:
parent
e9514b2b13
commit
f1537f67dc
5
.dockerignore
Normal file → Executable file
5
.dockerignore
Normal file → Executable file
|
@ -1,3 +1,8 @@
|
||||||
|
# User is expected to provide their own .env file in their Docker Compose file.
|
||||||
|
# Either with volumes or using the Enviroment option.
|
||||||
|
.env
|
||||||
|
|
||||||
|
# Other Files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dist
|
dist
|
||||||
node_modules
|
node_modules
|
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
Dockerfile
Normal file → Executable file
0
Dockerfile
Normal file → Executable file
14
TODO.md
Normal file → Executable file
14
TODO.md
Normal file → Executable file
|
@ -20,10 +20,13 @@
|
||||||
- [ ] Multi
|
- [ ] Multi
|
||||||
- [ ] Closable
|
- [ ] Closable
|
||||||
- [ ] Mobile friendly
|
- [ ] Mobile friendly
|
||||||
|
- [ ] Error Handling
|
||||||
|
- [ ] Custom Error Pages
|
||||||
|
- [ ] Explore new experimental Astro feature: astro:env
|
||||||
- [ ] Optimizations
|
- [ ] Optimizations
|
||||||
- [ ] Mobile Friendly
|
- [ ] Mobile Friendly
|
||||||
- [ ] Add Integrations:
|
- [ ] Add Integrations:
|
||||||
- [ ] Analytics for:
|
- [x] Analytics for:
|
||||||
- [x] Amplitude
|
- [x] Amplitude
|
||||||
- [x] Fathom
|
- [x] Fathom
|
||||||
- [x] Matomo (aka Piwik)
|
- [x] Matomo (aka Piwik)
|
||||||
|
@ -32,10 +35,10 @@
|
||||||
- [x] Plausible
|
- [x] Plausible
|
||||||
- [x] Simple Analytics
|
- [x] Simple Analytics
|
||||||
- [x] Swetrix Analytics
|
- [x] Swetrix Analytics
|
||||||
- [ ] Tianji
|
- [x] Tianji
|
||||||
- [x] Umami
|
- [x] Umami
|
||||||
- [ ] Feedback:
|
- [x] Feedback:
|
||||||
- [ ] Feelback
|
- [x] Feelback
|
||||||
- [ ] CMS for:
|
- [ ] CMS for:
|
||||||
- [x] Keystatic
|
- [x] Keystatic
|
||||||
- [ ] KeystoneJS*
|
- [ ] KeystoneJS*
|
||||||
|
@ -43,9 +46,8 @@
|
||||||
- [ ] Wordpress*
|
- [ ] Wordpress*
|
||||||
- [ ] Provide Docker Image for AMD64 and ARM64
|
- [ ] Provide Docker Image for AMD64 and ARM64
|
||||||
- [ ] Docker, test with:
|
- [ ] Docker, test with:
|
||||||
- [x] Dockge (.env option in Dockge, not yet supported)
|
- [x] Dockge
|
||||||
- [x] Dokemon
|
- [x] Dokemon
|
||||||
- [/] Yacht (Refuses to work, period)
|
|
||||||
- [ ] Create automations for:
|
- [ ] Create automations for:
|
||||||
- [ ] Drone.io
|
- [ ] Drone.io
|
||||||
- [ ] Gitea/Forgejo
|
- [ ] Gitea/Forgejo
|
||||||
|
|
0
astro.config.mjs
Normal file → Executable file
0
astro.config.mjs
Normal file → Executable file
8
config.json
Normal file → Executable file
8
config.json
Normal file → Executable file
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"HeaderItems": [
|
"HeaderItems": [
|
||||||
{
|
{
|
||||||
"text": "Link",
|
"text": "Syntax",
|
||||||
"link": "#"
|
"link": "/syntax/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"text": "Link",
|
"text": "Link",
|
||||||
|
@ -18,8 +18,8 @@
|
||||||
"heading": "Heading"
|
"heading": "Heading"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"text": "Document Title",
|
"text": "Syntax",
|
||||||
"link": "#"
|
"link": "syntax/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"text": "Document Title",
|
"text": "Document Title",
|
||||||
|
|
0
docker-compose.yml
Normal file → Executable file
0
docker-compose.yml
Normal file → Executable file
0
keystatic.config.ts
Normal file → Executable file
0
keystatic.config.ts
Normal file → Executable file
26
package.json
Normal file → Executable file
26
package.json
Normal file → Executable file
|
@ -32,25 +32,25 @@
|
||||||
"docker:push": "docker push ark.sudovanilla.org/korbs/butterlyvu:arm64"
|
"docker:push": "docker push ark.sudovanilla.org/korbs/butterlyvu:arm64"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aptabase/react": "^0.3.3",
|
"@aptabase/react": "^0.3.4",
|
||||||
"@aptabase/web": "^0.4.2",
|
"@aptabase/web": "^0.4.3",
|
||||||
"@astrojs/mdx": "^3.0.1",
|
"@astrojs/mdx": "^3.1.4",
|
||||||
"@astrojs/node": "^8.2.5",
|
"@astrojs/node": "^8.3.3",
|
||||||
"@astrojs/partytown": "^2.1.0",
|
"@astrojs/partytown": "^2.1.1",
|
||||||
"@astrojs/prism": "^3.1.0",
|
"@astrojs/prism": "^3.1.0",
|
||||||
"@astrojs/react": "^3.5.0",
|
"@astrojs/react": "^3.6.2",
|
||||||
"@keystatic/astro": "^5.0.0",
|
"@keystatic/astro": "^5.0.0",
|
||||||
"@keystatic/core": "^0.5.18",
|
"@keystatic/core": "^0.5.32",
|
||||||
"astro": "^4.9.3",
|
"astro": "4.14.5",
|
||||||
"astro-analytics": "^2.7.0",
|
"astro-analytics": "^2.7.0",
|
||||||
"astro-breadcrumbs": "^2.3.1",
|
"astro-breadcrumbs": "^3.0.1",
|
||||||
"astro-feelback": "^0.3.4",
|
"astro-feelback": "^0.3.4",
|
||||||
"astro-seo": "^0.8.4",
|
"astro-seo": "^0.8.4",
|
||||||
"dayjs": "^1.11.11",
|
"dayjs": "^1.11.13",
|
||||||
"iconoir-react": "^7.7.0",
|
"iconoir-react": "^7.8.0",
|
||||||
"markdoc": "^0.1.3"
|
"markdoc": "^0.1.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"sass": "^1.77.4"
|
"sass": "^1.77.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
0
public/splash-logo.webp
Normal file → Executable file
0
public/splash-logo.webp
Normal file → Executable file
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
3
src/components/Sidebar.astro
Normal file → Executable file
3
src/components/Sidebar.astro
Normal file → Executable file
|
@ -1,9 +1,10 @@
|
||||||
---
|
---
|
||||||
import { SidebarItems } from '../../config.json'
|
import { SidebarItems } from '../../config.json'
|
||||||
|
import { SITE_BASE, SITE_PROTOCOL, SITE_DOMAIN } from '@utils/GetConfig'
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
{SidebarItems.map((item) => (
|
{SidebarItems.map((item) => (
|
||||||
item.heading ? <h2>{item.heading}</h2> : <a href={item.link}>{item.text}</a>
|
item.heading ? <h2>{item.heading}</h2> : <a href={SITE_PROTOCOL + '://' + SITE_DOMAIN + SITE_BASE + item.link}>{item.text}</a>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
2
src/components/global/Analytics.astro
Normal file → Executable file
2
src/components/global/Analytics.astro
Normal file → Executable file
|
@ -63,6 +63,8 @@ import {
|
||||||
} else if (ANALYTICS === "Simple Analytics") {
|
} else if (ANALYTICS === "Simple Analytics") {
|
||||||
<script is:inline async defer data-hostname={SIMPLEANALYTICS_DOMAIN} src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
|
<script is:inline async defer data-hostname={SIMPLEANALYTICS_DOMAIN} src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
|
||||||
<noscript><img src={'https://queue.simpleanalyticscdn.com/noscript.gif?hostname=' + SIMPLEANALYTICS_DOMAIN} alt="" referrerpolicy="no-referrer-when-downgrade" /></noscript>
|
<noscript><img src={'https://queue.simpleanalyticscdn.com/noscript.gif?hostname=' + SIMPLEANALYTICS_DOMAIN} alt="" referrerpolicy="no-referrer-when-downgrade" /></noscript>
|
||||||
|
} else if (ANALYTICS === "Tianji") {
|
||||||
|
<script async defer src="http://192.168.1.175:51257/tracker.js" data-website-id="clxcrsbjb000559gojgt9qdmi"></script>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
0
src/components/global/Head.astro
Normal file → Executable file
0
src/components/global/Head.astro
Normal file → Executable file
0
src/components/global/Header.astro
Normal file → Executable file
0
src/components/global/Header.astro
Normal file → Executable file
0
src/content/docs/demo.mdx
Normal file → Executable file
0
src/content/docs/demo.mdx
Normal file → Executable file
0
src/content/docs/syntax.mdx
Normal file → Executable file
0
src/content/docs/syntax.mdx
Normal file → Executable file
0
src/env.d.ts
vendored
Normal file → Executable file
0
src/env.d.ts
vendored
Normal file → Executable file
0
src/layouts/Document.astro
Normal file → Executable file
0
src/layouts/Document.astro
Normal file → Executable file
0
src/layouts/Splash.astro
Normal file → Executable file
0
src/layouts/Splash.astro
Normal file → Executable file
0
src/pages/[slug].astro
Normal file → Executable file
0
src/pages/[slug].astro
Normal file → Executable file
0
src/pages/index.mdx
Normal file → Executable file
0
src/pages/index.mdx
Normal file → Executable file
0
src/styles/feelback.css
Normal file → Executable file
0
src/styles/feelback.css
Normal file → Executable file
12
src/styles/index.scss
Normal file → Executable file
12
src/styles/index.scss
Normal file → Executable file
|
@ -2,7 +2,7 @@ body {
|
||||||
max-width: 1200px;
|
max-width: 1200px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
background: #0f0f0f;
|
background: #0a0a0a;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ blockquote {
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
background: #232323;
|
background: #161616;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
|
@ -57,12 +57,12 @@ header {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
.end {
|
.end {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 6px;
|
gap: 12px;
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background: #373737;
|
&:hover {
|
||||||
border-radius: 6px;
|
text-decoration: underline;
|
||||||
padding: 8px 16px;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
0
src/styles/splash.scss
Normal file → Executable file
0
src/styles/splash.scss
Normal file → Executable file
0
src/utils/GetConfig.js
Normal file → Executable file
0
src/utils/GetConfig.js
Normal file → Executable file
0
tsconfig.json
Normal file → Executable file
0
tsconfig.json
Normal file → Executable file
Loading…
Reference in a new issue