Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .superset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"setup": [
"pnpm install",
"fnm use --install-if-missing || nvm use"
],
"teardown": []
}
2 changes: 1 addition & 1 deletion src/components/SubtleLink.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { href, target } = Astro.props;
href={href}
target={target}
rel="noopener noreferrer"
class="decoration-gray-600 hover:text-gray-1200 hover:decoration-gray-800 underline underline-offset-4 transition-colors"
class="hover:text-gray-1200 underline decoration-gray-600 underline-offset-4 transition-colors hover:decoration-gray-800"
>
<slot /></a
>
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Header from "../components/Header.astro";
class="bg-page-bg pointer-events-none fixed top-0 left-0 z-50 h-14 w-full backdrop-blur-xl [-webkit-mask-image:linear-gradient(to_bottom,black,transparent)]"
>
</div>
<div class="mx-auto w-full max-w-4xl px-6 py-16 sm:py-20">
<div class="mx-auto w-full max-w-2xl px-6 py-16 sm:py-20">
<Header />
<main class="mt-14 space-y-6">
<slot />
Expand Down
9 changes: 3 additions & 6 deletions src/layouts/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { CollectionEntry } from "astro:content";
import BaseHead from "../components/BaseHead.astro";
import FormattedDate from "../components/FormattedDate.astro";
import BaseLayout from "../layouts/BaseLayout.astro";
import LedgerLabel from "../components/LedgerLabel.astro";

type Props = CollectionEntry<"blog">["data"];

Expand All @@ -16,9 +15,8 @@ const { title, description, pubDate, updatedDate } = Astro.props;
</head>

<BaseLayout>
<div class="space-y-6">
<section class="grid grid-cols-1 gap-6 sm:grid-cols-[140px_1fr]">
<LedgerLabel as="div" class="hidden sm:block">Meta</LedgerLabel>
<div class="mx-auto space-y-6">
<section class="space-y-2">
<div class="space-y-2">
<h1 class="text-gray-1200 text-2xl font-medium">{title}</h1>
<div class="text-gray-1100 font-mono text-sm">
Expand All @@ -33,8 +31,7 @@ const { title, description, pubDate, updatedDate } = Astro.props;
}
</div>
</section>
<section class="grid grid-cols-1 gap-6 sm:grid-cols-[140px_1fr]">
<LedgerLabel as="div" class="hidden sm:block">Content</LedgerLabel>
<section>
<article class="prose dark:prose-invert">
<slot />
</article>
Expand Down
9 changes: 3 additions & 6 deletions src/layouts/Talk.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { CollectionEntry } from "astro:content";
import BaseHead from "../components/BaseHead.astro";
import FormattedDate from "../components/FormattedDate.astro";
import BaseLayout from "../layouts/BaseLayout.astro";
import LedgerLabel from "../components/LedgerLabel.astro";

type Props = CollectionEntry<"talks">["data"];

Expand All @@ -17,9 +16,8 @@ const { title, description, pubDate, updatedDate, event, slides, recording } =
</head>

<BaseLayout>
<div class="space-y-6">
<section class="grid grid-cols-1 gap-6 sm:grid-cols-[140px_1fr]">
<LedgerLabel as="div" class="hidden sm:block">Meta</LedgerLabel>
<div class="mx-auto space-y-6">
<section class="space-y-2">
<div class="space-y-2">
<h1 class="text-gray-1200 text-2xl font-medium">{title}</h1>
<div class="text-gray-1100 font-mono text-sm">
Expand Down Expand Up @@ -61,8 +59,7 @@ const { title, description, pubDate, updatedDate, event, slides, recording } =
}
</div>
</section>
<section class="grid grid-cols-1 gap-6 sm:grid-cols-[140px_1fr]">
<LedgerLabel as="div" class="hidden sm:block">Content</LedgerLabel>
<section>
<article class="prose dark:prose-invert">
<slot />
</article>
Expand Down
4 changes: 3 additions & 1 deletion src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
text-decoration-line: underline;
text-decoration-color: var(--color-gray-400);
text-underline-offset: 4px;
transition: color 0.2s ease, text-decoration-color 0.2s ease;
transition:
color 0.2s ease,
text-decoration-color 0.2s ease;
}

.prose a:hover {
Expand Down