reboot alterflixhub
This commit is contained in:
commit
1e84023a44
188 files changed
+31629
No files matched your search
@@ -0,0 +1,33 @@
|
||||
import {
|
||||
IconBrandFacebook,
|
||||
IconBrandInstagram,
|
||||
IconBrandLinkedin,
|
||||
IconBrandTelegram,
|
||||
IconBrandTiktok,
|
||||
IconBrandX,
|
||||
IconBrandYoutube,
|
||||
IconLink,
|
||||
IconMail,
|
||||
IconPhone,
|
||||
type Icon as TablerIcon,
|
||||
} from "@tabler/icons-react";
|
||||
|
||||
/** ไอคอนที่เลือกใช้ได้ใน footer — เพิ่มชื่อใหม่ได้โดยเติมใน map นี้ */
|
||||
export const FOOTER_ICONS: Record<string, TablerIcon> = {
|
||||
IconBrandFacebook,
|
||||
IconBrandInstagram,
|
||||
IconBrandLinkedin,
|
||||
IconBrandYoutube,
|
||||
IconBrandTelegram,
|
||||
IconBrandTiktok,
|
||||
IconBrandX,
|
||||
IconMail,
|
||||
IconPhone,
|
||||
IconLink,
|
||||
};
|
||||
|
||||
export const FOOTER_ICON_NAMES = Object.keys(FOOTER_ICONS);
|
||||
|
||||
export function footerIcon(name: string): TablerIcon {
|
||||
return FOOTER_ICONS[name] ?? IconLink;
|
||||
}
|
||||
Reference in new issue
Block a user