Skip to content
Merged
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
1 change: 1 addition & 0 deletions src/123ishatest.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ body {
.prose-isha {
--tw-prose-headings: var(--header-color);
--tw-prose-body: var(--text-primary);
--tw-prose-code: var(--text-primary);
}

.blueprint {
Expand Down
5 changes: 3 additions & 2 deletions src/lib/components/EasterEgg.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
<span class="group relative border-b border-dashed focus:outline-none" tabindex="0" role="button">
<span
class="tooltip absolute bottom-full mb-1
min-w-32 border-2 border-white
px-2 py-1 text-sm opacity-0 transition group-hover:opacity-100 group-focus:opacity-100 md:min-w-64"
hidden min-w-32 border-2
border-white px-2 py-1
text-sm opacity-0 transition group-hover:inline group-hover:opacity-100 group-focus:inline group-focus:opacity-100 md:min-w-64"
>
{egg}
</span>
Expand Down
10 changes: 6 additions & 4 deletions src/routes/(app)/blog/(posts)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
import Card from '$lib/components/Card.svelte';
import Header from '$lib/components/Header.svelte';
import { page } from '$app/state';
import { projects } from '$lib/content/projects.ts';
import { resolve } from '$app/paths';
import { blogPosts } from '$lib/content/blogPosts.ts';

let { children } = $props();

const blogName = $derived(projects.find((p) => resolve(p.url) === page.url.pathname)?.title ?? 'Blog');
const blogName = $derived(blogPosts.find((p) => resolve(p.path) === page.url.pathname)?.title ?? 'Blog');
</script>

<svelte:head>
Expand All @@ -18,8 +18,10 @@
<Header>{blogName}</Header>

<Card hoverEffect={false}>
<div class="prose prose-isha md:m-4 md:w-xl">
{@render children()}
<div class="grid grid-cols-1">
<div class="prose prose-isha md:m-4 md:w-2xl">
{@render children()}
</div>
</div>
</Card>
</div>
Loading