Merge branch 'master' into 13-add-donation-link-to-main-page

This commit is contained in:
elweyn 2023-11-30 17:18:35 +01:00
commit bf33470c96
7 changed files with 111 additions and 41 deletions

View File

@ -19,6 +19,8 @@ jobs:
- name: Build Vuepress Pages - name: Build Vuepress Pages
run: npm install && npm run build run: npm install && npm run build
env:
VUEPRESS_BASE: '/ocelot.social/'
- name: Deploy Vuepress to Github Pages - name: Deploy Vuepress to Github Pages
uses: crazy-max/ghaction-github-pages@v4 uses: crazy-max/ghaction-github-pages@v4

View File

@ -7,19 +7,16 @@ export default defineUserConfig({
...meta, ...meta,
theme, theme,
plugins, plugins,
base: '/ocelot.social/', base: process.env.VUEPRESS_BASE ?? '/',
locales:{ locales: {
// The key is the path for the locale to be nested under.
// As a special case, the default locale can use '/' as its path.
'/en/': {
lang: 'en-US', // this will be set as the lang attribute on <html>
title: 'Ocelot.Social',
// description: ''
},
'/': { '/': {
lang: 'de-DE', lang: 'de-DE',
title: 'Ocelot.Social', },
// description: '' '/en/': {
} lang: 'en-EN',
},
'/fr/': {
lang: 'fr-FR',
},
} }
}) })

View File

@ -4,6 +4,7 @@ export default hopeTheme({
favicon: 'favicon.ico', favicon: 'favicon.ico',
logo: '/logo.svg', logo: '/logo.svg',
docsRepo: 'https://github.com/Ocelot-Social-Community/ocelot.social', docsRepo: 'https://github.com/Ocelot-Social-Community/ocelot.social',
repo: 'https://github.com/Ocelot-Social-Community/Ocelot-Social',
docsBranch: 'master', docsBranch: 'master',
docsDir: 'docs', docsDir: 'docs',
editLink: true, editLink: true,
@ -11,24 +12,82 @@ export default hopeTheme({
contributors: false, contributors: false,
displayFooter: true, displayFooter: true,
print: false, print: false,
copyright: '&copy; by <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Authors | <a href="/impressum/">Impressum</a>', navbarLayout: {
footer: 'Released under the <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->MIT License<!--]--><!----></a>.', start: ["Brand"],
navbar: [ center: ["Links"],
{ end: ["Language", "Repo", "Search"],
text: 'Documentation', link: 'https://docs.ocelot.social/' },
locales:{
// The key is the path for the locale to be nested under.
// As a special case, the default locale can use '/' as its path.
'/': {
lang: 'de-DE',
title: 'Ocelot.Social',
copyright: '&copy; von <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Authoren | <a href="/impressum/">Impressum</a>',
footer: 'Unter der <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->MIT Lizenz<!--]--><!----></a> ausgeliefert.',
navbar: [
{
text: 'Documentation',
link: 'https://docs.ocelot.social/' ,
target: '_self',
},
{
text: 'Demo',
link: 'https://stage.ocelot.social/',
target: '_self',
},
{
text: 'Impressum',
link: '/impressum/'
},
],
}, },
{ '/en/': {
text: 'Demo', link: 'https://stage.ocelot.social/' lang: 'en-US', // this will be set as the lang attribute on <html>
title: 'Ocelot.Social',
// description: ''
copyright: '&copy; by <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Authors | <a href="/en/impressum/">Impressum</a>',
footer: 'Released under the <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->MIT License<!--]--><!----></a>.',
navbar: [
{
text: 'Documentation',
link: 'https://docs.ocelot.social/',
target: '_self',
},
{
text: 'Demo',
link: 'https://stage.ocelot.social/',
target: '_self',
},
{
text: 'Imprint',
link: '/impressum/'
},
],
}, },
{ '/fr/': {
text: 'Github', lang: 'fr-FR',
link: 'https://github.com/Ocelot-Social-Community' title: 'Ocelot.Social',
}, copyright: '&copy; par <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Auteurs | <a href="/fr/impressum/">Mentions légales</a>',
{ footer: 'Publié sous la <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->licence MIT<!--]--><!----></a>.',
text: 'Impressum', navbar: [
link: '/impressum/' {
}, text: 'Documentation',
], link: 'https://docs.ocelot.social/',
target: '_self',
},
{
text: 'Demo',
link: 'https://stage.ocelot.social/',
target: '_self',
},
{
text: 'Mentions légales',
link: '/impressum/'
},
],
}
},
plugins: { plugins: {
mdEnhance: { mdEnhance: {
align: true, align: true,

View File

@ -3,9 +3,7 @@ home: false
# layout: BlogHome # layout: BlogHome
icon: home icon: home
title: Imprint | Ocelot.Social title: Imprint | Ocelot.Social
heroFullScreen: false sidebar: false
heroImage: /logo.svg
heroText: Free and open-source social network for active citizenship.
tagLine: tagLine:
# actions: # actions:
# - text: Demo # - text: Demo

View File

@ -13,7 +13,7 @@ tagLine:
--- ---
## En construction ## En construction
Notre site web est en construction. Revenez bientôt! Notre site web est en construction. Reviens bientôt!
Entre-temps, tu peux nous trouver sur [GitHub](https://github.com/Ocelot-Social-Community/) ou [Discord](https://discord.gg/AGPJ7YgC). Entre-temps, tu peux nous trouver sur [GitHub](https://github.com/Ocelot-Social-Community/) ou [Discord](https://discord.gg/AGPJ7YgC).

View File

@ -1,13 +1,29 @@
--- ---
home: true home: false
# layout: BlogHome # layout: BlogHome
# icon: home # icon: home
title: Impressum sidebar: false
heroFullScreen: false title: Mentions légales
# heroImage: /logo.svg
# heroText: Free and open-source social network for active citizenship.
tagLine: tagLine:
# actions: # actions:
# - text: Demo # - text: Demo
# link: https://stage.ocelot.social/ # link: https://stage.ocelot.social/
--- ---
## Responsable de lexploitation de ce site Web
busFaktor() e.V.
Wolfgang Huß, 2nd Chairman
Haferstr. 5c
86179 Augsburg
E-Mail: <vorstand@busfaktor.org>
Telefon: +49 173 622 60 91
## Éditeur responsable du contenu
Wolfgang Huß
Steinburger Straße 38
22527 Hamburg
E-Mail: <vorstand@busfaktor.org>
Telefon: +49 173 622 60 91

View File

@ -3,9 +3,7 @@ home: false
# layout: BlogHome # layout: BlogHome
icon: home icon: home
title: Impressum | Ocelot.Social title: Impressum | Ocelot.Social
heroFullScreen: false sidebar: false
heroImage: /logo.svg
heroText: Free and open-source social network for active citizenship.
tagLine: tagLine:
# actions: # actions:
# - text: Demo # - text: Demo