Skip to content

Commit

Permalink
Merge pull request #2683 from fshowalter/draft
Browse files Browse the repository at this point in the history
draft
  • Loading branch information
fshowalter authored Jul 30, 2024
2 parents 440ec42 + b60d5ab commit f471224
Show file tree
Hide file tree
Showing 70 changed files with 950 additions and 748 deletions.
2 changes: 1 addition & 1 deletion src/components/Layout/Mast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function Mast({ currentPath }: { currentPath: string }) {
d="M6.5 12a5.5 5.5 0 100-11 5.5 5.5 0 000 11zM13 6.5a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"
/>
</svg>
<span className="flex items-baseline p-2 text-base opacity-70">
<span className="flex items-baseline whitespace-nowrap p-2 text-base opacity-70">
Quick search...
</span>
<kbd className="ml-auto mr-[1ch] mt-px flex min-h-6 flex-none items-center bg-subtle pl-3 pr-4 font-mono text-sm font-light opacity-70">
Expand Down
19 changes: 10 additions & 9 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,25 @@ const pathname = new URL(Astro.request.url).pathname;
<slot />
</LayoutComponent>
<dialog
class="w-[76vh] rounded-xl border-2 border-default shadow-xl"
class="w-[75vw] rounded-xl border-2 border-default shadow-xl"
aria-label="Search"
>
<div
class="dialog-frame flex overflow-hidden py-4 pl-gutter pr-[calc(var(--gutter-width)_-_1rem)]"
>
<div class="dialog-frame flex flex-col overflow-hidden px-gutter py-4">
{
(
<div class="flex-grow">
<div id="pagefind__search" />
</div>
)
}
<button
data-close-modal
class="ml-2 self-start p-4 font-mono text-xs text-subtle"
><kbd>ESC</kbd></button
>
<div class="pt-4 text-sm text-subtle">
<kbd class="bg-subtle p-2 font-mono">Tab</kbd> to navigate
<button
data-close-modal
class="ml-2 self-start bg-subtle p-2 font-mono text-xs text-subtle"
><kbd>ESC</kbd></button
> to close
</div>
</div>
</dialog>
</body>
Expand Down
25 changes: 14 additions & 11 deletions src/pages/__snapshots__/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
fill-rule="evenodd"
d="M6.5 12a5.5 5.5 0 100-11 5.5 5.5 0 000 11zM13 6.5a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"
></path></svg
><span class="flex items-baseline p-2 text-base opacity-70"
><span
class="flex items-baseline whitespace-nowrap p-2 text-base opacity-70"
>Quick search...</span
><kbd
class="ml-auto mr-[1ch] mt-px flex min-h-6 flex-none items-center bg-subtle pl-3 pr-4 font-mono text-sm font-light opacity-70"
Expand Down Expand Up @@ -464,19 +465,21 @@
</div>
</div>
<dialog
class="w-[76vh] rounded-xl border-2 border-default shadow-xl"
class="w-[75vw] rounded-xl border-2 border-default shadow-xl"
aria-label="Search"
>
<div
class="dialog-frame flex overflow-hidden py-4 pl-gutter pr-[calc(var(--gutter-width)_-_1rem)]"
>
<div class="dialog-frame flex flex-col overflow-hidden px-gutter py-4">
<div class="flex-grow"><div id="pagefind__search"></div></div>
<button
data-close-modal
class="ml-2 self-start p-4 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
<div class="pt-4 text-sm text-subtle">
<kbd class="bg-subtle p-2 font-mono">Tab</kbd> to navigate
<button
data-close-modal
class="ml-2 self-start bg-subtle p-2 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
to close
</div>
</div>
</dialog>
<script>
Expand Down
25 changes: 14 additions & 11 deletions src/pages/__snapshots__/gone.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
fill-rule="evenodd"
d="M6.5 12a5.5 5.5 0 100-11 5.5 5.5 0 000 11zM13 6.5a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"
></path></svg
><span class="flex items-baseline p-2 text-base opacity-70"
><span
class="flex items-baseline whitespace-nowrap p-2 text-base opacity-70"
>Quick search...</span
><kbd
class="ml-auto mr-[1ch] mt-px flex min-h-6 flex-none items-center bg-subtle pl-3 pr-4 font-mono text-sm font-light opacity-70"
Expand Down Expand Up @@ -450,19 +451,21 @@
</div>
</div>
<dialog
class="w-[76vh] rounded-xl border-2 border-default shadow-xl"
class="w-[75vw] rounded-xl border-2 border-default shadow-xl"
aria-label="Search"
>
<div
class="dialog-frame flex overflow-hidden py-4 pl-gutter pr-[calc(var(--gutter-width)_-_1rem)]"
>
<div class="dialog-frame flex flex-col overflow-hidden px-gutter py-4">
<div class="flex-grow"><div id="pagefind__search"></div></div>
<button
data-close-modal
class="ml-2 self-start p-4 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
<div class="pt-4 text-sm text-subtle">
<kbd class="bg-subtle p-2 font-mono">Tab</kbd> to navigate
<button
data-close-modal
class="ml-2 self-start bg-subtle p-2 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
to close
</div>
</div>
</dialog>
<script>
Expand Down
25 changes: 14 additions & 11 deletions src/pages/__snapshots__/how-i-grade.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
fill-rule="evenodd"
d="M6.5 12a5.5 5.5 0 100-11 5.5 5.5 0 000 11zM13 6.5a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"
></path></svg
><span class="flex items-baseline p-2 text-base opacity-70"
><span
class="flex items-baseline whitespace-nowrap p-2 text-base opacity-70"
>Quick search...</span
><kbd
class="ml-auto mr-[1ch] mt-px flex min-h-6 flex-none items-center bg-subtle pl-3 pr-4 font-mono text-sm font-light opacity-70"
Expand Down Expand Up @@ -569,19 +570,21 @@ <h2>On Abandoning Books</h2>
</div>
</div>
<dialog
class="w-[76vh] rounded-xl border-2 border-default shadow-xl"
class="w-[75vw] rounded-xl border-2 border-default shadow-xl"
aria-label="Search"
>
<div
class="dialog-frame flex overflow-hidden py-4 pl-gutter pr-[calc(var(--gutter-width)_-_1rem)]"
>
<div class="dialog-frame flex flex-col overflow-hidden px-gutter py-4">
<div class="flex-grow"><div id="pagefind__search"></div></div>
<button
data-close-modal
class="ml-2 self-start p-4 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
<div class="pt-4 text-sm text-subtle">
<kbd class="bg-subtle p-2 font-mono">Tab</kbd> to navigate
<button
data-close-modal
class="ml-2 self-start bg-subtle p-2 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
to close
</div>
</div>
</dialog>
<script>
Expand Down
25 changes: 14 additions & 11 deletions src/pages/__snapshots__/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
fill-rule="evenodd"
d="M6.5 12a5.5 5.5 0 100-11 5.5 5.5 0 000 11zM13 6.5a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"
></path></svg
><span class="flex items-baseline p-2 text-base opacity-70"
><span
class="flex items-baseline whitespace-nowrap p-2 text-base opacity-70"
>Quick search...</span
><kbd
class="ml-auto mr-[1ch] mt-px flex min-h-6 flex-none items-center bg-subtle pl-3 pr-4 font-mono text-sm font-light opacity-70"
Expand Down Expand Up @@ -1008,19 +1009,21 @@ <h2 class="text-center text-2.5xl font-bold leading-8">
</div>
</div>
<dialog
class="w-[76vh] rounded-xl border-2 border-default shadow-xl"
class="w-[75vw] rounded-xl border-2 border-default shadow-xl"
aria-label="Search"
>
<div
class="dialog-frame flex overflow-hidden py-4 pl-gutter pr-[calc(var(--gutter-width)_-_1rem)]"
>
<div class="dialog-frame flex flex-col overflow-hidden px-gutter py-4">
<div class="flex-grow"><div id="pagefind__search"></div></div>
<button
data-close-modal
class="ml-2 self-start p-4 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
<div class="pt-4 text-sm text-subtle">
<kbd class="bg-subtle p-2 font-mono">Tab</kbd> to navigate
<button
data-close-modal
class="ml-2 self-start bg-subtle p-2 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
to close
</div>
</div>
</dialog>
<script>
Expand Down
25 changes: 14 additions & 11 deletions src/pages/readings/stats/__snapshots__/2022.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
fill-rule="evenodd"
d="M6.5 12a5.5 5.5 0 100-11 5.5 5.5 0 000 11zM13 6.5a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"
></path></svg
><span class="flex items-baseline p-2 text-base opacity-70"
><span
class="flex items-baseline whitespace-nowrap p-2 text-base opacity-70"
>Quick search...</span
><kbd
class="ml-auto mr-[1ch] mt-px flex min-h-6 flex-none items-center bg-subtle pl-3 pr-4 font-mono text-sm font-light opacity-70"
Expand Down Expand Up @@ -1776,19 +1777,21 @@
</div>
</div>
<dialog
class="w-[76vh] rounded-xl border-2 border-default shadow-xl"
class="w-[75vw] rounded-xl border-2 border-default shadow-xl"
aria-label="Search"
>
<div
class="dialog-frame flex overflow-hidden py-4 pl-gutter pr-[calc(var(--gutter-width)_-_1rem)]"
>
<div class="dialog-frame flex flex-col overflow-hidden px-gutter py-4">
<div class="flex-grow"><div id="pagefind__search"></div></div>
<button
data-close-modal
class="ml-2 self-start p-4 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
<div class="pt-4 text-sm text-subtle">
<kbd class="bg-subtle p-2 font-mono">Tab</kbd> to navigate
<button
data-close-modal
class="ml-2 self-start bg-subtle p-2 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
to close
</div>
</div>
</dialog>
<script>
Expand Down
25 changes: 14 additions & 11 deletions src/pages/readings/stats/__snapshots__/2023.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
fill-rule="evenodd"
d="M6.5 12a5.5 5.5 0 100-11 5.5 5.5 0 000 11zM13 6.5a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"
></path></svg
><span class="flex items-baseline p-2 text-base opacity-70"
><span
class="flex items-baseline whitespace-nowrap p-2 text-base opacity-70"
>Quick search...</span
><kbd
class="ml-auto mr-[1ch] mt-px flex min-h-6 flex-none items-center bg-subtle pl-3 pr-4 font-mono text-sm font-light opacity-70"
Expand Down Expand Up @@ -646,19 +647,21 @@
</div>
</div>
<dialog
class="w-[76vh] rounded-xl border-2 border-default shadow-xl"
class="w-[75vw] rounded-xl border-2 border-default shadow-xl"
aria-label="Search"
>
<div
class="dialog-frame flex overflow-hidden py-4 pl-gutter pr-[calc(var(--gutter-width)_-_1rem)]"
>
<div class="dialog-frame flex flex-col overflow-hidden px-gutter py-4">
<div class="flex-grow"><div id="pagefind__search"></div></div>
<button
data-close-modal
class="ml-2 self-start p-4 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
<div class="pt-4 text-sm text-subtle">
<kbd class="bg-subtle p-2 font-mono">Tab</kbd> to navigate
<button
data-close-modal
class="ml-2 self-start bg-subtle p-2 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
to close
</div>
</div>
</dialog>
<script>
Expand Down
25 changes: 14 additions & 11 deletions src/pages/readings/stats/__snapshots__/2024.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
fill-rule="evenodd"
d="M6.5 12a5.5 5.5 0 100-11 5.5 5.5 0 000 11zM13 6.5a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"
></path></svg
><span class="flex items-baseline p-2 text-base opacity-70"
><span
class="flex items-baseline whitespace-nowrap p-2 text-base opacity-70"
>Quick search...</span
><kbd
class="ml-auto mr-[1ch] mt-px flex min-h-6 flex-none items-center bg-subtle pl-3 pr-4 font-mono text-sm font-light opacity-70"
Expand Down Expand Up @@ -327,19 +328,21 @@
</div>
</div>
<dialog
class="w-[76vh] rounded-xl border-2 border-default shadow-xl"
class="w-[75vw] rounded-xl border-2 border-default shadow-xl"
aria-label="Search"
>
<div
class="dialog-frame flex overflow-hidden py-4 pl-gutter pr-[calc(var(--gutter-width)_-_1rem)]"
>
<div class="dialog-frame flex flex-col overflow-hidden px-gutter py-4">
<div class="flex-grow"><div id="pagefind__search"></div></div>
<button
data-close-modal
class="ml-2 self-start p-4 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
<div class="pt-4 text-sm text-subtle">
<kbd class="bg-subtle p-2 font-mono">Tab</kbd> to navigate
<button
data-close-modal
class="ml-2 self-start bg-subtle p-2 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
to close
</div>
</div>
</dialog>
<script>
Expand Down
25 changes: 14 additions & 11 deletions src/pages/readings/stats/__snapshots__/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
fill-rule="evenodd"
d="M6.5 12a5.5 5.5 0 100-11 5.5 5.5 0 000 11zM13 6.5a6.5 6.5 0 11-13 0 6.5 6.5 0 0113 0z"
></path></svg
><span class="flex items-baseline p-2 text-base opacity-70"
><span
class="flex items-baseline whitespace-nowrap p-2 text-base opacity-70"
>Quick search...</span
><kbd
class="ml-auto mr-[1ch] mt-px flex min-h-6 flex-none items-center bg-subtle pl-3 pr-4 font-mono text-sm font-light opacity-70"
Expand Down Expand Up @@ -2335,19 +2336,21 @@
</div>
</div>
<dialog
class="w-[76vh] rounded-xl border-2 border-default shadow-xl"
class="w-[75vw] rounded-xl border-2 border-default shadow-xl"
aria-label="Search"
>
<div
class="dialog-frame flex overflow-hidden py-4 pl-gutter pr-[calc(var(--gutter-width)_-_1rem)]"
>
<div class="dialog-frame flex flex-col overflow-hidden px-gutter py-4">
<div class="flex-grow"><div id="pagefind__search"></div></div>
<button
data-close-modal
class="ml-2 self-start p-4 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
<div class="pt-4 text-sm text-subtle">
<kbd class="bg-subtle p-2 font-mono">Tab</kbd> to navigate
<button
data-close-modal
class="ml-2 self-start bg-subtle p-2 font-mono text-xs text-subtle"
>
<kbd>ESC</kbd>
</button>
to close
</div>
</div>
</dialog>
<script>
Expand Down
Loading

1 comment on commit f471224

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.