Skip to content
Merged

wip #75

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
1 change: 1 addition & 0 deletions lang/de_CH.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"Legal": "Rechtliches",
"Legal form AG": "Aktiengesellschaft (AG)",
"Locations": "Standorte",
"Resources": "Ressourcen",
"Media": "Medien",
"Media intro": "Offizielle codebar-Logos für Presse und Partner.",
"Logos": "Logos",
Expand Down
1 change: 1 addition & 0 deletions lang/en_CH.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"Legal": "Legal",
"Legal form AG": "Aktiengesellschaft (AG)",
"Locations": "Locations",
"Resources": "Resources",
"Media": "Media",
"Media intro": "Download official codebar logos for press and partner use.",
"Logos": "Logos",
Expand Down
Binary file modified public/images/seo/og-codebar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 17 additions & 51 deletions public/images/seo/og-codebar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/seo/og-codebar.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions resources/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,27 @@ img {
height: auto;
}

.legal-prose ul {
list-style: none;
padding-inline-start: 0;
}

.legal-prose ul > li {
position: relative;
padding-inline-start: 1.25rem;
}

.legal-prose ul > li::before {
content: '';
position: absolute;
left: 0;
top: 0.625em;
width: 0.375rem;
height: 0.375rem;
border-radius: 9999px;
background-color: var(--color-gray-800);
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
*,
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/legal/prose.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@props(['classAttributes' => ''])

<div {{ $attributes->merge(['class' => trim('prose prose-gray max-w-none text-gray-800 prose-p:my-0 prose-p:leading-relaxed prose-ul:mt-4 prose-ul:mb-0 prose-li:my-1.5 prose-li:leading-relaxed '.$classAttributes)]) }}>
<div {{ $attributes->merge(['class' => trim('legal-prose prose prose-gray max-w-none text-gray-800 prose-p:my-0 prose-p:leading-relaxed prose-ul:mt-4 prose-ul:mb-0 prose-li:my-1.5 prose-li:leading-relaxed '.$classAttributes)]) }}>
{{ $slot }}
</div>
2 changes: 1 addition & 1 deletion resources/views/layouts/_partials/_footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ classAttributes="text-lg"/>
</ul>
</div>
<div>
<h2 class="text-base font-semibold text-gray-800">{{ __('Media') }}</h2>
<h2 class="text-base font-semibold text-gray-800">{{ __('Resources') }}</h2>
<ul class="mt-1 list-none text-base">
<li>
<x-a :href="localized_route('media.index')" label="{{ __('Media') }}"
Expand Down
Loading