fix: remove unused code

This commit is contained in:
Devin Haska 2024-02-29 23:12:43 -08:00
parent 91bf9a1d7b
commit 320b933c04
6 changed files with 16 additions and 35 deletions

View file

@ -79,6 +79,10 @@ const blogroll = [
title: "Cory Dransfeldt",
url: "https://coryd.dev/",
},
{
title: "HeydonWorks",
url: "https://heydonworks.com",
},
];
const sortedBlogroll = blogroll.sort((a, b) => a.title.localeCompare(b.title));

View file

@ -1,6 +1,8 @@
const { getFontUrl } = require("../../config/utils");
const path = require("path").posix;
const fonts = require("../../config/design-tokens/fonts.json");
const getFontUrl = (src) => path.join("/assets/fonts", src);
const fontsToCss = (fonts) => {
return Object.entries(fonts).reduce((css, [, fontProperties]) => {
const family = fontProperties.family;