Upload folder using huggingface_hub
Browse files- client/public/index.html +16 -0
- client/src/index.css +1 -9
client/public/index.html
CHANGED
|
@@ -13,6 +13,22 @@
|
|
| 13 |
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/favicon-32x32.png" />
|
| 14 |
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicon-16x16.png" />
|
| 15 |
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
<title>Transcreation Sandbox</title>
|
| 17 |
</head>
|
| 18 |
<body>
|
|
|
|
| 13 |
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/favicon-32x32.png" />
|
| 14 |
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicon-16x16.png" />
|
| 15 |
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
| 16 |
+
<style>
|
| 17 |
+
@font-face {
|
| 18 |
+
font-family: 'Apocalypse13';
|
| 19 |
+
src: url('%PUBLIC_URL%/fonts/Apocalypse13.otf') format('opentype');
|
| 20 |
+
font-weight: 400;
|
| 21 |
+
font-style: normal;
|
| 22 |
+
font-display: swap;
|
| 23 |
+
}
|
| 24 |
+
@font-face {
|
| 25 |
+
font-family: 'Apocalypse13';
|
| 26 |
+
src: url('%PUBLIC_URL%/fonts/Apocalypse13-Oblique.ttf') format('truetype');
|
| 27 |
+
font-weight: 400;
|
| 28 |
+
font-style: oblique;
|
| 29 |
+
font-display: swap;
|
| 30 |
+
}
|
| 31 |
+
</style>
|
| 32 |
<title>Transcreation Sandbox</title>
|
| 33 |
</head>
|
| 34 |
<body>
|
client/src/index.css
CHANGED
|
@@ -10,15 +10,7 @@
|
|
| 10 |
@apply bg-ui-bg text-ui-text;
|
| 11 |
}
|
| 12 |
|
| 13 |
-
/*
|
| 14 |
-
@font-face {
|
| 15 |
-
font-family: 'Apocalypse13';
|
| 16 |
-
src: url('/fonts/Apocalypse13.otf') format('opentype'),
|
| 17 |
-
url('/fonts/Apocalypse13-Oblique.ttf') format('truetype');
|
| 18 |
-
font-weight: 400;
|
| 19 |
-
font-style: normal;
|
| 20 |
-
font-display: swap;
|
| 21 |
-
}
|
| 22 |
}
|
| 23 |
|
| 24 |
@layer components {
|
|
|
|
| 10 |
@apply bg-ui-bg text-ui-text;
|
| 11 |
}
|
| 12 |
|
| 13 |
+
/* Font face moved to public/index.html to load from /fonts without bundler resolution */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
}
|
| 15 |
|
| 16 |
@layer components {
|