diff --git a/nginx.conf b/nginx.conf index b6c999e..7e1af4a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,7 +5,7 @@ error_log /var/log/nginx/error.log; pid /var/run/nginx.pid; #daemon off; -events { +events {< worker_connections 1024; } diff --git a/package.json b/package.json index f19dea4..750c376 100755 --- a/package.json +++ b/package.json @@ -12,12 +12,18 @@ "dev": "vuepress dev src", "build": "vuepress build src" }, - "license": "MIT", "devDependencies": { - "vuepress": "^1.5.3" + "dart-sass": "^1.25.0", + "sass": "^1.54.9", + "sass-loader": "^10.3.1", + "vuepress": "^1.5.3", + "webpack": "^4.46.0" }, "dependencies": { - "@vue-a11y/dark-mode": "^1.1.1", - "vuepress-theme-default-vue-a11y": "^0.1.15" + "@vuepress/plugin-search": "^1.9.7", + "@vuepress/theme-default": "^1.9.7", + "bootstrap": "^5.2.1", + "bootstrap-darkmode": "^5.0.1", + "bootstrap-icons": "^1.9.1" } } diff --git a/src/.vuepress/assets/fonts/roboto-mono-v22-latin-100.woff b/src/.vuepress/assets/fonts/roboto-mono-v22-latin-100.woff new file mode 100644 index 0000000..814ec26 Binary files /dev/null and b/src/.vuepress/assets/fonts/roboto-mono-v22-latin-100.woff differ diff --git a/src/.vuepress/assets/fonts/roboto-mono-v22-latin-100.woff2 b/src/.vuepress/assets/fonts/roboto-mono-v22-latin-100.woff2 new file mode 100644 index 0000000..a2ed61e Binary files /dev/null and b/src/.vuepress/assets/fonts/roboto-mono-v22-latin-100.woff2 differ diff --git a/src/.vuepress/assets/fonts/roboto-mono-v22-latin-regular.woff b/src/.vuepress/assets/fonts/roboto-mono-v22-latin-regular.woff new file mode 100644 index 0000000..be3eb4c Binary files /dev/null and b/src/.vuepress/assets/fonts/roboto-mono-v22-latin-regular.woff differ diff --git a/src/.vuepress/assets/fonts/roboto-mono-v22-latin-regular.woff2 b/src/.vuepress/assets/fonts/roboto-mono-v22-latin-regular.woff2 new file mode 100644 index 0000000..f8894ba Binary files /dev/null and b/src/.vuepress/assets/fonts/roboto-mono-v22-latin-regular.woff2 differ diff --git a/src/.vuepress/components/FolderList.vue b/src/.vuepress/components/FolderList.vue new file mode 100644 index 0000000..18aed86 --- /dev/null +++ b/src/.vuepress/components/FolderList.vue @@ -0,0 +1,43 @@ + + + + + diff --git a/src/.vuepress/components/HomeContent.vue b/src/.vuepress/components/HomeContent.vue new file mode 100644 index 0000000..279fde4 --- /dev/null +++ b/src/.vuepress/components/HomeContent.vue @@ -0,0 +1,46 @@ + + + + + \ No newline at end of file diff --git a/src/.vuepress/components/TableOfContents.vue b/src/.vuepress/components/TableOfContents.vue new file mode 100644 index 0000000..5d5dfb5 --- /dev/null +++ b/src/.vuepress/components/TableOfContents.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/src/.vuepress/components/ToggleDarkMode.vue b/src/.vuepress/components/ToggleDarkMode.vue deleted file mode 100644 index 161951c..0000000 --- a/src/.vuepress/components/ToggleDarkMode.vue +++ /dev/null @@ -1,27 +0,0 @@ - - - diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index 93cf889..7142655 100755 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -1,61 +1,40 @@ -const { description } = require('../../package') - module.exports = { - /** - * Ref:https://v1.vuepress.vuejs.org/config/#title - */ title: 'Strobe Town', - /** - * Ref:https://v1.vuepress.vuejs.org/config/#description - */ - description: description, - - /** - * Extra tags to be injected to the page HTML `` - * - * ref:https://v1.vuepress.vuejs.org/config/#head - */ + description: 'stunning events', head: [ - ['meta', { name: 'theme-color', content: '#2e454d' }], + ['meta', { name: 'theme-color', content: '#3eaf7c' }], ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }], ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }] ], - - /** - * Theme configuration, here is the default theme configuration for VuePress. - * - * ref:https://v1.vuepress.vuejs.org/theme/default-theme-config.html - */ - theme: 'vuepress-theme-default-vue-a11y', + markdown: { + anchor: { permalink: false }, + extendMarkdown: md => { + md.set({ breaks: true }); + } + }, + dest: "./dist", themeConfig: { + repo: '', editLinks: false, docsDir: '', editLinkText: '', lastUpdated: false, - //logo: '/assets/img/logo.png', - defaultMode: 'sepia', + searchMaxSuggestions: 10, + searchHotkeys: ['s', 'k', '/'], + searchPlaceholder: 'Ctrl + S', + test: [/.+.md/], nav: [ { - text: 'Events', - link: '/events/', + text: 'events', + link: '/events', }, { - text: 'About us', - link: '/about-us/' + text: 'about us', + link: '/about-us', }, - { - text: 'Tickets', - link: 'https://tickets.strobe.town' - } ], - sidebar: {} }, - - /** - * Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/ - */ plugins: [ - '@vuepress/plugin-back-to-top', - '@vuepress/plugin-medium-zoom', - ] + '@vuepress/plugin-search', + ], } diff --git a/src/.vuepress/enhanceApp.js b/src/.vuepress/enhanceApp.js index 8452a86..b18dedf 100755 --- a/src/.vuepress/enhanceApp.js +++ b/src/.vuepress/enhanceApp.js @@ -1,8 +1,4 @@ -/** - * Client app enhancement file. - * - * https://v1.vuepress.vuejs.org/guide/basic-config.html#app-level-enhancements - */ +const matchPath = /(?|.+)\/(?[-_\w]+)(?|\/|\.html|\.md)$/; export default ({ Vue, // the version of Vue being used in the VuePress app @@ -10,5 +6,15 @@ export default ({ router, // the router instance for the app siteData // site metadata }) => { - // ...apply enhancements for the site. + router.beforeEach((to, from, next) => { + if (!to.name) { + const { filename } = to.fullPath.match(matchPath).groups; + next( + siteData.pages + .find((page) => page.regularPath.match(matchPath)?.groups?.filename === filename) + ?.regularPath + ); + } + next(); + }); } diff --git a/src/.vuepress/styles/index.styl b/src/.vuepress/styles/index.styl index dee423e..c35e3a7 100755 --- a/src/.vuepress/styles/index.styl +++ b/src/.vuepress/styles/index.styl @@ -1,9 +1,3 @@ -/** - * Custom Styles here. - * - * ref:https://v1.vuepress.vuejs.org/config/#index-styl - */ - .home .hero img max-width 600px!important width 100% diff --git a/src/.vuepress/styles/palette.styl b/src/.vuepress/styles/palette.styl index 110bc56..ad36b3e 100755 --- a/src/.vuepress/styles/palette.styl +++ b/src/.vuepress/styles/palette.styl @@ -1,9 +1,3 @@ -/** - * Custom palette here. - * - * ref:https://v1.vuepress.vuejs.org/zh/config/#palette-styl - */ - $accentColor = #399d9d $textColor = #2c3e50 $borderColor = #eaecef diff --git a/src/.vuepress/theme/Layout.vue b/src/.vuepress/theme/Layout.vue new file mode 100644 index 0000000..9c4e487 --- /dev/null +++ b/src/.vuepress/theme/Layout.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/src/.vuepress/theme/NotFound.vue b/src/.vuepress/theme/NotFound.vue new file mode 100644 index 0000000..402bfc6 --- /dev/null +++ b/src/.vuepress/theme/NotFound.vue @@ -0,0 +1,14 @@ + + + diff --git a/src/.vuepress/theme/SiteFooter.vue b/src/.vuepress/theme/SiteFooter.vue new file mode 100644 index 0000000..12453e0 --- /dev/null +++ b/src/.vuepress/theme/SiteFooter.vue @@ -0,0 +1,7 @@ + + + diff --git a/src/.vuepress/theme/SiteHeader.vue b/src/.vuepress/theme/SiteHeader.vue new file mode 100644 index 0000000..4c69cd4 --- /dev/null +++ b/src/.vuepress/theme/SiteHeader.vue @@ -0,0 +1,66 @@ + + + + + diff --git a/src/.vuepress/theme/fonts.css b/src/.vuepress/theme/fonts.css new file mode 100644 index 0000000..c462dbc --- /dev/null +++ b/src/.vuepress/theme/fonts.css @@ -0,0 +1,19 @@ +/* roboto-mono-100 - latin */ +@font-face { + font-family: 'Roboto Mono'; + font-style: normal; + font-weight: 100; + src: local(''), + url('../assets/fonts/roboto-mono-v22-latin-100.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../assets/fonts/roboto-mono-v22-latin-100.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* roboto-mono-regular - latin */ +@font-face { + font-family: 'Roboto Mono'; + font-style: normal; + font-weight: 400; + src: local(''), + url('../assets/fonts/roboto-mono-v22-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../assets/fonts/roboto-mono-v22-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} diff --git a/src/.vuepress/theme/main.scss b/src/.vuepress/theme/main.scss new file mode 100644 index 0000000..a4bd31c --- /dev/null +++ b/src/.vuepress/theme/main.scss @@ -0,0 +1,41 @@ +$dark-body-bg: #1f262b; + +@import "bootstrap/scss/bootstrap"; +@import "bootstrap-darkmode/scss/darktheme"; +@import "fonts.css"; + + + + +html, body { + background-color: $dark-body-bg; + line-break: loose; + word-break: break-word; + font-family: "Roboto Mono", monospace; +} + +img { + max-width: 100% !important; + border-radius: .25rem; +} + +table { + @extend .table; +} + +.search-box{ + input { + background-color: $dark !important; + color: $light !important; + } +} + +h1, h2, h3, h4, h5 { + margin-top: 1em; +} + +:not(pre) > code { + background-color: #aaa2; + border-radius: .4rem; + padding: .2rem .4rem; +} diff --git a/src/about-us/README.md b/src/about-us/README.md index f509687..23f5edf 100755 --- a/src/about-us/README.md +++ b/src/about-us/README.md @@ -1,5 +1,5 @@ --- -sidebar: auto +sidebar: false --- # About us diff --git a/src/events/README.md b/src/events/README.md index 9e75ac3..ff9b6b7 100755 --- a/src/events/README.md +++ b/src/events/README.md @@ -1,46 +1,20 @@ --- -sidebar: auto +sidebar: true +toc: true --- -Events -=== -## Strobe Night - Alte Meierei Kiel - 16. July 2022 - -event image - -to the ticket section → - -### When? -16th July 2022 (2022-07-16) - -### Time plan -**(in progress...)** -| Time | DJ | notes | -| - | - | - | -| 19:30 | 0xADB | Entry / warm up | -| 20:00 | * | Beginn - Club House | -| 22:00 | * | Progressive House | -| 0:00 | 0xADB | DnB | -| 1:00 | * | Trap | -| 2:00 | 0xADB | Trance & Techno | -| 5:00 | * | GOA / Psytrance | -| 6:00 | * | open End: minimal Techno | - -\* planning in progress - just send us an email ([info@strobe.town](mailto:info@strobe.town)), if you want to play - -### Where? -**Alte Meierei**, Hornheimer Weg 2, 24113 Kiel, Germany - - - -### Get Tickets - - -[tickets.strobe.town](https://tickets.strobe.town/adb/strobe-night-alte-meierei-kiel-2022-07-16/) - -We offer our tickets **for free**! - -But **the event heavily relies on your donations**. You can set the amount you are willing to pay at out ticket store. (We will collect your donations at the entry of the event.) -Please help us organize the event and secure a ticket **early**. - -Get Ticket +# Events + +We are Strobe Town + + +
+
{{ page.title }}
+
+ + + +

{{ page.frontmatter.excerpt }}

+
+
+
diff --git a/src/events/strobe-night-alte-meierei-kiel-16-juni-2022.md b/src/events/strobe-night-alte-meierei-kiel-16-juni-2022.md new file mode 100755 index 0000000..fb179fe --- /dev/null +++ b/src/events/strobe-night-alte-meierei-kiel-16-juni-2022.md @@ -0,0 +1,48 @@ +--- +sidebar: true +excerpt: "techno event in Kiel" +imgSrc: "/images/9v2MusLZ.png" +toc: true +date: 2022-07-16 +--- +# Strobe Night - 16. July 2022 + +event image + +to the ticket section → + +## When? +16th July 2022 (2022-07-16) + +## Time plan +**(in progress...)** +| Time | DJ | notes | +| - | - | - | +| 19:30 | 0xADB | Entry / warm up | +| 20:00 | * | Beginn - Club House | +| 22:00 | * | Progressive House | +| 0:00 | 0xADB | DnB | +| 1:00 | * | Trap | +| 2:00 | 0xADB | Trance & Techno | +| 5:00 | * | GOA / Psytrance | +| 6:00 | * | open End: minimal Techno | + +\* planning in progress - just send us an email ([info@strobe.town](mailto:info@strobe.town)), if you want to play + +## Where? +**Alte Meierei**, Hornheimer Weg 2, 24113 Kiel, Germany + + + +## Get Tickets + + +[tickets.strobe.town](https://tickets.strobe.town/adb/strobe-night-alte-meierei-kiel-2022-07-16/) + +We offer our tickets **for free**! + +But **the event heavily relies on your donations**. You can set the amount you are willing to pay at out ticket store. (We will collect your donations at the entry of the event.) +Please help us organize the event and secure a ticket **early**. + + +Get Ticket diff --git a/src/events/strobe-night-alte-meierei-kiel-26-november-2022.md b/src/events/strobe-night-alte-meierei-kiel-26-november-2022.md new file mode 100755 index 0000000..afd3c58 --- /dev/null +++ b/src/events/strobe-night-alte-meierei-kiel-26-november-2022.md @@ -0,0 +1,38 @@ +--- +sidebar: true +excerpt: "techno event in Kiel" +imgSrc: "/images/9v2MusLZ.png" +toc: true +date: 2022-11-26 +--- +# Strobe Night - 25. November 2022 + +event image + +## When? +26th November 2022 (2022-11-26) + +## Time plan +**(in progress...)** + +
+ planning in progress - just send us an email + (info@strobe.town), + if you want to play +
+ +## Where? +**Alte Meierei**, Hornheimer Weg 2, 24113 Kiel, Germany + + + +## Get Tickets + +We offer our tickets **for free**! + +But **the event heavily relies on your donations**. You can set the amount you are willing to pay at out ticket store. (We will collect your donations at the entry of the event.) +Please help us organize the event and secure a ticket **early**. + +
+ Link to the ticket shop will come soon. +
diff --git a/src/index.md b/src/index.md index 059cbb1..e4af96e 100755 --- a/src/index.md +++ b/src/index.md @@ -1,26 +1,17 @@ --- home: true -//heroImage: /images/logo.png -heroText: Strobe Town -tagline: events you keep in mind -actionText: Events → -actionLink: /events/ -features: -- title: Music - details: We play all the good stuff, but mostly Trance, Progressive and Techno. -- title: People - details: We work together with lots of different people and DJs to provide you stunning events. -- title: Strobe - details: We love to create amazing events to make you feel the power of music. -footer: Strobe Town | Copyright © 2022 --- - -We are Strobe Town -=== +# We are Strobe Town +![logo](/images/logo.png) -## Discover: -- [Events →](/events/) - - [Stobe Night →](/events/#strobe-night-alte-meierei-kiel-16-july-2022) -- [About us →](/about-us/) - - [Music we Love →](/about-us/#what-we-love) +
+ events + about us +
+ +## Discover + + +## Events +