Switch font to consistent location
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Isaac Mills 2024-10-23 14:44:17 -06:00
parent 9c333d4985
commit 4f247de35b
Signed by: fnmain
GPG key ID: B67D7410F33A0F61
3 changed files with 1429 additions and 1533 deletions

View file

@ -7,6 +7,10 @@ export default new Namer({
let filePath = bundle.getMainEntry().filePath; let filePath = bundle.getMainEntry().filePath;
return `images/${path.basename(filePath)}`; return `images/${path.basename(filePath)}`;
} }
if (bundle.type === 'woff2') {
let filePath = bundle.getMainEntry().filePath;
return `fonts/${path.basename(filePath)}`;
}
// Allow the next namer to handle this bundle. // Allow the next namer to handle this bundle.
return null; return null;

View file

@ -28,7 +28,7 @@
content="Your dose of Comp-Sci journalism. Compute is a publication run out of Lake Braddock high school which writes articles about all things Computer Science from AI, to video games, to programming tips. It's all on Compute." content="Your dose of Comp-Sci journalism. Compute is a publication run out of Lake Braddock high school which writes articles about all things Computer Science from AI, to video games, to programming tips. It's all on Compute."
property=twitter:description> property=twitter:description>
<link href=https://cdn.jsdelivr.net/npm/instantsearch.css@7/themes/algolia-min.css rel=stylesheet> <link href=https://cdn.jsdelivr.net/npm/instantsearch.css@7/themes/algolia-min.css rel=stylesheet>
<link href=./meili.css rel=stylesheet> <link href=/meili.css rel=stylesheet>
<link href=/css/norwester-pro.css rel=stylesheet> <link href=/css/norwester-pro.css rel=stylesheet>
<link href=/css/normalize.css rel=stylesheet> <link href=/css/normalize.css rel=stylesheet>
<link href=/css/webflow.css rel=stylesheet> <link href=/css/webflow.css rel=stylesheet>
@ -174,7 +174,7 @@
<script crossorigin <script crossorigin
src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=66007382143b5f99deb20223"></script> src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=66007382143b5f99deb20223"></script>
<script src=/js/webflow.js></script> <script src=/js/webflow.js></script>
<script src=./meili.js type=module></script> <script src=/meili.js type=module></script>
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@4"></script> <script src="https://cdn.jsdelivr.net/npm/instantsearch.js@4"></script>
<script> <script>
document.getElementById("close-banner").onclick = function () { document.getElementById("close-banner").onclick = function () {
@ -183,4 +183,4 @@
</script> </script>
</body> </body>
</html> </html>

2952
yarn.lock

File diff suppressed because it is too large Load diff