Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
ved
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hebotek
ved
Commits
e30e1841
Commit
e30e1841
authored
Nov 30, 2023
by
Michael Apfelthaler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Multiple Adjustements
parent
7cce1ac3
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
153 additions
and
114 deletions
+153
-114
impressum--fc534ca8-0fb4-4296-9a71-bb277a63a784.yaml
...ypes/impressum--fc534ca8-0fb4-4296-9a71-bb277a63a784.yaml
+58
-0
2501fb2c-2c71-43b6-93b0-b0b8ce8aff7d.yaml
...graphql/schemas/2501fb2c-2c71-43b6-93b0-b0b8ce8aff7d.yaml
+2
-0
contentGrid--b9666ace-985d-4553-97e3-cda91399f3a0.yaml
...es/contentGrid--b9666ace-985d-4553-97e3-cda91399f3a0.yaml
+3
-3
imageAndText--39e79cd4-9bd8-4883-ada1-f4d648486fe2.yaml
...s/imageAndText--39e79cd4-9bd8-4883-ada1-f4d648486fe2.yaml
+2
-2
news--47af23ae-71fc-4e71-b6be-59db26789d35.yaml
...lockTypes/news--47af23ae-71fc-4e71-b6be-59db26789d35.yaml
+0
-48
projects--47b72803-61d7-42f3-adce-a1fcb3ee1115.yaml
...Types/projects--47b72803-61d7-42f3-adce-a1fcb3ee1115.yaml
+0
-32
slider--9bdf424f-e0e6-45d7-9e84-f12bb23210e6.yaml
...ckTypes/slider--9bdf424f-e0e6-45d7-9e84-f12bb23210e6.yaml
+2
-2
text--103cae2d-2d7d-43dd-b563-92b6ad45e7c4.yaml
...lockTypes/text--103cae2d-2d7d-43dd-b563-92b6ad45e7c4.yaml
+1
-1
project.yaml
config/project/project.yaml
+4
-3
impressum--42532bd7-0e69-4993-98d9-a64bb02aa1d9.yaml
...ions/impressum--42532bd7-0e69-4993-98d9-a64bb02aa1d9.yaml
+12
-0
8dc2a500-e6b4-4aa7-b02e-807ed99af6a5.yaml
...TableBlockTypes/8dc2a500-e6b4-4aa7-b02e-807ed99af6a5.yaml
+2
-2
ba47d4d6-b44c-4097-9cdb-20cb9fd0ae53.yaml
...TableBlockTypes/ba47d4d6-b44c-4097-9cdb-20cb9fd0ae53.yaml
+3
-3
home.twig
templates/_singles/home.twig
+4
-0
subpage.twig
templates/_singles/subpage.twig
+11
-0
footer.twig
templates/components/footer.twig
+1
-1
imageAndText.twig
templates/components/imageAndText.twig
+1
-1
navigation.twig
templates/components/navigation.twig
+1
-1
navigationSubpage.twig
templates/components/navigationSubpage.twig
+8
-0
projects.twig
templates/components/projects.twig
+4
-4
index.twig
templates/index.twig
+1
-2
index.twig
templates/projects/index.twig
+1
-1
style.css
web/assets/css/style.css
+25
-7
menu.js
web/assets/js/menu.js
+7
-1
No files found.
config/project/entryTypes/impressum--fc534ca8-0fb4-4296-9a71-bb277a63a784.yaml
0 → 100644
View file @
e30e1841
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
config/project/graphql/schemas/2501fb2c-2c71-43b6-93b0-b0b8ce8aff7d.yaml
0 → 100644
View file @
e30e1841
isPublic
:
true
name
:
'
Public
Schema'
config/project/matrixBlockTypes/contentGrid--b9666ace-985d-4553-97e3-cda91399f3a0.yaml
View file @
e30e1841
...
...
@@ -95,7 +95,7 @@ fields:
showUnpermittedVolumes
:
false
uiMode
:
enlarged
translationKeyFormat
:
null
translationMethod
:
sit
e
translationMethod
:
non
e
type
:
craft\redactor\Field
2a1afa39-32e3-4f1f-8766-488817c00035
:
# Background Color
columnSuffix
:
fclouqej
...
...
@@ -179,7 +179,7 @@ fields:
searchable
:
false
settings
:
blockTypeFields
:
0
changedFieldIndicator
:
1
51050073
changedFieldIndicator
:
1
13002105
columns
:
__assoc__
:
-
...
...
@@ -205,7 +205,7 @@ fields:
selectionLabel
:
null
staticField
:
null
translationKeyFormat
:
null
translationMethod
:
sit
e
translationMethod
:
non
e
type
:
verbb\supertable\fields\SuperTableField
f6c43733-7be4-4646-bcbe-98afacdf796e
:
# Label
columnSuffix
:
yrpomtfc
...
...
config/project/matrixBlockTypes/imageAndText--39e79cd4-9bd8-4883-ada1-f4d648486fe2.yaml
View file @
e30e1841
...
...
@@ -224,7 +224,7 @@ fields:
showUnpermittedVolumes
:
false
uiMode
:
enlarged
translationKeyFormat
:
null
translationMethod
:
sit
e
translationMethod
:
non
e
type
:
craft\redactor\Field
bd600fbe-5b75-4222-97b8-75c5210b1bb2
:
# Max Width Limit
columnSuffix
:
yqedembr
...
...
@@ -288,7 +288,7 @@ fields:
showUnpermittedVolumes
:
false
uiMode
:
enlarged
translationKeyFormat
:
null
translationMethod
:
sit
e
translationMethod
:
non
e
type
:
craft\redactor\Field
d45c9db8-4931-4d1b-9e20-f0f2574904a7
:
# Grid Layout
columnSuffix
:
imrmyiik
...
...
config/project/matrixBlockTypes/news--47af23ae-71fc-4e71-b6be-59db26789d35.yaml
View file @
e30e1841
...
...
@@ -5,18 +5,6 @@ fieldLayouts:
-
elementCondition
:
null
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
fieldUid
:
dc100381-7900-4977-9cb9-ca826016ec02
# Max Width Limit
...
...
@@ -93,42 +81,6 @@ fields:
translationKeyFormat
:
null
translationMethod
:
none
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
columnSuffix
:
hbkllnnc
contentColumnType
:
text
...
...
config/project/matrixBlockTypes/projects--47b72803-61d7-42f3-adce-a1fcb3ee1115.yaml
View file @
e30e1841
...
...
@@ -5,18 +5,6 @@ fieldLayouts:
-
elementCondition
:
null
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
fieldUid
:
566ae2e9-84c0-413c-bc03-82ce2903658d
# Max Width Limit
...
...
@@ -113,26 +101,6 @@ fields:
translationKeyFormat
:
null
translationMethod
:
none
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
columnSuffix
:
lgpkogmh
contentColumnType
:
string(9)
...
...
config/project/matrixBlockTypes/slider--9bdf424f-e0e6-45d7-9e84-f12bb23210e6.yaml
View file @
e30e1841
...
...
@@ -159,7 +159,7 @@ fields:
searchable
:
false
settings
:
blockTypeFields
:
0
changedFieldIndicator
:
1414069436
changedFieldIndicator
:
349259992
columns
:
__assoc__
:
-
...
...
@@ -185,7 +185,7 @@ fields:
selectionLabel
:
null
staticField
:
null
translationKeyFormat
:
null
translationMethod
:
sit
e
translationMethod
:
non
e
type
:
verbb\supertable\fields\SuperTableField
handle
:
slider
name
:
Slider
...
...
config/project/matrixBlockTypes/text--103cae2d-2d7d-43dd-b563-92b6ad45e7c4.yaml
View file @
e30e1841
...
...
@@ -175,7 +175,7 @@ fields:
showUnpermittedVolumes
:
false
uiMode
:
enlarged
translationKeyFormat
:
null
translationMethod
:
sit
e
translationMethod
:
non
e
type
:
craft\redactor\Field
handle
:
text
name
:
Text
...
...
config/project/project.yaml
View file @
e30e1841
dateModified
:
1701
264253
dateModified
:
1701
332238
elementSources
:
craft\elements\Asset
:
-
...
...
@@ -51,7 +51,6 @@ meta:
2bc4df95-41a1-4200-b353-96b8a3327b7c
:
Projects
# Projects
2e014bcb-5ee8-48d0-9e8c-33a881bda8f4
:
Elements
# Elements
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
6a8f437c-f040-4357-9376-d06d779f4b9d
:
'
Current
Status'
# Current Status
6e5fc1fa-0743-4b7f-aa15-b51445b4f5fa
:
Label
# Label
...
...
@@ -78,9 +77,11 @@ meta:
522ac542-6fdf-42d3-bc0d-09e198bd75f9
:
Image
# Image
566ae2e9-84c0-413c-bc03-82ce2903658d
:
'
Max
Width
Limit'
# Max Width Limit
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
8867d79b-6217-4d46-bcea-0a137dc84bb6
:
assets
# assets
36798ac9-366e-41f9-b0b1-19fd0b3a0867
:
Text
# Text
42532bd7-0e69-4993-98d9-a64bb02aa1d9
:
Impressum
# Impressum
51182d09-919a-4d4e-a6bd-0f0bc0ecb631
:
Image
# Image
80912b23-8107-4aaa-b423-054bb77022eb
:
Default
# Default
88511bdb-a301-42e1-a34e-9e94961cdf23
:
Slider
# Slider
...
...
@@ -93,7 +94,6 @@ meta:
b60b3058-4c56-41a1-a364-795da4447e68
:
Text
# Text
b8422f00-5252-4da9-b455-95d5ac4235af
:
Global
# Global
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
bdba3344-51c2-4e93-b740-2dfcd2133430
:
Headline
# Headline
c6c05446-82c5-4f17-a715-6f08244c01f3
:
Home
# Home
...
...
@@ -105,6 +105,7 @@ meta:
ed35c68b-5c29-4512-92d6-18bf5283b995
:
Logo
# Logo
f6c43733-7be4-4646-bcbe-98afacdf796e
:
Label
# Label
f49ee3ef-7623-4f86-9e96-194ac32b7b25
:
Images
# Images
fc534ca8-0fb4-4296-9a71-bb277a63a784
:
Impressum
# Impressum
plugins
:
redactor
:
edition
:
standard
...
...
config/project/sections/impressum--42532bd7-0e69-4993-98d9-a64bb02aa1d9.yaml
0 → 100644
View file @
e30e1841
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
config/project/superTableBlockTypes/8dc2a500-e6b4-4aa7-b02e-807ed99af6a5.yaml
View file @
e30e1841
changedFieldIndicator
:
303250719
changedFieldIndicator
:
1718681263
field
:
09f14279-5c24-4955-b2be-439a0ae44c85
# Content Grid
fieldLayouts
:
85bc6806-50dc-495a-b139-8d9f51eab5e2
:
...
...
@@ -109,5 +109,5 @@ fields:
showUnpermittedVolumes
:
false
uiMode
:
enlarged
translationKeyFormat
:
null
translationMethod
:
sit
e
translationMethod
:
non
e
type
:
craft\redactor\Field
config/project/superTableBlockTypes/ba47d4d6-b44c-4097-9cdb-20cb9fd0ae53.yaml
View file @
e30e1841
changedFieldIndicator
:
1794392349
changedFieldIndicator
:
2006199392
field
:
88511bdb-a301-42e1-a34e-9e94961cdf23
# Slider
fieldLayouts
:
c7624067-84d4-4ee0-997f-3d4cd8fa139b
:
...
...
@@ -73,7 +73,7 @@ fields:
-
class
-
craft\elements\conditions\assets\AssetCondition
selectionLabel
:
null
showSiteMenu
:
fals
e
showSiteMenu
:
tru
e
showUnpermittedFiles
:
false
showUnpermittedVolumes
:
false
sources
:
'
*'
...
...
@@ -109,5 +109,5 @@ fields:
showUnpermittedVolumes
:
false
uiMode
:
enlarged
translationKeyFormat
:
null
translationMethod
:
sit
e
translationMethod
:
non
e
type
:
craft\redactor\Field
templates/_singles/home.twig
View file @
e30e1841
{%
extends
"index"
%}
{%
block
navigation
%}
{{
include
(
'components/navigation.twig'
,
{
'nav'
:
craft.entries.section
(
'nav'
)
.
all
()
}
)
}}
{%
endblock
%}
{%
block
content
%}
{%
for
element
in
entry.elements.all
()
%}
{{
include
(
'components/element.twig'
,
{
'element'
:
element
}
)
}}
...
...
templates/_singles/subpage.twig
0 → 100644
View file @
e30e1841
{%
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
templates/components/footer.twig
View file @
e30e1841
...
...
@@ -8,7 +8,7 @@
<div
class=
"footer-details"
>
<p>
{{
companyInfo.address
}}{{
companyInfo.companyRegisterNumber
}}
</p>
<a
href=
"impressum
.html
"
>
Impressum
</a>
<a
href=
"impressum"
>
Impressum
</a>
</div>
</div>
</footer>
\ No newline at end of file
templates/components/imageAndText.twig
View file @
e30e1841
{%
set
image
=
element.image.one
()
%}
<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>
\ No newline at end of file
templates/components/navigation.twig
View file @
e30e1841
...
...
@@ -7,7 +7,7 @@
<nav
id=
"menu"
>
<img
id=
"close"
src=
"
{{
craft.app.sites.primarySite.baseUrl
}}
/assets/x-lg.svg"
alt=
"close"
>
{%
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
%}
</nav>
</div>
...
...
templates/components/navigationSubpage.twig
0 → 100644
View file @
e30e1841
<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
templates/components/projects.twig
View file @
e30e1841
<div
class=
"projects"
>
<h2>
Laufende Projekte
</h2>
{%
for
newsElement
in
craft.entries.section
(
element.channelName
)
.
currentStatus
(
'ongoing'
)
.
limit
(
3
)
%}
<h2
class=
"component_headline"
>
Laufende Projekte
</h2>
{%
for
newsElement
in
craft.entries.section
(
'projects'
)
.
currentStatus
(
'ongoing'
)
.
limit
(
3
)
%}
{%
set
image
=
newsElement.images.one
()
%}
...
...
@@ -17,8 +17,8 @@
</div>
{%
endfor
%}
<h2>
Zukünftige Projekte
</h2>
{%
for
newsElement
in
craft.entries.section
(
element.channelName
)
.
currentStatus
(
'future'
)
.
limit
(
3
)
%}
<h2
class=
"component_headline mt64"
>
Zukünftige Projekte
</h2>
{%
for
newsElement
in
craft.entries.section
(
'projects'
)
.
currentStatus
(
'future'
)
.
limit
(
3
)
%}
{%
set
image
=
newsElement.images.one
()
%}
...
...
templates/index.twig
View file @
e30e1841
...
...
@@ -11,8 +11,7 @@
</head>
<body>
{%
block
navigation
%}{%
endblock
%}
{{
include
(
'components/navigation.twig'
,
{
'nav'
:
craft.entries.section
(
'nav'
)
.
all
()
}
)
}}
{%
block
navigation
%}
{%
endblock
%}
<main>
<div
class=
"container"
>
{%
block
content
%}{%
endblock
%}
...
...
templates/projects/index.twig
View file @
e30e1841
...
...
@@ -9,7 +9,7 @@
<img
src=
"
{{
craft.app.sites.primarySite.baseUrl
}}
/
{{
image.url
}}
"
alt=
"
{{
image.title
}}
"
>
</div>
<div
class=
"news-details"
>
<h3
class=
"news-heading"
>
{{
newsElement.title
}}
</h3>
<h3
class=
"news-heading
component_headline
"
>
{{
newsElement.title
}}
</h3>
<p
class=
"news-teaser"
>
{{
newsElement.shortDescription
|
length
>
100
?
newsElement.shortDescription
|
slice
(
0
,
100
)
~
'...'
:
newsElement.shortDescription
}}
...
...
web/assets/css/style.css
View file @
e30e1841
...
...
@@ -332,12 +332,17 @@ section h2 {
.grid-5050
{
grid-template-columns
:
1
fr
1
fr
;
gap
:
5%
;
gap
:
16px
;
}
.grid-2080
{
grid-template-columns
:
1
fr
4
fr
;
gap
:
5%
;
gap
:
16px
;
}
.grid
img
{
height
:
auto
;
width
:
100%
;
}
.team-container
{
...
...
@@ -474,6 +479,10 @@ footer img {
margin-top
:
32px
;
}
.mt64
{
margin-top
:
64px
;
}
.mt16
{
margin-top
:
16px
;
}
...
...
@@ -518,6 +527,7 @@ footer img {
margin
:
0
;
display
:
grid
;
grid-template-columns
:
4
fr
8
fr
;
align-items
:
center
;
}
.news-thumbnail
{
...
...
@@ -533,11 +543,6 @@ footer img {
padding
:
0
;
}
.container
{
margin
:
20px
auto
;
width
:
calc
(
100%
-
40px
);
}
h1
{
font-size
:
40px
;
}
...
...
@@ -577,6 +582,7 @@ footer img {
#menu
a
{
font-size
:
1.6em
;
color
:
#000
;
}
.header-content
,
...
...
@@ -602,6 +608,7 @@ footer img {
background-attachment
:
unset
;
}
footer
.container
{
flex-direction
:
column-reverse
;
gap
:
50px
;
...
...
@@ -689,6 +696,17 @@ footer img {
gap
:
0
;
}
.grid
{
display
:
flex
;
flex-direction
:
column
;
gap
:
16px
;
}
.grid
img
{
max-height
:
200px
;
width
:
auto
;
}
.img-small
{
width
:
20%
;
}
...
...
web/assets/js/menu.js
View file @
e30e1841
...
...
@@ -9,7 +9,13 @@ document.getElementById("close").addEventListener("click", () => {
menu
.
style
.
display
=
"none"
;
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
window
.
onscroll
=
function
()
{
myFunction
()
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment