make stuff line up more
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Michael Zhang 2024-09-20 13:12:58 -05:00
parent d344924a1d
commit 55ec917eb8
6 changed files with 8 additions and 7 deletions

View file

@ -22,6 +22,7 @@ const publicDir = "public";
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
site: "https://mzhang.io", site: "https://mzhang.io",
prefetch: true,
integrations: [mdx(), sitemap(), markdoc()], integrations: [mdx(), sitemap(), markdoc()],
outDir, outDir,

View file

@ -10,13 +10,13 @@ const target = Astro.url.pathname === "/" ? "/about/" : "/";
<nav class="side-nav"> <nav class="side-nav">
<div class="side-nav-content"> <div class="side-nav-content">
<a href={target} class="portrait"> <a href={target} class="portrait" data-astro-prefetch>
<Image src={portrait} alt="portrait" class="portrait" /> <Image src={portrait} alt="portrait" class="portrait" />
</a> </a>
<div class="me"> <div class="me">
<div class="titleContainer"> <div class="titleContainer">
<h1 class="title"> <h1 class="title">
<a href={target}>Michael Zhang</a> <a href={target} data-astro-prefetch>Michael Zhang</a>
</h1> </h1>
</div> </div>
<div class="links"> <div class="links">

View file

@ -79,7 +79,7 @@ const sortedPosts = sortBy(allPosts, (post) => -post.data.date);
<style lang="scss"> <style lang="scss">
.postListing { .postListing {
width: 100%; width: 100%;
border-spacing: 6px 24px; border-spacing: 0px 24px;
:global(.timestamp) { :global(.timestamp) {
font-family: var(--monofont); font-family: var(--monofont);

View file

@ -99,8 +99,8 @@ We can map both $p(i)$ and $q(i)$ down to a square that has $x$ on all corners a
Let's start with the left and right faces $(i = \{ \mathsf{i0} , \mathsf{i1} \})$. Let's start with the left and right faces $(i = \{ \mathsf{i0} , \mathsf{i1} \})$.
These can be produced using the proof $f : \mathsf{isProp}(A)$ that we are given. These can be produced using the proof $f : \mathsf{isProp}(A)$ that we are given.
$f$ tells us that $x$ and $y$ are the same, so $f(x, x) = x \equiv x$ and $f(x, y) = x \equiv y$. $f$ tells us that $x$ and $y$ are the same, so $f(x, x) : x \equiv x$ and $f(x, y) : x \equiv y$.
This means we can define the left face as $f(x, x, k)$ and the right face as $f(x, y, k)$. This means we can define the left face as $f(x, x)(k)$ and the right face as $f(x, y)(k)$.
(Remember, $k$ is the direction going from bottom to top) (Remember, $k$ is the direction going from bottom to top)
![](./sides.jpg) ![](./sides.jpg)

View file

@ -7,7 +7,7 @@ const currentUrl = Astro.url;
--- ---
<BaseLayout> <BaseLayout>
<h2>Blog</h2> <h1>Drafts</h1>
<PostList basePath={join(dirname(currentUrl.pathname), "posts")} drafts="only" /> <PostList basePath={join(dirname(currentUrl.pathname), "posts")} drafts="only" />
</BaseLayout> </BaseLayout>

View file

@ -8,7 +8,7 @@ const currentUrl = Astro.url;
--- ---
<BaseLayout> <BaseLayout>
<h2>Blog</h2> <h1>Blog</h1>
<PostList class="home" timeFormat="yyyy-MM-dd" basePath={join(currentUrl.pathname, "posts")} /> <PostList class="home" timeFormat="yyyy-MM-dd" basePath={join(currentUrl.pathname, "posts")} />
</BaseLayout> </BaseLayout>