Skip to content

Commit 4042841

Browse files
committed
fix: position new footer logo to the left
1 parent 3264405 commit 4042841

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

src/Footer.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ const Footer = (): ReactElement => {
77
return (
88
<footer className="border-t border-black/8 bg-white/80 backdrop-blur-xl">
99
<div className="mx-auto flex w-full max-w-6xl flex-col gap-5 px-4 py-6 md:flex-row md:items-center md:justify-between">
10-
<div className="flex flex-col items-center gap-2">
11-
<Link to="/" className="inline-flex flex-start gap-1">
12-
<span className="inline-flex h-5 w-auto overflow-hidden">
13-
<img src={logo} alt="Logo WDT" className="h-full w-full object-contain" />
14-
</span>
15-
</Link>
16-
</div>
10+
<Link to="/" className="inline-flex shrink-0 items-center gap-1">
11+
<img src={logo} alt="Logo WDT" className="h-5 w-auto object-contain" />
12+
</Link>
1713
<Icons />
1814
</div>
1915
</footer>

src/Icons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const links = [
4646

4747
const Icons: FC<IconsProps> = ({ color, className }): ReactElement => {
4848
return (
49-
<div className={cn('flex flex-wrap items-center gap-2', className)}>
49+
<div className={cn('flex flex-wrap items-center gap-2 w-full justify-start md:justify-end', className)}>
5050
{links.map(({ href, label, icon: Icon }) => (
5151
<Tooltip key={href} content={label}>
5252
<a

0 commit comments

Comments
 (0)