Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
toan-kunaico committed Jan 8, 2025
1 parent 34e66cf commit 606ca74
Show file tree
Hide file tree
Showing 39 changed files with 4 additions and 5 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion apps/docs/public/pagefind/pagefind-entry.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"1.2.0","languages":{"en-us":{"hash":"en-us_5cdddb1c5afcd","wasm":"en-us","page_count":8}}}
{"version":"1.2.0","languages":{"en-us":{"hash":"en-us_442e12edd512a","wasm":"en-us","page_count":7}}}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions apps/docs/src/mdx/highlight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const Highlight = component$(
<div
{...props}
class={cn("max-h-[31.25rem] max-w-full overflow-auto bg-[#181e20]", props.class)}
data-pagefind-ignore
>
<pre class="whitespace-pre-wrap">
<code>{codeSig.value}</code>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/mdx/showcase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const Showcase = component$<ShowcaseProps>(({ name, ...props }) => {

return (
<Carousel.Root class="my-4">
<Carousel.Pagination class="flex gap-2 py-4">
<Carousel.Pagination data-pagefind-ignore class="flex gap-2 py-4">
<Carousel.Bullet class="data-[active]:bg-qwik-blue-800 data-[active]:!text-[#fff] p-2 rounded-md hover:bg-qwik-blue-200 hover:text-qwik-neutral-700 transition-colors outline-qwik-blue-500">
Preview
</Carousel.Bullet>
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/src/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ export default component$(() => {
<script
dangerouslySetInnerHTML={`
window.addEventListener('initPagefind', async () => {
console.log('initPagefind');
const pagefind = await import("/pagefind/pagefind.js");
console.log(pagefind);
await pagefind.init();
window.pagefind = pagefind;
});
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default component$(() => {
<SearchModal />
<div class="flex gap-4">
<Sidebar />
<main class="mx-auto max-w-screen-md">
<main data-pagefind-body class="mx-auto max-w-screen-md">
<Slot />
</main>
<aside class="hidden w-60 xl:block">
Expand Down

0 comments on commit 606ca74

Please sign in to comment.