Skip to content

Commit

Permalink
Rework imprint
Browse files Browse the repository at this point in the history
- use existing markdown files
- change path to English word imprint
- highlight colon lines in imprint
  • Loading branch information
rm-- committed Aug 8, 2023
1 parent 4de0aaa commit 8236a84
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 32 deletions.
4 changes: 2 additions & 2 deletions src/assets/markdown/imprint/imprint_left.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Verantwortlich für Inhalt und Umsetzung von eXa-online.de:
**Verantwortlich für Inhalt und Umsetzung von eXa-online.de:**


eXa-online GmbH
Expand All @@ -13,6 +13,6 @@ Fax: +49 341 8781755

[info[at]exa-online.de](mailto:[email protected])

Geschäftsführer:
**Geschäftsführer:**

Carsten Paul
10 changes: 4 additions & 6 deletions src/assets/markdown/imprint/imprint_right.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
Registergericht:
**Registergericht:**

Amtsgericht Leipzig HRB 15180


Sitz der Gesellschaft:
**Sitz der Gesellschaft:**

eXa-online GmbH

Kochstraße 138

04277 Leipzig

**Ust.-Id.Nr. gemäß §27a Umsatzsteuergesetz:**

Ust.-Id.Nr. gemäß §27a Umsatzsteuergesetz:

DE-197342272
DE-197342272
2 changes: 1 addition & 1 deletion src/components/header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div id="nav">
<HeaderBurgerMenu />
<div id="header-actions">
<atoms-button-pill @click="() => router.push({ path: '/impressum' })">
<atoms-button-pill @click="() => router.push({ path: '/imprint' })">
Kontakt
</atoms-button-pill>
<HeaderCookieButton id="cookie-button" />
Expand Down
37 changes: 14 additions & 23 deletions src/pages/impressum.vue → src/pages/imprint.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,14 @@
<div class="imprint">
<h1>Impressum</h1>
<div class="imprint-data">
<div class="imprint-data__column">
<p>Verantwortlich für Inhalt und Umsetzung von eXa-online.de:</p>
<p>eXa-online GmbH</p>
<p>Kochstraße 138</p>
<p>04277 Leipzig</p>
<p><a href="tel:+493418781754">Tel.:+49 341 8781754</a></p>
<p>Fax: +49 341 8781755</p>
<p><a href="mailto:[email protected]">info[at]exa-online.de</a></p>
<p>Geschäftsführer:</p>
<p>Carsten Paul</p>
</div>
<div class="imprint-data__column">
<p>Registergericht:</p>
<p>Amtsgericht Leipzig HRB 15180</p>
<p>Sitz der Gesellschaft:</p>
<p>eXa-online GmbH</p>
<p>Kochstraße 138</p>
<p>04277 Leipzig</p>
<p>Ust.-Id.Nr. gemäß §27a Umsatzsteuergesetz:</p>
<p>DE-197342272</p>
</div>
<vue-markdown
class="imprint-data__column"

Check warning on line 6 in src/pages/imprint.vue

View workflow job for this annotation

GitHub Actions / build-and-deploy (16.x)

Expected indentation of 8 spaces but found 6 spaces
:source="imprintLeft"

Check warning on line 7 in src/pages/imprint.vue

View workflow job for this annotation

GitHub Actions / build-and-deploy (16.x)

Expected indentation of 8 spaces but found 6 spaces
/>
<vue-markdown
class="imprint-data__column"

Check warning on line 10 in src/pages/imprint.vue

View workflow job for this annotation

GitHub Actions / build-and-deploy (16.x)

Expected indentation of 8 spaces but found 6 spaces
:source="imprintRight"

Check warning on line 11 in src/pages/imprint.vue

View workflow job for this annotation

GitHub Actions / build-and-deploy (16.x)

Expected indentation of 8 spaces but found 6 spaces
/>
</div>
<atoms-button-pill @click="() => router.push({ path: '/' })">
Zurück zur Startseite
Expand All @@ -31,10 +18,14 @@
</template>

<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render'
import { useMarkdownImport } from '~/composables/use-requires'
const router = useRouter()
</script>
const requireMarkdown = useMarkdownImport()
<script lang="ts">
const imprintLeft = requireMarkdown('imprint/imprint_left.md')
const imprintRight = requireMarkdown('imprint/imprint_right.md')
</script>

<style lang="scss" scoped>
Expand Down

0 comments on commit 8236a84

Please sign in to comment.