Commit e30e1841 authored by Michael Apfelthaler's avatar Michael Apfelthaler

Multiple Adjustements

parent 7cce1ac3
fieldLayouts:
4a191cf5-ee27-4e23-97e5-aace4c8f7b42:
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: d896b775-e94d-4f7e-ad64-1b6f046ed66b
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: 6b5a0152-a27b-4143-a073-bf5be5b81aa5
userCondition: null
warning: null
width: 100
name: Inhalt
uid: bce90d96-0f2b-4d77-be9b-eb3ed4fea7e8
userCondition: null
handle: impressum
hasTitleField: false
name: Impressum
section: 42532bd7-0e69-4993-98d9-a64bb02aa1d9 # Impressum
showStatusField: true
slugTranslationKeyFormat: null
slugTranslationMethod: site
sortOrder: 1
titleFormat: '{section.name|raw}'
titleTranslationKeyFormat: null
titleTranslationMethod: site
...@@ -95,7 +95,7 @@ fields: ...@@ -95,7 +95,7 @@ fields:
showUnpermittedVolumes: false showUnpermittedVolumes: false
uiMode: enlarged uiMode: enlarged
translationKeyFormat: null translationKeyFormat: null
translationMethod: site translationMethod: none
type: craft\redactor\Field type: craft\redactor\Field
2a1afa39-32e3-4f1f-8766-488817c00035: # Background Color 2a1afa39-32e3-4f1f-8766-488817c00035: # Background Color
columnSuffix: fclouqej columnSuffix: fclouqej
...@@ -179,7 +179,7 @@ fields: ...@@ -179,7 +179,7 @@ fields:
searchable: false searchable: false
settings: settings:
blockTypeFields: 0 blockTypeFields: 0
changedFieldIndicator: 151050073 changedFieldIndicator: 113002105
columns: columns:
__assoc__: __assoc__:
- -
...@@ -205,7 +205,7 @@ fields: ...@@ -205,7 +205,7 @@ fields:
selectionLabel: null selectionLabel: null
staticField: null staticField: null
translationKeyFormat: null translationKeyFormat: null
translationMethod: site translationMethod: none
type: verbb\supertable\fields\SuperTableField type: verbb\supertable\fields\SuperTableField
f6c43733-7be4-4646-bcbe-98afacdf796e: # Label f6c43733-7be4-4646-bcbe-98afacdf796e: # Label
columnSuffix: yrpomtfc columnSuffix: yrpomtfc
......
...@@ -224,7 +224,7 @@ fields: ...@@ -224,7 +224,7 @@ fields:
showUnpermittedVolumes: false showUnpermittedVolumes: false
uiMode: enlarged uiMode: enlarged
translationKeyFormat: null translationKeyFormat: null
translationMethod: site translationMethod: none
type: craft\redactor\Field type: craft\redactor\Field
bd600fbe-5b75-4222-97b8-75c5210b1bb2: # Max Width Limit bd600fbe-5b75-4222-97b8-75c5210b1bb2: # Max Width Limit
columnSuffix: yqedembr columnSuffix: yqedembr
...@@ -288,7 +288,7 @@ fields: ...@@ -288,7 +288,7 @@ fields:
showUnpermittedVolumes: false showUnpermittedVolumes: false
uiMode: enlarged uiMode: enlarged
translationKeyFormat: null translationKeyFormat: null
translationMethod: site translationMethod: none
type: craft\redactor\Field type: craft\redactor\Field
d45c9db8-4931-4d1b-9e20-f0f2574904a7: # Grid Layout d45c9db8-4931-4d1b-9e20-f0f2574904a7: # Grid Layout
columnSuffix: imrmyiik columnSuffix: imrmyiik
......
...@@ -5,18 +5,6 @@ fieldLayouts: ...@@ -5,18 +5,6 @@ fieldLayouts:
- -
elementCondition: null elementCondition: null
elements: elements:
-
elementCondition: null
fieldUid: 003bae58-1875-47e5-8d59-d92020375a3d # News Elements
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 56b2ec2e-8cbf-485a-90d6-a051900123fd
userCondition: null
warning: null
width: 100
- -
elementCondition: null elementCondition: null
fieldUid: dc100381-7900-4977-9cb9-ca826016ec02 # Max Width Limit fieldUid: dc100381-7900-4977-9cb9-ca826016ec02 # Max Width Limit
...@@ -93,42 +81,6 @@ fields: ...@@ -93,42 +81,6 @@ fields:
translationKeyFormat: null translationKeyFormat: null
translationMethod: none translationMethod: none
type: craft\fields\Dropdown type: craft\fields\Dropdown
003bae58-1875-47e5-8d59-d92020375a3d: # News Elements
columnSuffix: null
contentColumnType: string
fieldGroup: null
handle: newsElements
instructions: null
name: 'News Elements'
searchable: false
settings:
allowSelfRelations: false
branchLimit: null
localizeRelations: false
maintainHierarchy: false
maxRelations: null
minRelations: null
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Entry
-
- fieldContext
- global
-
- class
- craft\elements\conditions\entries\EntryCondition
selectionLabel: null
showSiteMenu: true
sources:
- 'section:8ade1e09-014f-4414-8354-936e3a3516eb' # News
targetSiteId: null
validateRelatedElements: false
viewMode: null
translationKeyFormat: null
translationMethod: site
type: craft\fields\Entries
7aa20c43-822b-4a4d-937e-e91605bdbb97: # Label 7aa20c43-822b-4a4d-937e-e91605bdbb97: # Label
columnSuffix: hbkllnnc columnSuffix: hbkllnnc
contentColumnType: text contentColumnType: text
......
...@@ -5,18 +5,6 @@ fieldLayouts: ...@@ -5,18 +5,6 @@ fieldLayouts:
- -
elementCondition: null elementCondition: null
elements: elements:
-
elementCondition: null
fieldUid: ba0a6a48-9083-4375-80c6-3067818826b3 # Channel Name
instructions: null
label: null
required: true
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 3db9fc82-094f-4e59-9b62-2926a5623332
userCondition: null
warning: null
width: 100
- -
elementCondition: null elementCondition: null
fieldUid: 566ae2e9-84c0-413c-bc03-82ce2903658d # Max Width Limit fieldUid: 566ae2e9-84c0-413c-bc03-82ce2903658d # Max Width Limit
...@@ -113,26 +101,6 @@ fields: ...@@ -113,26 +101,6 @@ fields:
translationKeyFormat: null translationKeyFormat: null
translationMethod: none translationMethod: none
type: craft\fields\Dropdown type: craft\fields\Dropdown
ba0a6a48-9083-4375-80c6-3067818826b3: # Channel Name
columnSuffix: ercvhbzr
contentColumnType: text
fieldGroup: null
handle: channelName
instructions: null
name: 'Channel Name'
searchable: false
settings:
byteLimit: null
charLimit: null
code: false
columnType: null
initialRows: 4
multiline: false
placeholder: null
uiMode: normal
translationKeyFormat: null
translationMethod: none
type: craft\fields\PlainText
e4c6a38f-e4c3-45fa-b751-b3199bf5b2a7: # Background Color e4c6a38f-e4c3-45fa-b751-b3199bf5b2a7: # Background Color
columnSuffix: lgpkogmh columnSuffix: lgpkogmh
contentColumnType: string(9) contentColumnType: string(9)
......
...@@ -159,7 +159,7 @@ fields: ...@@ -159,7 +159,7 @@ fields:
searchable: false searchable: false
settings: settings:
blockTypeFields: 0 blockTypeFields: 0
changedFieldIndicator: 1414069436 changedFieldIndicator: 349259992
columns: columns:
__assoc__: __assoc__:
- -
...@@ -185,7 +185,7 @@ fields: ...@@ -185,7 +185,7 @@ fields:
selectionLabel: null selectionLabel: null
staticField: null staticField: null
translationKeyFormat: null translationKeyFormat: null
translationMethod: site translationMethod: none
type: verbb\supertable\fields\SuperTableField type: verbb\supertable\fields\SuperTableField
handle: slider handle: slider
name: Slider name: Slider
......
...@@ -175,7 +175,7 @@ fields: ...@@ -175,7 +175,7 @@ fields:
showUnpermittedVolumes: false showUnpermittedVolumes: false
uiMode: enlarged uiMode: enlarged
translationKeyFormat: null translationKeyFormat: null
translationMethod: site translationMethod: none
type: craft\redactor\Field type: craft\redactor\Field
handle: text handle: text
name: Text name: Text
......
dateModified: 1701264253 dateModified: 1701332238
elementSources: elementSources:
craft\elements\Asset: craft\elements\Asset:
- -
...@@ -51,7 +51,6 @@ meta: ...@@ -51,7 +51,6 @@ meta:
2bc4df95-41a1-4200-b353-96b8a3327b7c: Projects # Projects 2bc4df95-41a1-4200-b353-96b8a3327b7c: Projects # Projects
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
003bae58-1875-47e5-8d59-d92020375a3d: 'News Elements' # News Elements
5a9a170c-9780-4162-ab56-dbf793656257: 'Short Description' # Short Description 5a9a170c-9780-4162-ab56-dbf793656257: 'Short Description' # Short Description
6a8f437c-f040-4357-9376-d06d779f4b9d: 'Current Status' # Current Status 6a8f437c-f040-4357-9376-d06d779f4b9d: 'Current Status' # Current Status
6e5fc1fa-0743-4b7f-aa15-b51445b4f5fa: Label # Label 6e5fc1fa-0743-4b7f-aa15-b51445b4f5fa: Label # Label
...@@ -78,9 +77,11 @@ meta: ...@@ -78,9 +77,11 @@ meta:
522ac542-6fdf-42d3-bc0d-09e198bd75f9: Image # Image 522ac542-6fdf-42d3-bc0d-09e198bd75f9: Image # Image
566ae2e9-84c0-413c-bc03-82ce2903658d: 'Max Width Limit' # Max Width Limit 566ae2e9-84c0-413c-bc03-82ce2903658d: 'Max Width Limit' # Max Width Limit
594a2aa6-6d44-4bee-91c4-0d24c5bdb3bb: maxWidthLimit # maxWidthLimit 594a2aa6-6d44-4bee-91c4-0d24c5bdb3bb: maxWidthLimit # maxWidthLimit
2501fb2c-2c71-43b6-93b0-b0b8ce8aff7d: 'Public Schema' # Public Schema
5742d887-cd6d-490d-8779-bed71db90e82: 'Background Color' # Background Color 5742d887-cd6d-490d-8779-bed71db90e82: 'Background Color' # Background Color
8867d79b-6217-4d46-bcea-0a137dc84bb6: assets # assets 8867d79b-6217-4d46-bcea-0a137dc84bb6: assets # assets
36798ac9-366e-41f9-b0b1-19fd0b3a0867: Text # Text 36798ac9-366e-41f9-b0b1-19fd0b3a0867: Text # Text
42532bd7-0e69-4993-98d9-a64bb02aa1d9: Impressum # Impressum
51182d09-919a-4d4e-a6bd-0f0bc0ecb631: Image # Image 51182d09-919a-4d4e-a6bd-0f0bc0ecb631: Image # Image
80912b23-8107-4aaa-b423-054bb77022eb: Default # Default 80912b23-8107-4aaa-b423-054bb77022eb: Default # Default
88511bdb-a301-42e1-a34e-9e94961cdf23: Slider # Slider 88511bdb-a301-42e1-a34e-9e94961cdf23: Slider # Slider
...@@ -93,7 +94,6 @@ meta: ...@@ -93,7 +94,6 @@ meta:
b60b3058-4c56-41a1-a364-795da4447e68: Text # Text b60b3058-4c56-41a1-a364-795da4447e68: Text # Text
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
ba0a6a48-9083-4375-80c6-3067818826b3: 'Channel Name' # Channel Name
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
...@@ -105,6 +105,7 @@ meta: ...@@ -105,6 +105,7 @@ meta:
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
fc534ca8-0fb4-4296-9a71-bb277a63a784: Impressum # Impressum
plugins: plugins:
redactor: redactor:
edition: standard edition: standard
......
defaultPlacement: end
enableVersioning: true
handle: impressum
name: Impressum
propagationMethod: all
siteSettings:
379d162c-5979-483a-9582-29dc715f1932: # ved.at
enabledByDefault: true
hasUrls: true
template: _singles/subpage.twig
uriFormat: impressum
type: single
changedFieldIndicator: 303250719 changedFieldIndicator: 1718681263
field: 09f14279-5c24-4955-b2be-439a0ae44c85 # Content Grid field: 09f14279-5c24-4955-b2be-439a0ae44c85 # Content Grid
fieldLayouts: fieldLayouts:
85bc6806-50dc-495a-b139-8d9f51eab5e2: 85bc6806-50dc-495a-b139-8d9f51eab5e2:
...@@ -109,5 +109,5 @@ fields: ...@@ -109,5 +109,5 @@ fields:
showUnpermittedVolumes: false showUnpermittedVolumes: false
uiMode: enlarged uiMode: enlarged
translationKeyFormat: null translationKeyFormat: null
translationMethod: site translationMethod: none
type: craft\redactor\Field type: craft\redactor\Field
changedFieldIndicator: 1794392349 changedFieldIndicator: 2006199392
field: 88511bdb-a301-42e1-a34e-9e94961cdf23 # Slider field: 88511bdb-a301-42e1-a34e-9e94961cdf23 # Slider
fieldLayouts: fieldLayouts:
c7624067-84d4-4ee0-997f-3d4cd8fa139b: c7624067-84d4-4ee0-997f-3d4cd8fa139b:
...@@ -73,7 +73,7 @@ fields: ...@@ -73,7 +73,7 @@ fields:
- class - class
- craft\elements\conditions\assets\AssetCondition - craft\elements\conditions\assets\AssetCondition
selectionLabel: null selectionLabel: null
showSiteMenu: false showSiteMenu: true
showUnpermittedFiles: false showUnpermittedFiles: false
showUnpermittedVolumes: false showUnpermittedVolumes: false
sources: '*' sources: '*'
...@@ -109,5 +109,5 @@ fields: ...@@ -109,5 +109,5 @@ fields:
showUnpermittedVolumes: false showUnpermittedVolumes: false
uiMode: enlarged uiMode: enlarged
translationKeyFormat: null translationKeyFormat: null
translationMethod: site translationMethod: none
type: craft\redactor\Field type: craft\redactor\Field
{% extends "index" %} {% extends "index" %}
{% block navigation %}
{{ include('components/navigation.twig', { 'nav': craft.entries.section('nav').all() }) }}
{% endblock %}
{% block content %} {% block content %}
{% for element in entry.elements.all() %} {% for element in entry.elements.all() %}
{{ include('components/element.twig', { 'element': element }) }} {{ include('components/element.twig', { 'element': element }) }}
......
{% extends "index" %}
{% block navigation %}
{{ include('components/navigationSubpage.twig') }}
{% endblock %}
{% block content %}
{% for element in entry.elements.all() %}
{{ include('components/element.twig', { 'element': element }) }}
{% endfor %}
{% endblock %}
\ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="footer-details"> <div class="footer-details">
<p>{{ companyInfo.address }}{{ companyInfo.companyRegisterNumber }}</p> <p>{{ companyInfo.address }}{{ companyInfo.companyRegisterNumber }}</p>
<a href="impressum.html">Impressum</a> <a href="impressum">Impressum</a>
</div> </div>
</div> </div>
</footer> </footer>
\ No newline at end of file
{% set image = element.image.one() %} {% set image = element.image.one() %}
<div class="grid grid-{{element.gridLayout}}"> <div class="grid grid-{{element.gridLayout}}">
<img src="{{image.url}}" alt="" style="width:100%; height:auto;"> <img src="{{image.url}}" alt="">
<div>{{ element.text }}</div> <div>{{ element.text }}</div>
</div> </div>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<nav id="menu"> <nav id="menu">
<img id="close" src="{{ craft.app.sites.primarySite.baseUrl }}/assets/x-lg.svg" alt="close"> <img id="close" src="{{ craft.app.sites.primarySite.baseUrl }}/assets/x-lg.svg" alt="close">
{% for page in nav %} {% for page in nav %}
<a href="{{page.href}}" title="{{page.title}}">{{page.title}}</a> <a href="{{page.href}}" title="{{page.title}}" class="menu-item">{{page.title}}</a>
{% endfor %} {% endfor %}
</nav> </nav>
</div> </div>
......
<header id="myHeader">
<div class="header-content">
<a id="logo" href="/"><img src="{{ craft.app.sites.primarySite.baseUrl }}/{{ companyInfo.logo.one().url }}" alt="VED"></a>
<img id="hamburgermenu" src="{{ craft.app.sites.primarySite.baseUrl }}/assets/list.svg" alt="menu">
</div>
</header>
\ No newline at end of file
<div class="projects"> <div class="projects">
<h2>Laufende Projekte</h2> <h2 class="component_headline">Laufende Projekte</h2>
{% for newsElement in craft.entries.section(element.channelName).currentStatus('ongoing').limit(3) %} {% for newsElement in craft.entries.section('projects').currentStatus('ongoing').limit(3) %}
{% set image = newsElement.images.one() %} {% set image = newsElement.images.one() %}
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
</div> </div>
{% endfor %} {% endfor %}
<h2>Zukünftige Projekte</h2> <h2 class="component_headline mt64">Zukünftige Projekte</h2>
{% for newsElement in craft.entries.section(element.channelName).currentStatus('future').limit(3) %} {% for newsElement in craft.entries.section('projects').currentStatus('future').limit(3) %}
{% set image = newsElement.images.one() %} {% set image = newsElement.images.one() %}
......
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
</head> </head>
<body> <body>
{% block navigation %}{% endblock %} {% block navigation %} {% endblock %}
{{ include('components/navigation.twig', { 'nav': craft.entries.section('nav').all() }) }}
<main> <main>
<div class="container"> <div class="container">
{% block content %}{% endblock %} {% block content %}{% endblock %}
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<img src="{{ craft.app.sites.primarySite.baseUrl }}/{{image.url}}" alt="{{image.title}}"> <img src="{{ craft.app.sites.primarySite.baseUrl }}/{{image.url}}" alt="{{image.title}}">
</div> </div>
<div class="news-details"> <div class="news-details">
<h3 class="news-heading">{{newsElement.title}}</h3> <h3 class="news-heading component_headline">{{newsElement.title}}</h3>
<p class="news-teaser"> <p class="news-teaser">
{{ newsElement.shortDescription|length > 100 ? newsElement.shortDescription|slice(0, 100) ~ '...' {{ newsElement.shortDescription|length > 100 ? newsElement.shortDescription|slice(0, 100) ~ '...'
:newsElement.shortDescription }} :newsElement.shortDescription }}
......
...@@ -332,12 +332,17 @@ section h2 { ...@@ -332,12 +332,17 @@ section h2 {
.grid-5050 { .grid-5050 {
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 5%; gap: 16px;
} }
.grid-2080 { .grid-2080 {
grid-template-columns: 1fr 4fr; grid-template-columns: 1fr 4fr;
gap: 5%; gap: 16px;
}
.grid img {
height: auto;
width: 100%;
} }
.team-container { .team-container {
...@@ -474,6 +479,10 @@ footer img { ...@@ -474,6 +479,10 @@ footer img {
margin-top: 32px; margin-top: 32px;
} }
.mt64 {
margin-top: 64px;
}
.mt16 { .mt16 {
margin-top: 16px; margin-top: 16px;
} }
...@@ -518,6 +527,7 @@ footer img { ...@@ -518,6 +527,7 @@ footer img {
margin: 0; margin: 0;
display: grid; display: grid;
grid-template-columns: 4fr 8fr; grid-template-columns: 4fr 8fr;
align-items: center;
} }
.news-thumbnail { .news-thumbnail {
...@@ -533,11 +543,6 @@ footer img { ...@@ -533,11 +543,6 @@ footer img {
padding: 0; padding: 0;
} }
.container {
margin: 20px auto;
width: calc(100% - 40px);
}
h1 { h1 {
font-size: 40px; font-size: 40px;
} }
...@@ -577,6 +582,7 @@ footer img { ...@@ -577,6 +582,7 @@ footer img {
#menu a { #menu a {
font-size: 1.6em; font-size: 1.6em;
color: #000;
} }
.header-content, .header-content,
...@@ -602,6 +608,7 @@ footer img { ...@@ -602,6 +608,7 @@ footer img {
background-attachment: unset; background-attachment: unset;
} }
footer .container { footer .container {
flex-direction: column-reverse; flex-direction: column-reverse;
gap: 50px; gap: 50px;
...@@ -689,6 +696,17 @@ footer img { ...@@ -689,6 +696,17 @@ footer img {
gap: 0; gap: 0;
} }
.grid {
display: flex;
flex-direction: column;
gap: 16px;
}
.grid img {
max-height: 200px;
width: auto;
}
.img-small { .img-small {
width: 20%; width: 20%;
} }
......
...@@ -9,7 +9,13 @@ document.getElementById("close").addEventListener("click", () => { ...@@ -9,7 +9,13 @@ document.getElementById("close").addEventListener("click", () => {
menu.style.display = "none"; menu.style.display = "none";
document.body.style.overflow = "auto" document.body.style.overflow = "auto"
}) })
document.querySelectorAll('.menu-item').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
menu.style.display = "none";
document.body.style.overflow = "auto"
});
});
// When the user scrolls the page, execute myFunction // When the user scrolls the page, execute myFunction
window.onscroll = function () { myFunction() }; window.onscroll = function () { myFunction() };
......
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