feat: rename includes and data directories

This commit is contained in:
Devin Haska 2025-03-16 11:43:16 -07:00
parent 864bc7be71
commit 408e859ef4
41 changed files with 7 additions and 9 deletions

22
src/data/preloads.js Normal file
View file

@ -0,0 +1,22 @@
import { getFontUrl } from "../utils/fonts.js";
import fonts from "../../config/design-tokens/fonts.js";
const preloads = [
{
as: "font",
href: getFontUrl(fonts.display.weights.ExtraBold.path),
crossorigin: true,
},
{
as: "font",
href: getFontUrl(fonts.display.weights.Bold.path),
crossorigin: true,
},
{
as: "font",
href: getFontUrl(fonts.body.weights.Regular.path),
crossorigin: true,
},
];
export default preloads;