Skip to content

Commit

Permalink
Cascadia Code
Browse files Browse the repository at this point in the history
  • Loading branch information
yamiOnEstrogen committed Oct 13, 2023
1 parent b1be43c commit 83363cb
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 2 deletions.
2 changes: 2 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export default defineConfig({
port: 4321
},

output: "server",

markdown: {
remarkPlugins: [remarkToc],
extendDefaultPlugins: true,
Expand Down
8 changes: 8 additions & 0 deletions src/layouts/BlogLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const { title, description, img, isPost } = Astro.props;
></script>
<script is:inline src="https://storage.hylia.dev/blog/js/jquery.min.js"
></script>
<link rel="stylesheet" href="https://storage.hylia.dev/fonts/CascadiaCode.ttf" />
<script
is:inline
async
Expand Down Expand Up @@ -141,6 +142,7 @@ const { title, description, img, isPost } = Astro.props;
body {
background-color: var(--background-color);
color: var(--text-color);
font-family: "Cascadia Code";
}
</style>

Expand All @@ -159,5 +161,11 @@ var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
</script>

<noscript>
<div class="nojs">
<p>This website requires JavaScript. Please enable JavaScript in your browser.</p>
</div>
</noscript>
</body>
</html>
12 changes: 12 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ const { title, description, img } = Astro.props;
is:inline
async
src="https://storage.hylia.dev/js/bootstrap.bundle.min.js"></script>

<link rel="stylesheet" href="https://storage.hylia.dev/fonts/CascadiaCode.ttf" />
<script
is:inline
async
Expand All @@ -116,6 +118,10 @@ const { title, description, img } = Astro.props;
crossorigin="anonymous"></script>
<style is:inline is:global>

body {
font-family: "Cascadia Code";
}

.tooltip-main {
color: #fff;
text-decoration: none;
Expand Down Expand Up @@ -183,5 +189,11 @@ const { title, description, img } = Astro.props;

window.CreateSnackbar(null, 0, 5000);
</script>

<noscript>
<div class="nojs">
<p>This website requires JavaScript. Please enable JavaScript in your browser.</p>
</div>
</noscript>
</body>
</html>
13 changes: 13 additions & 0 deletions src/layouts/MiscLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const { title, description, img } = Astro.props;

gtag('config', 'G-E85TLW0B9F');
</script>
<link rel="stylesheet" href="https://storage.hylia.dev/fonts/CascadiaCode.ttf" />
<script is:inline async src="https://storage.hylia.dev/js/bar.js" type="module"></script>
<link rel="stylesheet" href="https://storage.hylia.dev/css/bar.css" />

Expand All @@ -68,5 +69,17 @@ const { title, description, img } = Astro.props;
});
}, 2000);
</script>

<style>
body {
font-family: "Cascadia Code";
}
</style>

<noscript>
<div class="nojs">
<p>This website requires JavaScript. Please enable JavaScript in your browser.</p>
</div>
</noscript>
</body>
</html>
11 changes: 11 additions & 0 deletions src/layouts/VentLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const { title, description, img, isPost } = Astro.props;
/>
<script is:inline async src="https://storage.hylia.dev/blog/js/main.js"
></script>
<link rel="stylesheet" href="https://storage.hylia.dev/fonts/CascadiaCode.ttf" />
</head>
<body>
<Header />
Expand All @@ -108,6 +109,16 @@ const { title, description, img, isPost } = Astro.props;
::-webkit-scrollbar-thumb:hover {
background-color: #a8bbbf;
}

body {
font-family: "Cascadia Code";
}
</style>

<noscript>
<div class="nojs">
<p>This website requires JavaScript. Please enable JavaScript in your browser.</p>
</div>
</noscript>
</body>
</html>
2 changes: 0 additions & 2 deletions src/pages/vent/@/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ if (post.frontmatter.override_settings) {
}
}
}
console.log($SETTINGS);
---

<VentLayout title="char32 • Venting">
Expand Down

0 comments on commit 83363cb

Please sign in to comment.