mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-12 23:35:59 +00:00
initial homepage
This commit is contained in:
parent
9cac850355
commit
1feb885bde
20
.github/dependabot.yml
vendored
Normal file
20
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
version: 2
|
||||
updates:
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
rebase-strategy: "disabled"
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: "saturday"
|
||||
timezone: "Europe/Berlin"
|
||||
time: "03:00"
|
||||
|
||||
- package-ecosystem: npm
|
||||
directory: "/"
|
||||
rebase-strategy: "disabled"
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: "saturday"
|
||||
timezone: "Europe/Berlin"
|
||||
time: "03:00"
|
||||
22
.github/workflows/test-build.yml
vendored
Normal file
22
.github/workflows/test-build.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: build test CI
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
name: Build Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node 20
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: npm-install
|
||||
run: npm install
|
||||
|
||||
- name: npm-build
|
||||
run: npm run build
|
||||
22
.github/workflows/test-lint.yml
vendored
Normal file
22
.github/workflows/test-lint.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: lint test CI
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
name: Lint Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node 20
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: npm-install
|
||||
run: npm install
|
||||
|
||||
- name: npm-test
|
||||
run: npm test
|
||||
11
docs/.vuepress/config.github.js
Normal file
11
docs/.vuepress/config.github.js
Normal file
@ -0,0 +1,11 @@
|
||||
import { defineUserConfig } from 'vuepress'
|
||||
import meta from './config/meta'
|
||||
import theme from './config/theme'
|
||||
import plugins from './config/plugins'
|
||||
|
||||
export default defineUserConfig({
|
||||
base: "/IT4C.dev/",
|
||||
...meta,
|
||||
theme,
|
||||
plugins,
|
||||
})
|
||||
10
docs/.vuepress/config.js
Normal file
10
docs/.vuepress/config.js
Normal file
@ -0,0 +1,10 @@
|
||||
import { defineUserConfig } from 'vuepress'
|
||||
import meta from './config/meta'
|
||||
import theme from './config/theme'
|
||||
import plugins from './config/plugins'
|
||||
|
||||
export default defineUserConfig({
|
||||
...meta,
|
||||
theme,
|
||||
plugins,
|
||||
})
|
||||
7
docs/.vuepress/config/meta.js
Normal file
7
docs/.vuepress/config/meta.js
Normal file
@ -0,0 +1,7 @@
|
||||
export default {
|
||||
title: 'Ocelot-Social',
|
||||
// description: 'Free and open-source social network for active citizenship.',
|
||||
head: [
|
||||
['meta', {name: 'viewport', content: 'width=device-width,initial-scale=1'}]
|
||||
],
|
||||
}
|
||||
18
docs/.vuepress/config/plugins.js
Normal file
18
docs/.vuepress/config/plugins.js
Normal file
@ -0,0 +1,18 @@
|
||||
import { searchProPlugin } from 'vuepress-plugin-search-pro'
|
||||
|
||||
export default [
|
||||
searchProPlugin({
|
||||
indexContent: true,
|
||||
autoSuggestions: true,
|
||||
customFields: [
|
||||
{
|
||||
getter: (page) => page.frontmatter.category,
|
||||
formatter: "Category: $content",
|
||||
},
|
||||
{
|
||||
getter: (page) => page.frontmatter.tag,
|
||||
formatter: "Tag: $content",
|
||||
},
|
||||
],
|
||||
}),
|
||||
]
|
||||
36
docs/.vuepress/config/theme.js
Normal file
36
docs/.vuepress/config/theme.js
Normal file
@ -0,0 +1,36 @@
|
||||
import { hopeTheme } from 'vuepress-theme-hope'
|
||||
|
||||
export default hopeTheme({
|
||||
favicon: 'favicon.ico',
|
||||
logo: '/logo.svg',
|
||||
docsRepo: 'https://github.com/Ocelot-Social-Community/ocelot.social',
|
||||
docsBranch: 'master',
|
||||
docsDir: 'docs',
|
||||
editLink: true,
|
||||
lastUpdated: false,
|
||||
contributors: false,
|
||||
displayFooter: true,
|
||||
print: false,
|
||||
copyright: 'CC BY busFaktor() e.V. & Authors',
|
||||
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/' },
|
||||
{ text: 'Demo', link: 'https://stage.ocelot.social/' },
|
||||
{
|
||||
text: 'Github',
|
||||
link: 'https://github.com/Ocelot-Social-Community'
|
||||
},
|
||||
],
|
||||
plugins: {
|
||||
mdEnhance: {
|
||||
align: true,
|
||||
demo: true,
|
||||
imgLazyload: true,
|
||||
imgMark: true,
|
||||
imgSize: true,
|
||||
sub: true,
|
||||
sup: true,
|
||||
vPre: true,
|
||||
}
|
||||
}
|
||||
})
|
||||
BIN
docs/.vuepress/public/favicon.ico
Normal file
BIN
docs/.vuepress/public/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
65
docs/.vuepress/public/logo-squared.svg
Normal file
65
docs/.vuepress/public/logo-squared.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 28 KiB |
65
docs/.vuepress/public/logo.svg
Normal file
65
docs/.vuepress/public/logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 28 KiB |
1
docs/.vuepress/styles/palette.scss
Normal file
1
docs/.vuepress/styles/palette.scss
Normal file
@ -0,0 +1 @@
|
||||
$theme-color: #17b53f;
|
||||
13
docs/README.md
Normal file
13
docs/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
home: true
|
||||
# layout: BlogHome
|
||||
icon: home
|
||||
title: Ocelot-Social
|
||||
heroFullScreen: false
|
||||
heroImage: /logo.svg
|
||||
heroText: Free and open-source social network for active citizenship.
|
||||
tagLine:
|
||||
# actions:
|
||||
# - text: Demo
|
||||
# link: https://stage.ocelot.social/
|
||||
---
|
||||
Loading…
x
Reference in New Issue
Block a user