Commit d74e65e9 authored by Michael Apfelthaler's avatar Michael Apfelthaler

Translation Fixes

parent 982bef49
fieldLayouts:
ecfbe698-b692-470c-a78e-af101d9bdb2d:
tabs:
-
elementCondition: null
elements:
-
autocapitalize: true
autocomplete: false
autocorrect: true
class: null
disabled: false
elementCondition: null
id: null
instructions: null
label: null
max: null
min: null
name: null
orientation: null
placeholder: null
readonly: false
requirable: false
size: null
step: null
tip: null
title: null
type: craft\fieldlayoutelements\entries\EntryTitleField
uid: d9d1dc9c-7ca9-4efd-b0ce-4d7d72b2b94e
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 2e014bcb-5ee8-48d0-9e8c-33a881bda8f4 # Elements
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 0cd5fa2d-b8df-4b31-bf26-58ae052da2b2
userCondition: null
warning: null
width: 100
name: Content
uid: 63e2ea07-8a69-4803-ae13-0c199d28e64b
userCondition: null
handle: barrierefreiheit
hasTitleField: true
name: Barrierefreiheit
section: 4c93e08f-a7de-4d32-9690-0ce66b691626 # Barrierefreiheit
showStatusField: true
slugTranslationKeyFormat: null
slugTranslationMethod: site
sortOrder: 1
titleFormat: '{section.name|raw}'
titleTranslationKeyFormat: null
titleTranslationMethod: site
fieldLayouts:
dc79c767-32ac-4648-a824-34f8ec81dd6e:
tabs:
-
elementCondition: null
elements:
-
autocapitalize: true
autocomplete: false
autocorrect: true
class: null
disabled: false
elementCondition: null
id: null
instructions: null
label: null
max: null
min: null
name: null
orientation: null
placeholder: null
readonly: false
requirable: false
size: null
step: null
tip: null
title: null
type: craft\fieldlayoutelements\entries\EntryTitleField
uid: 33dd77a9-4228-480f-bbb4-7a71f3c32146
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 2e014bcb-5ee8-48d0-9e8c-33a881bda8f4 # Elements
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 93b77ebd-2e37-4fc0-a580-e2e0af82d4f3
userCondition: null
warning: null
width: 100
name: Content
uid: c07b5b19-44a3-47c6-9028-b1fc1e7df629
userCondition: null
handle: datenschutz
hasTitleField: true
name: Datenschutz
section: 9bb20228-079d-476d-be34-a82ae8bf3fb9 # Datenschutz
showStatusField: true
slugTranslationKeyFormat: null
slugTranslationMethod: site
sortOrder: 1
titleFormat: null
titleTranslationKeyFormat: null
titleTranslationMethod: site
fieldLayouts:
2f7c3872-f811-44fe-88a7-a0b6c6f32b1b:
tabs:
-
elementCondition: null
elements:
-
autocapitalize: true
autocomplete: false
autocorrect: true
class: null
disabled: false
elementCondition: null
id: null
instructions: null
label: null
max: null
min: null
name: null
orientation: null
placeholder: null
readonly: false
requirable: false
size: null
step: null
tip: null
title: null
type: craft\fieldlayoutelements\entries\EntryTitleField
uid: 381b363c-37c0-4338-87c2-2a0cd12f5e42
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 2e014bcb-5ee8-48d0-9e8c-33a881bda8f4 # Elements
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: e6f7bab7-16ae-4d3a-857c-ee6d4837e33e
userCondition: null
warning: null
width: 100
name: Content
uid: fb71e90f-caf8-45ac-ba08-797f4ffa5153
userCondition: null
handle: impressum
hasTitleField: true
name: Impressum
section: fb4964a9-20a8-457a-9102-35152477d793 # Impressum
showStatusField: true
slugTranslationKeyFormat: null
slugTranslationMethod: site
sortOrder: 1
titleFormat: null
titleTranslationKeyFormat: null
titleTranslationMethod: site
columnSuffix: null
contentColumnType: string
fieldGroup: b8422f00-5252-4da9-b455-95d5ac4235af # Global
handle: barrierefreiheit
instructions: null
name: Barrierefreiheit
searchable: false
settings:
allowSelfRelations: false
branchLimit: null
localizeRelations: false
maintainHierarchy: false
maxRelations: 1
minRelations: 1
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Entry
-
- fieldContext
- global
-
- class
- craft\elements\conditions\entries\EntryCondition
selectionLabel: null
showSiteMenu: false
sources:
- singles
targetSiteId: null
validateRelatedElements: false
viewMode: null
translationKeyFormat: null
translationMethod: site
type: craft\fields\Entries
columnSuffix: null
contentColumnType: string
fieldGroup: b8422f00-5252-4da9-b455-95d5ac4235af # Global
handle: datenschutz
instructions: null
name: Datenschutz
searchable: false
settings:
allowSelfRelations: false
branchLimit: null
localizeRelations: false
maintainHierarchy: false
maxRelations: 1
minRelations: 1
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Entry
-
- fieldContext
- global
-
- class
- craft\elements\conditions\entries\EntryCondition
selectionLabel: null
showSiteMenu: false
sources:
- singles
targetSiteId: null
validateRelatedElements: false
viewMode: null
translationKeyFormat: null
translationMethod: site
type: craft\fields\Entries
columnSuffix: null
contentColumnType: string
fieldGroup: b8422f00-5252-4da9-b455-95d5ac4235af # Global
handle: impressum
instructions: null
name: Impressum
searchable: false
settings:
allowSelfRelations: false
branchLimit: null
localizeRelations: false
maintainHierarchy: false
maxRelations: 1
minRelations: 1
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Entry
-
- fieldContext
- global
-
- class
- craft\elements\conditions\entries\EntryCondition
selectionLabel: null
showSiteMenu: false
sources:
- singles
targetSiteId: null
validateRelatedElements: false
viewMode: null
translationKeyFormat: null
translationMethod: site
type: craft\fields\Entries
fieldLayouts:
b161872e-3801-47e8-963d-e920dd6f99c0:
tabs:
-
elementCondition: null
elements:
-
elementCondition: null
fieldUid: e3aef9dc-a26f-458c-814b-86bcbc5a1e26 # Impressum
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 7ff5606e-9141-46db-b812-a1de4b03dd9c
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 9da1d3b8-5673-41b9-a9ba-53de228fe545 # Barrierefreiheit
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 844cb9ca-84ec-443e-b553-971d9415acb1
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 99fd2ecc-d59d-4f34-8c1a-7348aa226c27 # Datenschutz
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 80632a4a-cac3-4c57-b49b-e04a8f91cc7f
userCondition: null
warning: null
width: 100
name: Footer
uid: ded6f198-3a71-4a55-8315-60db688799c1
userCondition: null
handle: links
name: Links
sortOrder: 2
dateModified: 1701964577 dateModified: 1702313994
elementSources: elementSources:
craft\elements\Asset: craft\elements\Asset:
- -
...@@ -52,6 +52,7 @@ meta: ...@@ -52,6 +52,7 @@ meta:
2e014bcb-5ee8-48d0-9e8c-33a881bda8f4: Elements # Elements 2e014bcb-5ee8-48d0-9e8c-33a881bda8f4: Elements # Elements
2f276d6c-86ef-467a-af14-2374b73b69f3: 'Rich text' # Rich text 2f276d6c-86ef-467a-af14-2374b73b69f3: 'Rich text' # Rich text
4b9c175d-63e4-4230-8560-0c3d54be3d18: Videos # Videos 4b9c175d-63e4-4230-8560-0c3d54be3d18: Videos # Videos
4c93e08f-a7de-4d32-9690-0ce66b691626: Barrierefreiheit # Barrierefreiheit
5a9a170c-9780-4162-ab56-dbf793656257: Teaser # Teaser 5a9a170c-9780-4162-ab56-dbf793656257: Teaser # Teaser
5dfb2327-839b-49de-8533-1484bcc5c810: Image # Image 5dfb2327-839b-49de-8533-1484bcc5c810: Image # Image
6a8f437c-f040-4357-9376-d06d779f4b9d: 'Current Status' # Current Status 6a8f437c-f040-4357-9376-d06d779f4b9d: 'Current Status' # Current Status
...@@ -63,7 +64,9 @@ meta: ...@@ -63,7 +64,9 @@ meta:
8ca8b2b9-c18c-43ae-8fda-4da2a908ebf1: 'Background Color' # Background Color 8ca8b2b9-c18c-43ae-8fda-4da2a908ebf1: 'Background Color' # Background Color
8d8f99c1-6d5c-444d-b2be-536748581180: 'Company Info' # Company Info 8d8f99c1-6d5c-444d-b2be-536748581180: 'Company Info' # Company Info
9a71e69a-bccf-4fba-a743-e3d846202492: 'Max Width Limit' # Max Width Limit 9a71e69a-bccf-4fba-a743-e3d846202492: 'Max Width Limit' # Max Width Limit
9bb20228-079d-476d-be34-a82ae8bf3fb9: Datenschutz # Datenschutz
9bdf424f-e0e6-45d7-9e84-f12bb23210e6: Slider # Slider 9bdf424f-e0e6-45d7-9e84-f12bb23210e6: Slider # Slider
9da1d3b8-5673-41b9-a9ba-53de228fe545: Barrierefreiheit # Barrierefreiheit
9f6f218e-6133-4095-bf95-f37cba729f73: 'Max Width Limit' # Max Width Limit 9f6f218e-6133-4095-bf95-f37cba729f73: 'Max Width Limit' # Max Width Limit
9f638f3a-f979-4040-93dc-d6520d22d318: Videos # Videos 9f638f3a-f979-4040-93dc-d6520d22d318: Videos # Videos
09f14279-5c24-4955-b2be-439a0ae44c85: 'Content Grid' # Content Grid 09f14279-5c24-4955-b2be-439a0ae44c85: 'Content Grid' # Content Grid
...@@ -76,8 +79,10 @@ meta: ...@@ -76,8 +79,10 @@ meta:
47af23ae-71fc-4e71-b6be-59db26789d35: Facts # Facts 47af23ae-71fc-4e71-b6be-59db26789d35: Facts # Facts
47b72803-61d7-42f3-adce-a1fcb3ee1115: Themen # Themen 47b72803-61d7-42f3-adce-a1fcb3ee1115: Themen # Themen
83b264ed-5b44-4c03-9d73-fcb8d523bc8f: Kategorien # Kategorien 83b264ed-5b44-4c03-9d73-fcb8d523bc8f: Kategorien # Kategorien
99fd2ecc-d59d-4f34-8c1a-7348aa226c27: Datenschutz # Datenschutz
103cae2d-2d7d-43dd-b563-92b6ad45e7c4: Text # Text 103cae2d-2d7d-43dd-b563-92b6ad45e7c4: Text # Text
274f2409-7af1-4e0f-8332-b8787dbb8dbf: Home # Home 274f2409-7af1-4e0f-8332-b8787dbb8dbf: Home # Home
0359ea0d-1d7a-4f72-92be-475c37eb833c: Datenschutz # Datenschutz
379d162c-5979-483a-9582-29dc715f1932: bdk # bdk 379d162c-5979-483a-9582-29dc715f1932: bdk # bdk
486c1fd0-59d3-4e75-8949-264812aa6391: Href # Href 486c1fd0-59d3-4e75-8949-264812aa6391: Href # Href
522ac542-6fdf-42d3-bc0d-09e198bd75f9: Image # Image 522ac542-6fdf-42d3-bc0d-09e198bd75f9: Image # Image
...@@ -103,17 +108,22 @@ meta: ...@@ -103,17 +108,22 @@ meta:
b8422f00-5252-4da9-b455-95d5ac4235af: Global # Global b8422f00-5252-4da9-b455-95d5ac4235af: Global # Global
b9666ace-985d-4553-97e3-cda91399f3a0: 'Content Grid' # Content Grid b9666ace-985d-4553-97e3-cda91399f3a0: 'Content Grid' # Content Grid
b83633aa-1624-4644-a246-2cb5f5f81be9: 'EN bdk' # EN bdk b83633aa-1624-4644-a246-2cb5f5f81be9: 'EN bdk' # EN bdk
bd8b2d16-5d9f-4382-99f3-47dfb2f6e2e7: Impressum # Impressum
bd600fbe-5b75-4222-97b8-75c5210b1bb2: 'Max Width Limit' # Max Width Limit bd600fbe-5b75-4222-97b8-75c5210b1bb2: 'Max Width Limit' # Max Width Limit
bdba3344-51c2-4e93-b740-2dfcd2133430: Headline # Headline bdba3344-51c2-4e93-b740-2dfcd2133430: Headline # Headline
c6c05446-82c5-4f17-a715-6f08244c01f3: Home # Home c6c05446-82c5-4f17-a715-6f08244c01f3: Home # Home
c34bc9d5-1143-432f-b2e9-be04e0f33194: Common # Common c34bc9d5-1143-432f-b2e9-be04e0f33194: Common # Common
cb3f5b7c-b016-4966-bab0-659bbf5d76d6: Barrierefreiheit # Barrierefreiheit
d45c9db8-4931-4d1b-9e20-f0f2574904a7: 'Grid Layout' # Grid Layout d45c9db8-4931-4d1b-9e20-f0f2574904a7: 'Grid Layout' # Grid Layout
dc100381-7900-4977-9cb9-ca826016ec02: 'Max Width Limit' # Max Width Limit dc100381-7900-4977-9cb9-ca826016ec02: 'Max Width Limit' # Max Width Limit
e0b78a0d-f1f4-4ddb-bc91-055f2aac35eb: Text # Text e0b78a0d-f1f4-4ddb-bc91-055f2aac35eb: Text # Text
e3aef9dc-a26f-458c-814b-86bcbc5a1e26: Impressum # Impressum
e4c6a38f-e4c3-45fa-b751-b3199bf5b2a7: 'Background Color' # Background Color e4c6a38f-e4c3-45fa-b751-b3199bf5b2a7: 'Background Color' # Background Color
ed35c68b-5c29-4512-92d6-18bf5283b995: Logo # Logo ed35c68b-5c29-4512-92d6-18bf5283b995: Logo # Logo
f6c43733-7be4-4646-bcbe-98afacdf796e: Label # Label f6c43733-7be4-4646-bcbe-98afacdf796e: Label # Label
f49ee3ef-7623-4f86-9e96-194ac32b7b25: Images # Images f49ee3ef-7623-4f86-9e96-194ac32b7b25: Images # Images
fb4964a9-20a8-457a-9102-35152477d793: Impressum # Impressum
fde765a8-c295-4664-be44-f5e305e455c8: Links # Links
plugins: plugins:
redactor: redactor:
edition: standard edition: standard
......
siteUid: 379d162c-5979-483a-9582-29dc715f1932 # bdk
sortOrder: 2
template: themen
uriParts:
- topics
uriPattern: topics
siteUid: b83633aa-1624-4644-a246-2cb5f5f81be9 # EN bdk
sortOrder: 1
template: themen
uriParts:
- topics
uriPattern: topics
defaultPlacement: end
enableVersioning: true
handle: barrierefreiheit
name: Barrierefreiheit
propagationMethod: all
siteSettings:
379d162c-5979-483a-9582-29dc715f1932: # bdk
enabledByDefault: true
hasUrls: true
template: _singles/home.twig
uriFormat: barrierefreiheit
b83633aa-1624-4644-a246-2cb5f5f81be9: # EN bdk
enabledByDefault: true
hasUrls: true
template: _singles/home.twig
uriFormat: accessibility
type: single
defaultPlacement: end
enableVersioning: true
handle: datenschutz
name: Datenschutz
propagationMethod: all
siteSettings:
379d162c-5979-483a-9582-29dc715f1932: # bdk
enabledByDefault: true
hasUrls: true
template: _singles/home.twig
uriFormat: datenschutz
b83633aa-1624-4644-a246-2cb5f5f81be9: # EN bdk
enabledByDefault: true
hasUrls: true
template: _singles/home.twig
uriFormat: privacy
type: single
defaultPlacement: end
enableVersioning: true
handle: impressum
name: Impressum
propagationMethod: all
siteSettings:
379d162c-5979-483a-9582-29dc715f1932: # bdk
enabledByDefault: true
hasUrls: true
template: _singles/home
uriFormat: impressum
b83633aa-1624-4644-a246-2cb5f5f81be9: # EN bdk
enabledByDefault: true
hasUrls: true
template: _singles/home
uriFormat: legal-notice
type: single
...@@ -13,5 +13,5 @@ siteSettings: ...@@ -13,5 +13,5 @@ siteSettings:
enabledByDefault: true enabledByDefault: true
hasUrls: true hasUrls: true
template: themen/_entry template: themen/_entry
uriFormat: 'themen/{slug}' uriFormat: 'topics/{slug}'
type: channel type: channel
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<div class="wm-section__content"> <div class="wm-section__content">
<div class="wm-photo-credits js-wm-photo-credits" hidden=""><strong>Foto-Credits:</strong></div> <div class="wm-photo-credits js-wm-photo-credits" hidden=""><strong>Foto-Credits:</strong></div>
<ul class="wm-h-links--noline wm-u-mbxxs wm-list--reset wm-list--pipe-lg"> <ul class="wm-h-links--noline wm-u-mbxxs wm-list--reset wm-list--pipe-lg">
<li><a href="#">Impressum</a></li> <li><a href="{{links.impressum.one().url}}">{{links.impressum.one().title}}</a></li>
<li><a href="#">Datenschutz</a></li> <li><a href="{{links.datenschutz.one().url}}">{{links.datenschutz.one().title}}</a></li>
<li><a href="#">Barrierefreiheit</a></li> <li><a href="{{links.barrierefreiheit.one().url}}">{{links.barrierefreiheit.one().title}}</a></li>
</ul> </ul>
<div>© Stadt Wien, Rathaus, A-1010 Wien</div> <div>© Stadt Wien, Rathaus, A-1010 Wien</div>
</div> </div>
......
{% set baseurl = craft.app.sites.primarySite.baseUrl %} {% set asseturl = craft.app.sites.primarySite.baseUrl %}
{% set baseurl = currentSite.baseUrl %}
{% set element = (category ?? entry ?? null) %} {% set element = (category ?? entry ?? null) %}
<header class="wm-site-header js-wm-site-header wm-site-header--no-margin"> <header class="wm-site-header js-wm-site-header wm-site-header--no-margin">
<div class="wm-skip-links js-wm-skip-links wm-h-vh"><a href="#content" class="wm-btn wm-btn--small js-wm-skip-link">Zum Inhalt springen <div class="wm-skip-links js-wm-skip-links wm-h-vh"><a href="#content" class="wm-btn wm-btn--small js-wm-skip-link">Zum Inhalt springen
...@@ -7,21 +8,23 @@ ...@@ -7,21 +8,23 @@
<div class="wm-site-header__inner"> <div class="wm-site-header__inner">
<div class="wm-site-header__title"><a href="/" class="wm-link--unstyled">BDK</a></div><span class="wm-site-header__logo"><a <div class="wm-site-header__title"><a href="/" class="wm-link--unstyled">BDK</a></div><span class="wm-site-header__logo"><a
class="wm-site-header__logo-link" href="/"><span class="wm-h-vh">Startseite class="wm-site-header__logo-link" href="/"><span class="wm-h-vh">Startseite
wien.gv.at</span> <img src="{{baseurl}}/assets/logo.png"></a></span> wien.gv.at</span> <img src="{{asseturl}}/assets/logo.png"></a></span>
</div> </div>
<div data-wm-nav-main-wrapper="" class="wm-nav-wrapper wm-nav-wrapper--h wm-nav-wrapper--nebelgrau"> <div data-wm-nav-main-wrapper="" class="wm-nav-wrapper wm-nav-wrapper--h wm-nav-wrapper--nebelgrau">
<div class="wm-nav-wrapper__inner wm-nav-wrapper__inner--h"> <div class="wm-nav-wrapper__inner wm-nav-wrapper__inner--h">
<nav class="wm-nav-main wm-nav-main--h" data-wm-nav-main="true" aria-labelledby="mainnav_title"><span hidden="" <button type="button" id="hamburgermenu" class="wm-nav-main__toggle wm-nav-main-btn wm-btn--clean" data-wm-nav-main-toggle=""
id="mainnav_title">Hauptmenü</span> <button type="button" class="wm-nav-main__toggle wm-nav-main-btn wm-btn--clean" role="button" aria-expanded="false" aria-controls="nav_content"><span
data-wm-nav-main-toggle="" role="button" aria-expanded="false" aria-controls="nav_content"><span
class="wm-nav-main-btn__text wm-nav-main-btn__text--burger wm-h-vh wm-nav-main-btn__text--hidden">Menü class="wm-nav-main-btn__text wm-nav-main-btn__text--burger wm-h-vh wm-nav-main-btn__text--hidden">Menü
</span><span><svg class="wm-icon wm-nav-main-btn__icon wm-nav-main-btn__icon--open" width="28" height="28" </span><span><svg class="wm-icon wm-nav-main-btn__icon wm-nav-main-btn__icon--open" width="28" height="28"
aria-hidden="true" focusable="false"> aria-hidden="true" focusable="false">
<use xlink:href="/assets/130/icons/svg/sprite.symbol.svg#burger"></use> <use xlink:href="/assets/icons/sprite.symbol.svg#burger"></use>
</svg> <svg class="wm-icon wm-nav-main-btn__icon wm-nav-main-btn__icon--close" width="28" height="28" </svg> <svg class="wm-icon wm-nav-main-btn__icon wm-nav-main-btn__icon--close" width="28" height="28" aria-hidden="true"
aria-hidden="true" focusable="false"> focusable="false">
<use xlink:href="/assets/130/icons/svg/sprite.symbol.svg#close"></use> <use xlink:href="/assets/icons/sprite.symbol.svg#close"></use>
</svg></span></button> </svg></span></button>
<nav class="wm-nav-main wm-nav-main--h" data-wm-nav-main="true" aria-labelledby="mainnav_title" id="menu"><img id="close"
src="{{ craft.app.sites.primarySite.baseUrl }}/assets/x-lg.svg" alt="close"><span hidden=""
id="mainnav_title">Hauptmenü</span>
<div class="wm-nav-main__header" data-wm-nav-main-header=""></div> <div class="wm-nav-main__header" data-wm-nav-main-header=""></div>
<div class="wm-nav-main__inner" data-wm-nav-main-inner="" tabindex="-1"> <div class="wm-nav-main__inner" data-wm-nav-main-inner="" tabindex="-1">
<div class="wm-nav-main__content" id="nav_content"> <div class="wm-nav-main__content" id="nav_content">
...@@ -29,8 +32,7 @@ ...@@ -29,8 +32,7 @@
<ol class="wm-nav-main__list wm-nav-main__list--is-visible"> <ol class="wm-nav-main__list wm-nav-main__list--is-visible">
{% for page in nav %} {% for page in nav %}
<li> <li>
<a href="{{page.href}}" title="{{page.title}}" <a href="{{baseurl}}{{page.href}}" title="{{page.title}}" class="menu-item wm-nav-main__link">
class="menu-item wm-nav-main__link">
<span>{{page.title}}</span> <span>{{page.title}}</span>
</a> </a>
</li> </li>
......
{% extends "index" %} {% extends "index" %}
{% block content %} {% block content %}
{{entry.title}} <div class="component">
<div class="maxWidthLimit wm-row wm-rich-text">
<h1>{{entry.title}}</h1>
{{entry.richText}}
</div>
</div>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="wm-card wm-card--m wm-card--linked" data-wm-card> <div class="wm-card wm-card--m wm-card--linked" data-wm-card>
<h3 class="wm-card__heading "> <h3 class="wm-card__heading ">
<a href="{{newsElement.url}}" class="wm-card__link wm-link--unstyled "> <a href="{{newsElement.url}}" class="wm-card__link wm-link--unstyled ">
<strong>{{newsElement.title}}</strong> {{newsElement.title}}
</a> </a>
</h3> </h3>
<div class="wm-card__media "> <div class="wm-card__media ">
......
<?php <?php
return [ return [
'field.kategorien.option.abfallwirtschaftUndEntsorgung.label' => 'Abfall', 'field.kategorien.option.abfallwirtschaftUndEntsorgung.label' => 'Abfallwirtschaft- und Entsorgung',
'field.kategorien.option.bildung.label' => 'Bildung', 'field.kategorien.option.bildung.label' => 'Bildung',
'field.kategorien.option.digitalisierung.label' => 'Digitalisierung', 'field.kategorien.option.digitalisierung.label' => 'Digitalisierung',
'wastemanagementanddisposal' => 'abfallwirtschaftundentsorgung', 'wastemanagementanddisposal' => 'abfallwirtschaftundentsorgung',
......
...@@ -6,5 +6,8 @@ return [ ...@@ -6,5 +6,8 @@ return [
'field.kategorien.option.digitalisierung.label' => 'Digitalization', 'field.kategorien.option.digitalisierung.label' => 'Digitalization',
'Abfall' => 'Waste', 'Abfall' => 'Waste',
'Digitalisierung' => 'digitalization', 'Digitalisierung' => 'digitalization',
'Bildung' => 'education' 'Bildung' => 'education',
'Impressum' => 'Legal notice',
'Datenschutz' => 'Privacy',
'Barrierefreiheit' => 'Accessiblity',
]; ];
\ No newline at end of file
...@@ -9,5 +9,11 @@ return [ ...@@ -9,5 +9,11 @@ return [
'education' => 'bildung', 'education' => 'bildung',
'Abfall' => 'Waste', 'Abfall' => 'Waste',
'Digitalisierung' => 'digitalization', 'Digitalisierung' => 'digitalization',
'Bildung' => 'education' 'Bildung' => 'education',
'Impressum' => 'Legal notice',
'Datenschutz' => 'Privacy',
'Barrierefreiheit' => 'Accessiblity',
'Themen' => 'Topics',
'Mehr lesen' => 'Read more',
'Alle' => 'All',
]; ];
\ No newline at end of file
...@@ -726,7 +726,7 @@ h3 { ...@@ -726,7 +726,7 @@ h3 {
.wm-h3, .wm-h3,
h3 { h3 {
font-variation-settings: "wght" 600; font-variation-settings: "wght" 740;
font-weight: 400 font-weight: 400
} }
} }
...@@ -2001,7 +2001,6 @@ a:is([href^="http://"], [href^="https://"]):not([class]):after { ...@@ -2001,7 +2001,6 @@ a:is([href^="http://"], [href^="https://"]):not([class]):after {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
list-style: none; list-style: none;
padding: 16px 0;
gap: 8px; gap: 8px;
} }
...@@ -2974,12 +2973,6 @@ a:is([href^="http://"], [href^="https://"]):not([class]):after { ...@@ -2974,12 +2973,6 @@ a:is([href^="http://"], [href^="https://"]):not([class]):after {
margin-top: 1.5rem margin-top: 1.5rem
} }
.wm-card__content:nth-last-child(2)+* {
align-self: end;
grid-row: 4;
margin-top: 3rem
}
.wm-card__media { .wm-card__media {
aspect-ratio: 16/9; aspect-ratio: 16/9;
grid-column: 1/-1; grid-column: 1/-1;
...@@ -3001,18 +2994,23 @@ a:is([href^="http://"], [href^="https://"]):not([class]):after { ...@@ -3001,18 +2994,23 @@ a:is([href^="http://"], [href^="https://"]):not([class]):after {
} }
.wm-card__badge { .wm-card__badge {
font-weight: 600; font-weight: 400;
margin: 0 0 1rem; margin: 0;
order: -1 order: -1
} }
@supports (font-variation-settings:normal) { @supports (font-variation-settings:normal) {
.wm-card__badge { .wm-card__badge {
font-variation-settings: "wght" 600; font-variation-settings: "wght" 400;
font-weight: 400 font-weight: 400
} }
} }
.wm-badge+.wm-card__heading {
margin-top: 4px;
margin-bottom: 4px;
}
.wm-card__icon { .wm-card__icon {
background: #4b4b82; background: #4b4b82;
border-radius: 50%; border-radius: 50%;
......
...@@ -102,11 +102,6 @@ main { ...@@ -102,11 +102,6 @@ main {
z-index: 99; z-index: 99;
} }
#menu a {
color: #000;
text-decoration: none;
font-size: 1.4em;
}
.sticky #menu a { .sticky #menu a {
color: black; color: black;
...@@ -359,7 +354,7 @@ section h2 { ...@@ -359,7 +354,7 @@ section h2 {
.wm-list--pipe-lg>*+:before { .wm-list--pipe-lg>*+:before {
content: "|"; content: "|";
padding-right: 1rem; padding-right: 1.5rem;
} }
.wm-list--pipe-lg>*+* { .wm-list--pipe-lg>*+* {
...@@ -533,6 +528,31 @@ iframe { ...@@ -533,6 +528,31 @@ iframe {
background-position: center center; background-position: center center;
} }
.accordion {
display: flex;
justify-content: space-between;
width: 100%;
cursor: pointer;
}
.active+.panel {
max-height: 100%;
overflow: hidden;
}
.accordion.active .wm-icon {
rotate: 180deg;
}
.panel {
max-height: 0;
overflow: hidden;
}
.wm-nav-main__toggle {
top: auto !important;
transform: none !important;
}
.mt32 { .mt32 {
margin-top: 32px; margin-top: 32px;
...@@ -560,10 +580,6 @@ iframe { ...@@ -560,10 +580,6 @@ iframe {
gap: 30px; gap: 30px;
} }
#menu a {
font-size: 1.4em;
}
.header-content #logo, .header-content #logo,
#logo img { #logo img {
height: 36px; height: 36px;
...@@ -633,12 +649,35 @@ iframe { ...@@ -633,12 +649,35 @@ iframe {
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
z-index: 99; z-index: 1004;
box-shadow: 0 4px 8px rgba(41, 41, 41, .16);
} }
#menu a { .wm-nav-main__inner {
font-size: 1.6em; height: 100% !important;
color: #000; left: auto !important;
opacity: 1 !important;
overflow: hidden;
position: static !important;
top: auto !important;
transition: opacity .3s;
width: 100%;
}
.wm-nav-main__lists {
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.wm-nav-main__list {
display: flex !important;
align-items: center !important;
flex-direction: column !important;
}
.wm-nav-main__link {
font-size: 2.5rem;
} }
.header-content, .header-content,
......
This diff is collapsed.
import{isMedium as e,toggle_show as t,toggle_hide as s}from"./utils.min.js";const i=function(e){if(e&&(!e.id||"acc"===e.id))throw new Error('Der Wert für id darf nicht "acc" oder leer sein.');this.config=Object.assign({class:".js-wm-accordion",header_class:".js-wm-accordion-header",panel_class:".js-wm-accordion-panel",id:"acc",first_open:!1,collapse_all:!0},e),this.accordions=document.querySelectorAll(this.config.class)};i.prototype.init=function(){if(0===this.accordions.length)return;for(let t=0;t<this.accordions.length;t++){const s=this.accordions[t];this.config.first_open=!(!this.config.first_open&&!s.dataset.firstOpen),s.dataset.index=t,s.addEventListener("click",this.togglePanel.bind(this)),s.dataset.mobileOnly&&e.matches||this.createAccordion(s)}const t=this;e.addListener((function(e){const s=document.querySelectorAll(`${t.config.class}[data-mobile-only]`);if(e.matches)for(let e=0;e<s.length;e++){const i=s[e];t.destroyAccordion(i)}else for(let e=0;e<s.length;e++){const i=s[e];t.createAccordion(i)}}))},i.prototype.createAccordion=function(e){const t=e.dataset.index,s=`${this.config.id}_${t}`;if(this.headers=e.querySelectorAll(this.config.header_class),this.panels=e.querySelectorAll(this.config.panel_class),this.headers.length!==this.panels.length)throw new Error(`Die Anzahl der Header (${this.headers.length}) und Panel (${this.panels.length}) stimmt nicht überein.`);if(!this.headers.length)throw new Error(`Keine Header mit der Klasse ${this.config.header_class} gefunden.`);for(let e=0;e<this.headers.length;e++)this.header=this.headers[e],this.panel=this.panels[e],this.panelId=`${s}_p_${e}`,this.headerId=`${s}_h_${e}`,this.createHeaderButton(e),this.setupHeader(e),this.setupPanel(e);e.classList.add("wm-accordion--ready")},i.prototype.destroyAccordion=function(e){const t=e.querySelectorAll(".wm-accordion__header"),s=e.querySelectorAll(".js-wm-accordion-panel");for(let e=0;e<t.length;e++){const i=t[e],o=s[e],n=i.querySelector(".wm-accordion__button");i.innerHTML=n.innerHTML,i.classList.remove("wm-accordion__header--open"),o.classList.remove("wm-h-toggle-on-off--is-visible"),o.removeAttribute("style"),o.removeAttribute("aria-labelledby"),o.removeAttribute("role")}e.removeAttribute("data-accordion-ready")},i.prototype.createHeaderButton=function(e){const t=document.createElement("button"),s=this.header.innerHTML,i=0===e&&this.config.first_open;t.id=this.headerId,t.setAttribute("aria-expanded",i),t.setAttribute("aria-controls",this.panelId),t.innerHTML=s,t.classList.add("wm-btn--clean"),t.classList.add("wm-accordion__button"),this.header.innerHTML="",this.header.appendChild(t)},i.prototype.togglePanel=function(e){const i=e.target.closest("button");if(i&&i.matches(".wm-accordion__button")){e.preventDefault();const o=i.closest(this.config.class),n=i.parentNode,r=i.getAttribute("aria-controls"),a=document.getElementById(r);"true"===i.getAttribute("aria-expanded")?(i.setAttribute("aria-expanded",!1),s(a,(()=>{n.classList.remove("wm-accordion__header--open"),a.style.removeProperty("height")}))):("false"!==o.dataset.collapseAll&&this.config.collapse_all&&this.closeAll(o),n.classList.contains("wm-accordion__header--open")||(n.classList.add("wm-accordion__header--open"),i.setAttribute("aria-expanded",!0),t(a)))}},i.prototype.closeAll=function(e){const t=e.querySelectorAll(this.config.panel_class),i=e.querySelectorAll(this.config.header_class);for(let e=0;e<t.length;e++){const o=t[e];o.classList.contains("wm-h-toggle-on-off--is-visible")&&s(o);const n=i[e];n.classList.remove("wm-accordion__header--open"),n.querySelector("button").setAttribute("aria-expanded",!1)}},i.prototype.setupHeader=function(e){this.config.first_open&&0===e&&this.header.classList.add("wm-accordion__header--open")},i.prototype.setupPanel=function(e){if(void 0===this.panel)throw new Error("Panel "+this.panelId+" existiert nicht.");this.panel.id=this.panelId,this.panel.setAttribute("role","region"),this.panel.setAttribute("aria-labelledby",this.headerId),this.config.first_open&&0===e&&(this.panel.classList.add("wm-h-toggle-on-off--is-visible"),t(this.panel,0))};export{i as wmAccordion};
\ No newline at end of file
var menu = document.getElementById("menu")
document.getElementById("hamburgermenu").addEventListener("click", () => {
menu.style.display = "flex";
document.body.style.overflow = "hidden"
})
document.getElementById("close").addEventListener("click", () => {
menu.style.display = "none";
document.body.style.overflow = "auto"
})
var swiper = new Swiper(".mySwiper", { var swiper = new Swiper(".mySwiper", {
pagination: { pagination: {
el: ".swiper-pagination", el: ".swiper-pagination",
...@@ -23,3 +33,13 @@ document.querySelectorAll('a[href^="#"]').forEach(anchor => { ...@@ -23,3 +33,13 @@ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
}); });
}); });
}); });
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function () {
/* Toggle between adding and removing the "active" class,
to highlight the button that controls the panel */
this.classList.toggle("active");
});
}
\ No newline at end of file
var t=function(t,e){var n=null;return function(){var o=this,i=arguments;clearTimeout(n),n=setTimeout((function(){t.apply(o,i)}),e)}},e=function(t,e=300){t.classList.add("wm-h-toggle-on-off--is-visible"),o(t,e)},n=function(t,e=function(){}){i(t),window.setTimeout((function(){t.classList.remove("wm-h-toggle-on-off--is-visible"),e()}),300)};const o=(t,e)=>{const n=l(t);t.getBoundingClientRect(),t.style.height=n+"px",setTimeout((()=>{t.style.transition="none",t.style.height="auto",t.getBoundingClientRect(),t.style.transition=""}),e)},i=t=>{const e=l(t);t.style.height=e+"px",t.getBoundingClientRect(),t.style.height=0},l=t=>{t.style.height="auto";const e=t.offsetHeight;return t.style.height="",e};var a=function(t){t.classList.contains("wm-toggle__content--is-visible")?n(t):e(t)};function r(t){return Array.from(new Set(t))}const s=t=>null!=t.match(/\.(jpeg|jpg|gif|png)$/),c=t=>null!=t.match(/\.(mp4)$/),d=t=>null!=t.match(/\.(mp3|wav|ogg)$/),h=t=>{let e=t.querySelectorAll('a[href]:not([tabindex^="-"]), area[href]:not([tabindex^="-"]), input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"]), input[type="radio"]:not([disabled]):not([tabindex^="-"]), select:not([disabled]):not([tabindex^="-"]), textarea:not([disabled]):not([tabindex^="-"]), button:not([disabled]):not([tabindex^="-"]), iframe:not([tabindex^="-"]), audio[controls]:not([tabindex^="-"]), video[controls]:not([tabindex^="-"]), [contenteditable]:not([tabindex^="-"]), summary:not([tabindex^="-"]), [tabindex]:not([tabindex^="-"])');return e=Array.prototype.slice.call(e),e},u=window.matchMedia("(min-width: 768px)"),m=window.matchMedia("(min-width: 1024px)"),p=window.matchMedia("(min-width: 1115px)"),g=t=>{if(2===t.touches.length)return t.preventDefault(),!1},v=t=>t.replace(/([a-zA-Z0-9-]+):([a-zA-Z0-9-]+)/g,'"$1":"$2"'),w=(t=5)=>Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,t),f=(t,e)=>Array.prototype.indexOf.call(t,e),b=()=>{const t=document.createElement("button");t.classList.add("wm-btn--clean");const e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("viewBox","0 0 123.14 123.14"),e.setAttribute("aria-hidden","true"),e.setAttribute("xmlns","http://www.w3.org/2000/svg");const n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("fill","none"),n.setAttribute("d","M0 0h123.14v123.14H0z");const o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("fill","currentColor"),o.setAttribute("d","M103.72 23.63l-4.24-4.24-37.9 37.9-37.91-37.9-4.24 4.24 37.9 37.9-37.9 37.91 4.24 4.24 37.91-37.9 37.9 37.9 4.24-4.24-37.9-37.91 37.9-37.9z"),e.appendChild(n),e.appendChild(o);const i=document.createElement("span");return i.classList.add("wm-h-vh"),i.textContent="Schließen",t.appendChild(i),t.appendChild(e),t},y=()=>!!document.querySelector(".wm-modal--active");var x=function(){this.isIosDevice="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),this.isIosDevice&&(this.ontouchstart=null,this.ontouchmove=null),this.locked=!1,this.initialClientY=-1};x.prototype.preventDefault=function(t){var e=t||window.event;return e.touches.length>1||(e.preventDefault&&e.preventDefault(),!1)},x.prototype.isTargetElementTotallyScrolled=function(){return!!this.targetElement&&this.targetElement.scrollHeight-this.targetElement.scrollTop<=this.targetElement.clientHeight},x.prototype.handleScroll=function(t){var e=t.targetTouches[0].clientY-this.initialClientY;return this.targetElement&&0===this.targetElement.scrollTop&&e>0||this.isTargetElementTotallyScrolled()&&e<0?this.preventDefault(t):(t.stopPropagation(),!0)},x.prototype.lock=function(t){if(this.targetElement=t,this.isIosDevice){var e=this;this.targetElement.ontouchstart=function(t){1===t.targetTouches.length&&(e.initialClientY=t.targetTouches[0].clientY)},this.targetElement.ontouchmove=function(t){1===t.targetTouches.length&&e.handleScroll(t)},this.locked||(document.addEventListener("touchmove",this.preventDefault),this.locked=!0)}else{var n=window.innerWidth-document.documentElement.clientWidth;document.documentElement.style.overflow="hidden",n>0&&(document.body.style.paddingRight=n+"px")}},x.prototype.unlock=function(){this.isIosDevice?(this.ontouchstart=null,this.ontouchmove=null,this.locked&&(document.removeEventListener("touchmove",this.preventDefault,{passive:!1}),this.locked=!1)):(document.documentElement.style.removeProperty("overflow"),document.body.style.removeProperty("padding-right"))};export{x as wmBodyLock,y as isModalActive,b as closeButton,f as getNodeIndex,w as randomHash,v as normalizeJSON,g as preventPinchZoom,u as isMedium,m as isDesktop,p as isContentFull,c as isVideo,d as isAudio,s as isImage,h as getFocusableElements,a as toggle_toggle,t as throttle,r as uniq,e as toggle_show,n as toggle_hide};
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">
<path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"></path>
</svg>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment