Skip to content

Commit b95bad7

Browse files
apledgerBC-krasnoshapka
authored andcommitted
fix: footer spacing (#1897)
* fix: remove navigation menu dividers * fix: footer padding
1 parent a8bad65 commit b95bad7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

core/vibes/soul/sections/footer/index.tsx

+5-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { forwardRef, ReactNode, type Ref } from 'react';
33

44
import { Stream, Streamable } from '@/vibes/soul/lib/streamable';
55
import { Logo } from '@/vibes/soul/primitives/logo';
6-
import { Image } from '~/components/image';
76
import { Link } from '~/components/link';
87

98
interface Image {
@@ -94,7 +93,7 @@ export const Footer = forwardRef(function Footer(
9493
>
9594
<div className="mx-auto max-w-screen-2xl px-4 py-6 @xl:px-6 @xl:py-10 @4xl:px-8 @4xl:py-12">
9695
<div className="flex flex-col justify-between gap-x-8 gap-y-12 @3xl:flex-row">
97-
<div className="flex flex-col @3xl:w-1/3">
96+
<div className="flex flex-col gap-4 @3xl:w-1/3 @3xl:gap-6">
9897
{/* Logo Information */}
9998
<Logo
10099
height={logoHeight}
@@ -107,7 +106,7 @@ export const Footer = forwardRef(function Footer(
107106
{/* Contact Information */}
108107
<Stream
109108
fallback={
110-
<div className="animate-pulse text-lg @lg:text-xl">
109+
<div className="mb-4 animate-pulse text-lg @lg:text-xl">
111110
<div className="flex h-[1lh] items-center">
112111
<span className="h-[1ex] w-[10ch] rounded bg-contrast-100" />
113112
</div>
@@ -124,7 +123,7 @@ export const Footer = forwardRef(function Footer(
124123
{(contactInformation) => {
125124
if (contactInformation?.address != null || contactInformation?.phone != null) {
126125
return (
127-
<div className="text-lg font-medium @lg:text-xl">
126+
<div className="mb-4 text-lg font-medium @lg:text-xl">
128127
<h3 className="text-[var(--footer-contact-title,hsl(var(--contrast-300)))]">
129128
{contactTitle}
130129
</h3>
@@ -144,7 +143,7 @@ export const Footer = forwardRef(function Footer(
144143
{/* Social Media Links */}
145144
<Stream
146145
fallback={
147-
<div className="flex animate-pulse items-center gap-3 pt-8 @3xl:pt-10">
146+
<div className="flex animate-pulse items-center gap-3">
148147
<div className="h-8 w-8 rounded-full bg-contrast-100" />
149148
<div className="h-8 w-8 rounded-full bg-contrast-100" />
150149
<div className="h-8 w-8 rounded-full bg-contrast-100" />
@@ -156,7 +155,7 @@ export const Footer = forwardRef(function Footer(
156155
{(socialMediaLinks) => {
157156
if (socialMediaLinks != null) {
158157
return (
159-
<div className="flex items-center gap-3 pt-8 @3xl:pt-10">
158+
<div className="flex items-center gap-3">
160159
{socialMediaLinks.map(({ href, icon }, i) => {
161160
return (
162161
<Link

0 commit comments

Comments
 (0)