mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 18:21:28 +10:00
FIxed bug [Bug] <Error MIME al cargar fuente “Arial” desde Google Fonts en exportaciones públicas>
Fixes #2435
This commit is contained in:
@ -6,6 +6,10 @@ export type Font = {
|
||||
files: Record<string, string>;
|
||||
};
|
||||
|
||||
export const localFonts = ["Arial", "Cambria", "Garamond", "Times New Roman"];
|
||||
export const isLocalFont = (family: string): boolean =>
|
||||
localFonts.some((f) => f.toLowerCase() === family.toLowerCase());
|
||||
|
||||
export const fonts: Font[] = [
|
||||
{
|
||||
family: "Roboto",
|
||||
|
||||
Reference in New Issue
Block a user