@@ 82,6 82,11 @@ export default function Footer() {
"lastfm",
];
// sort in place by alphabetical order before building the iconsDisplay object
menus.sort((a, b) => {
return a.title.localeCompare(b.title);
});
menus.forEach((menu) => {
// filter out the socials that are not enabled
menu.children = menu.children.filter((child) => {
@@ 132,11 137,6 @@ export default function Footer() {
return menu.children.length > 0;
});
// sort the menus
menus.sort((a, b) => {
return a.title.localeCompare(b.title);
});
return (
<div className="flex justify-center items-center">
<div className="bg-#e9debb flex flex-col md:flex-row w-full max-w-screen-lg gap-8 md:gap-16 px-8 py-8 text-base md:text-xs [text-shadow:_.3px_.75px_0_rgb(255_255_255_/_90%)]">