mirror of
https://github.com/draussenfunker/draussenfunker.github.io.git
synced 2025-12-31 08:29:17 +00:00
[FEAURE] Add basic blog system. Add first activity report
This commit is contained in:
parent
1b6f884bfb
commit
4ef40b5802
9 changed files with 361 additions and 15 deletions
39
docs/.vuepress/components/Posts.vue
Normal file
39
docs/.vuepress/components/Posts.vue
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<template>
|
||||
<div v-for="page in pages">
|
||||
<div class="page-detail">
|
||||
<router-link :to="page.path"><h2>{{ page.title }}
|
||||
<template v-if="page.frontmatter.features">
|
||||
<Badge v-for="feature in page.frontmatter.features" type="tip" :text="feature" vertical="top" />
|
||||
</template>
|
||||
</h2> </router-link>
|
||||
<img v-if="page.frontmatter.image" class="article-image" :src="page.frontmatter.image"/>
|
||||
<p>{{ page.frontmatter.description }}</p>
|
||||
<p><router-link :to="page.path">Mehr Erfahren</router-link></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</template>
|
||||
<script>
|
||||
import {usePages} from '@temp/pages'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
type: String
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
pages: []
|
||||
}
|
||||
},
|
||||
setup(props) {
|
||||
const pages = props.type ?
|
||||
usePages().filter(page => page.frontmatter.type === props.type) :
|
||||
usePages();
|
||||
console.log(pages);
|
||||
return {pages}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
@ -1,14 +1,19 @@
|
|||
const { defaultTheme } = require('@vuepress/theme-default')
|
||||
const { socialSharePlugin } = require(`vuepress-plugin-social-share`)
|
||||
|
||||
|
||||
const { registerComponentsPlugin } = require('@vuepress/plugin-register-components')
|
||||
const { path } = require('@vuepress/utils')
|
||||
const { usePagesPlugin } = require('vuepress-plugin-use-pages')
|
||||
|
||||
module.exports = {
|
||||
lang: 'de-DE',
|
||||
title: 'Draussenfunker.de | QRV im Grünen',
|
||||
description: 'Wir sind eine Gruppe von Funkamateuren die sich mit dem Thema Funken im Freien beschäftigen.',
|
||||
plugins: [
|
||||
usePagesPlugin({ startsWith: '/aktivitaeten/'}),
|
||||
socialSharePlugin(),
|
||||
registerComponentsPlugin({
|
||||
componentsDir: path.resolve(__dirname, './components'),
|
||||
})
|
||||
],
|
||||
theme: defaultTheme({
|
||||
sidebarDepth: 2,
|
||||
|
|
@ -22,6 +27,10 @@ module.exports = {
|
|||
text: 'Start',
|
||||
link: '/',
|
||||
},
|
||||
{
|
||||
text: 'Aktivitäten',
|
||||
link: '/aktivitaeten',
|
||||
},
|
||||
{
|
||||
text: 'DIY',
|
||||
children: [
|
||||
|
|
@ -33,10 +42,6 @@ module.exports = {
|
|||
text: 'Wissenswertes',
|
||||
children: ['/wissenswertes/amateurfunk', '/wissenswertes/ausbreitung'],
|
||||
},
|
||||
{
|
||||
text: 'Blog',
|
||||
link: '/blog',
|
||||
}
|
||||
],
|
||||
}),
|
||||
}
|
||||
|
|
|
|||
BIN
docs/.vuepress/public/images/aktivitaeten/antenne-im-grass.jpeg
Normal file
BIN
docs/.vuepress/public/images/aktivitaeten/antenne-im-grass.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2 MiB |
|
|
@ -3,3 +3,14 @@
|
|||
display: inline-block;
|
||||
}
|
||||
}
|
||||
.video-block {
|
||||
position: relative;
|
||||
padding-bottom: 56.25%; /* 16:9 */
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
width: 100%; height: auto;}
|
||||
|
||||
.video-block iframe {
|
||||
position: absolute;
|
||||
top: 0; left: 0;
|
||||
width: 100%; height: 100%;}
|
||||
|
|
|
|||
25
docs/aktivitaeten/DA-0138-2022-08-13.md
Normal file
25
docs/aktivitaeten/DA-0138-2022-08-13.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
title: Aktivierung von DA-0138
|
||||
description:
|
||||
Am 13.08.2022 haben DO4HAA und DG7PX sich aufgemacht portable Betrieb in Hamburger Weisterweiden zu machen.
|
||||
Mit dabei als Kamerakind war DG7LAN. Herausegekommen ist ein tolles Video, ein paar schön DX Verbindunge und jede Menge Spass.
|
||||
type: activity
|
||||
image: /images/aktivitaeten/antenne-im-grass.jpeg
|
||||
features:
|
||||
- POTA
|
||||
- video
|
||||
---
|
||||
# Aktivierung von DA-0138
|
||||
Am 13.08.2022 haben DO4HAA und DG7PX sich aufgemacht portable Betrieb in Hamburger Weisterweiden zu machen.
|
||||
Mit dabei als Kamerakind war DG7LAN. Herausegekommen ist ein tolles Video, ein paar schön DX Verbindunge und jede Menge Spass.
|
||||
|
||||
## Video
|
||||
<div class="video-block">
|
||||
<iframe max-width=100% height=auto src="https://www.youtube.com/embed/GsOL3xUBM6Y" title="Amateurfunk POTA Parks on the air - DA-0138 portabel mit DG7PX / DO4HAA" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
</div>
|
||||
|
||||
## Equpiment
|
||||
- YEASU FT 891
|
||||
- [2 x EREMIT 6Ah](https://www.eremit.de/p/eremit-systemstecker-bis-60a-12ah-komplett-set-powerpole)
|
||||
- [DIY 1/4 Wellen Vertical Antenne](/diy/teleskop-viertelwellen-vertical.html)
|
||||
|
||||
8
docs/aktivitaeten/index.md
Normal file
8
docs/aktivitaeten/index.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
sidebar: false
|
||||
---
|
||||
# Aktvititäten
|
||||
|
||||
<posts type="activity" />
|
||||
|
||||
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# Hello World!
|
||||
|
||||
Kein Blog kommt ohne den obligatorischen "Hello World" Beitrag aus.
|
||||
Loading…
Add table
Add a link
Reference in a new issue