Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: enhance user experience and improve functionality #78

Merged
merged 5 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions content/collections/case_studies/sportfive.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ blueprint: case_study
title: 'Von der Vision zur Konversion'
teaser_text: 'Entdecke, wie wir SPORTFIVE dabei unterstützt haben, seine digitale Präsenz neu zu gestalten und eine Website zu schaffen, die nicht nur informiert, sondern aktiv zur Kundengewinnung beiträgt.'
client: 4e44b30b-df14-4025-9bfa-edc245cc0560
updated_by: 12d85a5e-1014-44db-a25a-d7a2f0a9b94e
updated_at: 1716237740
updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37
updated_at: 1716888409
modules:
-
id: lw97vzb8
Expand Down Expand Up @@ -141,12 +141,6 @@ modules:
text: ' hat sich als entscheidend für die Stärkung der Online-Präsenz und die Förderung des Geschäftswachstums erwiesen. Das positive Feedback von Kunden und internen Stakeholdern sowie die signifikante Steigerung der Conversion Rate bestätigen den Erfolg der Initiative.'
type: section_header
enabled: true
-
id: lw98yh89
quote: 'Die Website ist weit mehr als eine Visitenkarte – sie ist ein entscheidender Treiber für unser Geschäft. Durch die Neugestaltung konnten wir unsere Markenpräsenz signifikant steigern und effektiv neue Kundenbeziehungen aufbauen'
author: 'David Rothenhäuser'
type: quote
enabled: true
-
id: lw98ytvb
text:
Expand All @@ -159,6 +153,12 @@ modules:
grid_position: end
type: text
enabled: true
-
id: lw98yh89
quote: 'Die Website ist weit mehr als eine Visitenkarte – sie ist ein entscheidender Treiber für unser Geschäft. Durch die Neugestaltung konnten wir unsere Markenpräsenz signifikant steigern und effektiv neue Kundenbeziehungen aufbauen'
author: 'David Rothenhäuser, Vice President und Head of Global Marketing Communications bei SPORTFIVE'
type: quote
enabled: true
-
id: lw99cshz
headline: 'Du willst auch eine Website, die zu Deiner Strategie passt?'
Expand All @@ -168,7 +168,12 @@ modules:
content:
-
type: text
text: 'Wir helfen Dir bei Deinem Vorhaben.'
text: 'Wir helfen Dir bei Deinem Vorhaben. '
-
type: hardBreak
-
type: text
text: 'Melde Dich dazu gerne bei unserem CTO Fabian.'
person: db2dee11-1ab2-4b71-a7b1-670f575dc5dc
type: team_cta
enabled: true
Expand Down
12 changes: 10 additions & 2 deletions content/collections/pages.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
title: Pages
template: default
layout: layout
revisions: false
route: '{parent_uri}/{slug}'
sort_dir: asc
preview_targets:
-
label: Entry
url: '{permalink}'
refresh: true
structure:
root: true
route: '{parent_uri}/{slug}'
propagate: true
11 changes: 11 additions & 0 deletions content/collections/pages/calendly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
id: ff719e3b-8511-44e3-8f43-e7d3d8603990
blueprint: link
title: Calendly
redirect:
url: 'https://calendly.com/21stdigital/meeting'
status: '301'
updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37
updated_at: 1716805474
parent: home
---
18 changes: 16 additions & 2 deletions content/collections/pages/impressum.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ id: 9ebb7d6e-9675-4b4a-99da-e4da6ee5444e
blueprint: page
title: Impressum
author: c6113137-f6a8-4c20-b0bd-4c52f58ab03e
updated_by: 12d85a5e-1014-44db-a25a-d7a2f0a9b94e
updated_at: 1715944860
updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37
updated_at: 1716883974
modules:
-
id: lwal9cki
Expand Down Expand Up @@ -32,6 +32,20 @@ modules:
-
type: text
text: '20097 Hamburg'
-
type: paragraph
content:
-
type: text
marks:
-
type: link
attrs:
href: 'mailto:{{ "[email protected]" | obfuscate_email }}'
rel: 'noopener noreferrer'
target: null
title: null
text: '{{ "[email protected]" | obfuscate_email }}'
type: section_header
enabled: true
-
Expand Down
10 changes: 6 additions & 4 deletions content/collections/pages/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ id: home
blueprint: pages
title: Start
author: c6113137-f6a8-4c20-b0bd-4c52f58ab03e
updated_by: 12d85a5e-1014-44db-a25a-d7a2f0a9b94e
updated_at: 1716237682
updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37
updated_at: 1716805701
modules:
-
id: lw64lo0t
Expand Down Expand Up @@ -34,11 +34,12 @@ modules:
values:
type: button
label: 'Let’s talk'
url: 'https://calendly.com/21stdigital/meeting'
url: 'entry::ff719e3b-8511-44e3-8f43-e7d3d8603990'
add_icon: true
icon: arrow-right
icon_position: after
button_size: xl
button_size: default
open_in_new_window: true
type: section_header
enabled: true
headline_appearance: muted
Expand Down Expand Up @@ -104,4 +105,5 @@ modules:
type: contact_cta
enabled: true
button_size: default
open_in_new_window: false
---
7 changes: 4 additions & 3 deletions content/collections/team/fabian-pahl.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
id: db2dee11-1ab2-4b71-a7b1-670f575dc5dc
blueprint: team
title: 'Fabian Pahl'
updated_by: 12d85a5e-1014-44db-a25a-d7a2f0a9b94e
updated_at: 1715970526
updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37
updated_at: 1716886591
firstname: Fabian
lastname: Pahl
email: hello@21st.digital
email: fabian@21st.digital
phone: '+49 40 361 683 30'
portrait: team/fabian.jpg
calendly_url: 'https://calendly.com/21stdigital/meeting'
---
4 changes: 2 additions & 2 deletions content/collections/team/steffen-ruether.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
id: c14aeff5-98e2-43e5-bda8-444378304990
blueprint: team
title: 'Steffen Rüther'
updated_by: c6113137-f6a8-4c20-b0bd-4c52f58ab03e
updated_at: 1715877921
updated_by: 7b2bf1c2-0b8e-44d9-a774-98d3580bee37
updated_at: 1716888942
firstname: Steffen
lastname: Rüther
email: [email protected]
Expand Down
4 changes: 4 additions & 0 deletions content/globals/calendly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: Calendly
data:
enabled: true
url: 'https://calendly.com/21stdigital/meeting'
2 changes: 2 additions & 0 deletions content/trees/collections/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ tree:
entry: 9ebb7d6e-9675-4b4a-99da-e4da6ee5444e
-
entry: 7c51fc57-6028-438a-ad34-9d7f67dd8ea4
-
entry: ff719e3b-8511-44e3-8f43-e7d3d8603990
5 changes: 3 additions & 2 deletions public/assets/team/.meta/andres.jpg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
data: { }
data:
alt: 'Porträt von Andres'
size: 38705
last_modified: 1715864808
last_modified: 1715954165
width: 400
height: 400
mime_type: image/jpeg
Expand Down
5 changes: 3 additions & 2 deletions public/assets/team/.meta/fabian.jpg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
data: { }
data:
alt: 'Porträt von Fabian'
size: 34713
last_modified: 1715864828
last_modified: 1715954165
width: 400
height: 400
mime_type: image/jpeg
Expand Down
8 changes: 8 additions & 0 deletions public/assets/team/.meta/steffen.jpeg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
data:
alt: 'Portraitbild von Steffen'
size: 867738
last_modified: 1716884198
width: 2080
height: 2080
mime_type: image/jpeg
duration: null
11 changes: 6 additions & 5 deletions public/assets/team/.meta/steffen.jpg.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
data: { }
size: 40288
last_modified: 1715864828
width: 400
height: 400
data:
alt: 'Porträt von Steffen'
size: 867738
last_modified: 1716884198
width: 2080
height: 2080
mime_type: image/jpeg
duration: null
Binary file modified public/assets/team/steffen.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions resources/blueprints/collections/pages/link.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
title: Link
tabs:
main:
sections:
-
fields:
-
handle: title
field:
type: text
-
handle: redirect
field:
type: group
required: true
width: '100'
fields:
-
handle: url
field:
type: link
required: true
width: '100'
display: Location
-
handle: status
field:
type: radio
inline: 'true'
required: true
options:
301: '301 (Permanent)'
302: '302 (Temporary)'
width: '100'
display: 'HTTP Status'
default: 302
11 changes: 11 additions & 0 deletions resources/blueprints/collections/team/team.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ tabs:
type: text
display: Phone
width: 50
-
handle: calendly_url
field:
input_type: url
placeholder: 'https://calendly.com/...'
type: text
display: 'Calendly URL'
width: 50
validate:
- url
- 'starts_with:https://calendly.com/'
sidebar:
display: Sidebar
sections:
Expand Down
21 changes: 21 additions & 0 deletions resources/blueprints/globals/calendly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
tabs:
main:
display: Main
sections:
-
fields:
-
handle: enabled
field:
type: toggle
display: 'Enable Calendly'
-
handle: url
field:
input_type: url
placeholder: 'https://calendly.com/...'
type: text
display: URL
validate:
- url
- 'starts_with:https://calendly.com/'
33 changes: 21 additions & 12 deletions resources/css/modules.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
[data-module] {
&:last-child {
@apply pb-20 lg:pb-32 xl:pb-48;
@apply mb-20 lg:mb-32 xl:mb-48;
}
}

[data-module] + [data-module] {
@apply pt-32 lg:pt-40 xl:pt-60 2xl:pt-80;
@apply mt-24 lg:mt-32 xl:mt-48 2xl:mt-52;
}

[data-module="hero_text"] + [data-module="section_header"] {
@apply pt-0;
@apply mt-0;
}


[data-module="section_header"] {
.text {
@apply text-xl leading-relaxed;
Expand All @@ -22,9 +23,18 @@
}
}

[data-module="section_header"]
+ [data-module]:not([data-module="section_header"]) {
@apply pt-12 2xl:pt-24;
[data-module="section_header"] + [data-module] {
@apply mt-12 2xl:mt-24;
}
[data-module="section_header"] + [data-module="section_header"] {
@apply mt-20 2xl:mt-40;
}


[data-module="quote"] + [data-module],
[data-module] + [data-module="quote"],
[data-module="section_header"] + [data-module="quote"] {
@apply my-20 md:my-36 lg:my-48;
}

[data-module="contact_cta"] {
Expand All @@ -34,14 +44,13 @@
}

[data-module="text"] {
& + [data-module="text"],
& + [data-module="quote"] {
@apply pt-12 xl:pt-16;
& + [data-module="text"] {
@apply mt-12 xl:mt-16;
}
}

[data-module="quote"] {
/* [data-module="quote"] {
& + [data-module="text"] {
@apply pt-12 xl:pt-16;
@apply mt-12 xl:mt-16;
}
}
} */
12 changes: 10 additions & 2 deletions resources/fieldsets/button.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,25 @@ fields:
field:
type: link
display: URL
width: 66
-
handle: open_in_new_window
field:
type: toggle
display: 'Open in new window'
width: 33
-
handle: add_icon
field:
type: toggle
display: 'Add Icon'
width: 25
-
handle: icon
field:
type: icon
display: Icon
width: 66
width: 50
validate:
- sometimes
- required
Expand All @@ -46,6 +54,6 @@ fields:
default: after
type: button_group
display: 'Icon Position'
width: 33
width: 25
if:
add_icon: 'equals true'
Loading
Loading