Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(other): use vuepress theme hope #69

Merged
merged 8 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/node_modules/
/docs/.vuepress/dist/
/docs/.vuepress/.cache/
/docs/.vuepress/.temp/
/.github/webhooks/hooks.json
114 changes: 62 additions & 52 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,69 +1,79 @@
const path = require('path')
module.exports = {
import { searchProPlugin } from 'vuepress-plugin-search-pro'
import { hopeTheme } from 'vuepress-theme-hope'
import { defineUserConfig } from 'vuepress'

export default defineUserConfig({
title: 'IT Team for Change',
description: 'IT4C.dev introduces the IT Team for Change, applied Philosophy and Projects.',
head: [
['meta', {name: 'viewport', content: 'width=device-width,initial-scale=1'}]
],
theme: 'vuepress-theme-book',
themeConfig: {
theme: hopeTheme({
// logo: "/logo.png",
searchPlaceholder: "Search...",
lastUpdated: "Last Updated",
docsRepo: "https://github.com/IT4Change/IT4C.dev/",
docsRepo: "https://github.com/IT4Change/IT4C.dev",
docsBranch: 'master',
docsDir: "docs",
editLinks: true,
editLinkText: 'Edit this page on Github',
nav: [
editLink: true,
lastUpdated: false,
contributors: false,
navbar: [
{ text: 'IT4C', link: '/' },
{ text: 'Contact', link: '/contact' },
{
text: 'Github',
link:
'https://github.com/IT4Change'
link: 'https://github.com/IT4Change'
},
],
sidebar: {
'/': [
{
title: '',
collapsable: false,
sidebarDepth: 0,
children: [
['/', 'IT4C'],
['/history', 'History'],
['/contact', 'Contact']
]
},
sidebar: [
{
text: 'IT4C',
link: '/',
collapsible: false,
children: [
'/history',
'/contact'
]
},
{
text: 'Projects',
collapsible: false,
children: [
{
text: 'Gradido Software',
link: '/projects/gradido'
},
// { link: '/extras/contributing', text: 'Contributing ✨' },
// { link: '/extras/license', text: 'License 📚' },
]
},
{
text: 'People',
collapsible: false,
children: [
'/people/alexander-friedland',
'/people/hannes-heine',
{ link: '/people/mathias-lenz', text: 'Mathias Lenz' },
'/people/moriz-wahl',
'/people/ulf-gebhardt',
'/people/wolfgang-huss'
]
}
],
}),
plugins: [
searchProPlugin({
indexContent: true,
autoSuggestions: true,
customFields: [
{
title: 'Projects',
collapsable: false,
children: [
['/projects/gradido', 'Gradido'],
//['/extras/contributing', 'Contributing ✨'],
//['/extras/license', 'License 📚']
]
getter: (page) => page.frontmatter.category,
formatter: "Category: $content",
},
{
title: 'People',
collapsable: false,
children: [
['/people/alexander-friedland', 'Alexander Friedland'],
['/people/hannes-heine', 'Hannes Heine'],
['/people/mathias-lenz', 'Mathias Lenz'],
['/people/moriz-wahl', 'Moriz Wahl'],
['/people/ulf-gebhardt', 'Ulf Gebhardt'],
['/people/wolfgang-huss', 'Wolfgang Huß'],
]
getter: (page) => page.frontmatter.tag,
formatter: "Tag: $content",
},
]
},
},
configureWebpack: {
resolve: {
alias: {
'@images': path.resolve(__dirname, '../images')
}
}
},
}
],
}),
],
})
2 changes: 1 addition & 1 deletion docs/people/hannes-heine.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Presentation

![Hannes Heine](~@images/portrait/hannes-heine.jpg)
![Hannes Heine](../images/portrait/hannes-heine.jpg)

I was born in Germany and raised in France, so I speak both languages fluently. In my free time I like to play video games, do Reiki and all kind of sports.
As child, except for my interest for sports, I always excelled in sciences. In 10th grade I came across coding, the starting time was so exiting, I had the impression that I could do magic on a small device. It captivated me so much that after my graduation in 2008 (baccalauréat), I studied for 3 years in the beautiful city of Toulouse (mathematics, mechanics and informatics).
Expand Down
2 changes: 1 addition & 1 deletion docs/people/mathias-lenz.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mathias

![Mathias](~@images/portrait/ml-portrait.jpg)
![Mathias](../images/portrait/ml-portrait.jpg)

Rooted in DIY crafting and interest in language, patterns, and human connections.
In school years first self taught steps where made towards computer systems and programming.
Expand Down
2 changes: 1 addition & 1 deletion docs/people/moriz-wahl.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Moriz Wahl

![Moriz Wahl](~@images/portrait/moriz-wahl.jpg)
![Moriz Wahl](../images/portrait/moriz-wahl.jpg)

I was given a ZX81 when I was 8 years old. Since then, my
fascination for programming has never stopped.
Expand Down
2 changes: 1 addition & 1 deletion docs/people/ulf-gebhardt.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ulf Gebhardt

![Ulf Gebhardt](~@images/portrait/ulf-gebhardt.jpg)
![Ulf Gebhardt](../images/portrait/ulf-gebhardt.jpg)

Ulf is a software developer through and through. He started to program when he was 12 and kept going with it. He knows about the possibilities software and hardware have to offer and is the person to turn to when it’s time to include a new library or <!-- textlint-disable write-good --> implement<!-- textlint-enable write-good --> an algorithm. He is known to use the "Holzhammer-Methode" (brute-force approach) when it comes to solve conflicts within the team.

Expand Down
2 changes: 1 addition & 1 deletion docs/people/wolfgang-huss.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- textlint-disable write-good -->
# Wolfgang Huß

![Bild – Wolfgang Huß](~@images/portrait/Wolfgang_Huss.jpeg)
![Bild – Wolfgang Huß](../images/portrait/Wolfgang_Huss.jpeg)

<!-- Seit meinem 14. Lebensjahr, also seit Anfang 1983, beschäftige ich mich nun schon mit Programmierung.
Dabei bin ich durch mehrere Phasen interessanter technologischer Veränderungen gegangen und habe die neuen Technologien hauptsächlich autodidaktisch und in Pairing-Sitzungen erlernt. -->
Expand Down
Loading