Rocky_Mountain_Vending/.pnpm-store/v10/files/ad/df2e057c2ef39d7270aa208b90dfea1a2c8162b98a367500c2d12fd61a648747966a490c3580fb824477ccb30cc34ca6fcc50992d0a6c1999570e069408487
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

54 lines
No EOL
1.8 KiB
Text

import { jsx as _jsx } from "react/jsx-runtime";
import { IconMark } from './icon-mark';
import { MetaFilter } from './meta';
function IconDescriptorLink({ icon }) {
const { url, rel = 'icon', ...props } = icon;
return /*#__PURE__*/ _jsx("link", {
rel: rel,
href: url.toString(),
...props
});
}
function IconLink({ rel, icon }) {
if (typeof icon === 'object' && !(icon instanceof URL)) {
if (!icon.rel && rel) icon.rel = rel;
return IconDescriptorLink({
icon
});
} else {
const href = icon.toString();
return /*#__PURE__*/ _jsx("link", {
rel: rel,
href: href
});
}
}
export function IconsMetadata({ icons }) {
if (!icons) return null;
const shortcutList = icons.shortcut;
const iconList = icons.icon;
const appleList = icons.apple;
const otherList = icons.other;
const hasIcon = Boolean((shortcutList == null ? void 0 : shortcutList.length) || (iconList == null ? void 0 : iconList.length) || (appleList == null ? void 0 : appleList.length) || (otherList == null ? void 0 : otherList.length));
if (!hasIcon) return null;
return MetaFilter([
shortcutList ? shortcutList.map((icon)=>IconLink({
rel: 'shortcut icon',
icon
})) : null,
iconList ? iconList.map((icon)=>IconLink({
rel: 'icon',
icon
})) : null,
appleList ? appleList.map((icon)=>IconLink({
rel: 'apple-touch-icon',
icon
})) : null,
otherList ? otherList.map((icon)=>IconDescriptorLink({
icon
})) : null,
hasIcon ? /*#__PURE__*/ _jsx(IconMark, {}) : null
]);
}
//# sourceMappingURL=icons.js.map