Footer style -radiowy

This commit is contained in:
dm
2025-11-25 10:06:25 +01:00
parent 665b787c5c
commit c23576f052
6 changed files with 21 additions and 21 deletions

View File

@@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<rect width="64" height="64" rx="12" fill="#0ea5e9"/>
<text x="50%" y="50%" text-anchor="middle" dominant-baseline="central" font-size="32" fill="white" font-family="system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif">F</text>
</svg>

Before

Width:  |  Height:  |  Size: 317 B

View File

@@ -9,7 +9,7 @@ const footer = yaml.load(
<footer class="f-footer"> <footer class="f-footer">
<div class="f-footer-inner"> <div class="f-footer-inner">
<div class="f-footer-col space-y-1"> <div class="f-footer-col">
<h3 class="f-footer-col-title">{footer.company.name}</h3> <h3 class="f-footer-col-title">{footer.company.name}</h3>
<p class="f-footer-col-text"> <p class="f-footer-col-text">
{footer.company.address.line1}<br /> {footer.company.address.line1}<br />
@@ -17,14 +17,12 @@ const footer = yaml.load(
</p> </p>
</div> </div>
<div class="f-footer-col space-y-1"> <div class="f-footer-col">
<h4 class="f-footer-col-title">Kontakt</h4> <h4 class="f-footer-col-title">Kontakt</h4>
{ {
footer.contact.phones.map((phone: string) => ( footer.contact.phones.map((phone: string) => (
<p class="f-footer=col-text"> <p class="f-footer=col-text">
{/* <a href={`tel:${phone.replace(/\s/g, "")}`} class="fuz-footer-link"> */}
{phone} {phone}
{/* </a> */}
</p> </p>
)) ))
} }
@@ -35,11 +33,11 @@ const footer = yaml.load(
</p> </p>
</div> </div>
<div class="f-footer-col space-y-1"> <div class="f-footer-col">
<h4 class="f-footer-col-title">Usługi</h4> <h4 class="f-footer-col-title">{footer.services.title}</h4>
<ul> <ul>
{ {
footer.services.map((item: any) => ( footer.services.items.map((item: any) => (
<li> <li>
<a href={item.url} title={item.title}> <a href={item.url} title={item.title}>
{item.name} {item.name}

View File

@@ -11,14 +11,12 @@ contact:
email: "biuro@fuz.pl" email: "biuro@fuz.pl"
services: services:
title: "Mapa strony"
items:
- name: "Internet Światłowodowy" - name: "Internet Światłowodowy"
url: "/internet-swiatlowodowy" url: "/internet-swiatlowodowy"
title: "Przejdź do oferty Internetu światłowodowego" title: "Przejdź do oferty Internetu światłowodowego"
- name: "Internet Radiowy"
url: "/internet-radiowy"
title: "Przejdź do oferty Internetu radiowego"
- name: "Internet + Telewizja" - name: "Internet + Telewizja"
url: "/internet-telewizja" url: "/internet-telewizja"
title: "Przejdź do oferty Internet + Telewizja w FUZ" title: "Przejdź do oferty Internet + Telewizja w FUZ"
@@ -27,6 +25,10 @@ services:
url: "/telefon" url: "/telefon"
title: "Przejdź do oferty telefonu" title: "Przejdź do oferty telefonu"
- name: "Zasięg sieci"
url: "/zasieg-sieci"
title: "Sprawdź zasięg sieci FUZ"
recaptcha: recaptcha:
Ta strona jest chroniona przez reCAPTCHA. Ta strona jest chroniona przez reCAPTCHA.
Obowiązują Obowiązują

View File

@@ -8,11 +8,11 @@
} }
.f-footer-col { .f-footer-col {
@apply max-w-sm pt-4; @apply max-w-sm pt-4 space-y-1;
} }
.f-footer-col-title { .f-footer-col-title {
@apply text-xl font-semibold; @apply text-xl font-semibold text-[var(--f-header)];
} }
@@ -22,10 +22,13 @@
.f-footer-copyright { .f-footer-copyright {
@apply text-center py-4 text-base text-[var(--f-text)]; @apply text-center py-4 text-base text-[var(--f-text)];
/* text-center py-0 text-sm */
} }
.f-footer-recaptcha { .f-footer-recaptcha {
@apply text-base; @apply text-base;
a {
@apply text-[var(--f-link-text)];
}
} }
} }

View File

@@ -31,7 +31,6 @@
.f-hero-header-items { .f-hero-header-items {
@apply text-xl md:text-4xl font-semibold mb-2 opacity-0 text-[var(--f-header-items)]; @apply text-xl md:text-4xl font-semibold mb-2 opacity-0 text-[var(--f-header-items)];
/* color: var(--f-text-subtle); */
animation: fade-in 0.3s ease-out forwards; animation: fade-in 0.3s ease-out forwards;
animation-delay: calc(var(--delay) * 0.4s); animation-delay: calc(var(--delay) * 0.4s);
} }
@@ -44,7 +43,6 @@
@apply flex justify-center items-center flex-wrap gap-3 mt-8; @apply flex justify-center items-center flex-wrap gap-3 mt-8;
} }
@keyframes fade-in { @keyframes fade-in {
from { opacity: 0; transform: translateY(10px); } from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); } to { opacity: 1; transform: translateY(0); }

View File

@@ -35,8 +35,9 @@
--f-header: var(--brand-light); --f-header: var(--brand-light);
--f-header-2: var(--text1-light); --f-header-2: var(--text1-light);
--f-header-items: (var(--text2-light)); --f-header-items: (var(--text2-light));
--f-text: var(--text2-light); --f-text: var(--text2-light);
--f-link-text: var(--f-header);
--btn-background: var(--surface2-light); --btn-background: var(--surface2-light);
--btn-text: var(--text1-light); --btn-text: var(--text1-light);
@@ -70,6 +71,7 @@
---f-border-color: rgb(209 213 219); ---f-border-color: rgb(209 213 219);
/* / var(--tw-border-opacity, 1)); */ /* / var(--tw-border-opacity, 1)); */
} }
:root.dark { :root.dark {
--f-background: var(--surface1-dark); --f-background: var(--surface1-dark);
@@ -79,6 +81,7 @@
--f-header-items: (var(--text2-dark)); --f-header-items: (var(--text2-dark));
--f-text: var(--text1-dark); --f-text: var(--text1-dark);
--f-link-text: var(--f-header);
--btn-background: var(--surface4-dark); --btn-background: var(--surface4-dark);
--btn-text: var(--text1-dark); --btn-text: var(--text1-dark);