Skip to content

Commit 00da2c5

Browse files
authored
ux: clean up footer (#23261)
Simplify the footer. <img width="1238" height="516" alt="screen" src="https://github.com/user-attachments/assets/fe397763-28ab-4ad4-84d5-ba3fc9767885" />
1 parent 432ecfe commit 00da2c5

14 files changed

+145
-113
lines changed

assets/css/utilities.css

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
}
1111
}
1212

13+
@utility icon-md {
14+
svg {
15+
font-size: 24px;
16+
}
17+
}
18+
19+
1320
@utility icon-lg {
1421
svg {
1522
font-size: 32px;
@@ -263,3 +270,44 @@
263270
font-size: 19px;
264271
}
265272
}
273+
274+
.footer {
275+
@apply hidden md:flex flex-row ml-auto justify-between px-4 pt-6 pb-2 gap-6;
276+
@apply bg-gray-100 dark:bg-gray-900 border-t border-gray-200 dark:border-gray-700;
277+
@apply text-gray-600 dark:text-gray-400;
278+
a:hover{
279+
@apply underline underline-offset-4;
280+
}
281+
}
282+
283+
.social {
284+
@apply items-center gap-1 flex-wrap min-w-20 flex;
285+
}
286+
287+
.links {
288+
@apply flex items-center gap-3;
289+
}
290+
291+
.links a {
292+
@apply inline-flex whitespace-normal truncate min-w-15;
293+
}
294+
295+
.secondaryLinks {
296+
@apply flex items-center;
297+
a, button{
298+
@apply whitespace-normal md:truncate;
299+
}
300+
}
301+
302+
.secondaryLinks > *:not(:last-child)::after {
303+
content: "|";
304+
@apply text-gray-400 mx-1;
305+
}
306+
307+
.ot-sdk-show-settings {
308+
@apply !text-gray-600 dark:!text-gray-400 hover:!text-gray-800 dark:hover:!text-gray-200;
309+
@apply !text-sm !border-none !p-0 !m-0 !truncate !min-w-15;
310+
}
311+
#ot-sdk-btn.ot-sdk-show-settings:hover, #ot-sdk-btn.optanon-show-settings:hover{
312+
@apply hover:!bg-transparent !text-gray-600 dark:!text-gray-400 underline underline-offset-4 decoration-1;
313+
}

assets/icons/facebook.svg

Lines changed: 8 additions & 0 deletions
Loading

assets/icons/instagram.svg

Lines changed: 8 additions & 0 deletions
Loading

assets/icons/linkedin.svg

Lines changed: 8 additions & 0 deletions
Loading

assets/icons/twitter.svg

Lines changed: 8 additions & 0 deletions
Loading

assets/icons/youtube.svg

Lines changed: 8 additions & 0 deletions
Loading

assets/images/FacebookCircle.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/images/InstagramCircle.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/images/LinkedinCircle.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/images/TwitterCircle.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)