fix: only add p-name to window titles if its an entry window
This commit is contained in:
parent
15f08a564a
commit
c2a1332c51
@ -3,6 +3,7 @@
|
|||||||
export let iconUri: string = '';
|
export let iconUri: string = '';
|
||||||
export let id: string = '';
|
export let id: string = '';
|
||||||
export let sticky: boolean = false;
|
export let sticky: boolean = false;
|
||||||
|
export let entry: boolean = false;
|
||||||
|
|
||||||
const scaleKeyframes = [
|
const scaleKeyframes = [
|
||||||
"window-open",
|
"window-open",
|
||||||
@ -37,7 +38,7 @@
|
|||||||
>
|
>
|
||||||
<div class="flex bg-opacity-100 pixelate-bg">
|
<div class="flex bg-opacity-100 pixelate-bg">
|
||||||
<h1
|
<h1
|
||||||
class="font-monospace text-xl text-ralsei-pink-regular grow justify-self-start self-center p-name"
|
class="font-monospace text-xl text-ralsei-pink-regular grow justify-self-start self-center {entry ? 'p-name' : ''}"
|
||||||
>
|
>
|
||||||
{title}
|
{title}
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<article class="flex flex-wrap md:flex-nowrap gap-4 h-entry">
|
<article class="flex flex-wrap md:flex-nowrap gap-4 h-entry">
|
||||||
<Window {title} iconUri="/icons/entry.png">
|
<Window {title} iconUri="/icons/entry.png" entry>
|
||||||
<div class="prose prose-ralsei max-w-[80ch] e-content">
|
<div class="prose prose-ralsei max-w-[80ch] e-content">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user