|
|
|
@ -14,28 +14,30 @@
|
|
|
|
{data.project.name}
|
|
|
|
{data.project.name}
|
|
|
|
</h2>
|
|
|
|
</h2>
|
|
|
|
<Separator orientation="vertical" />
|
|
|
|
<Separator orientation="vertical" />
|
|
|
|
<ScrollArea orientation="horizontal">
|
|
|
|
{#key $page.url.pathname}
|
|
|
|
<div class="flex items-center gap-4">
|
|
|
|
<ScrollArea orientation="horizontal">
|
|
|
|
<Button
|
|
|
|
<div class="flex items-center gap-4">
|
|
|
|
href={`/projects/${data.project.uuid}`}
|
|
|
|
<Button
|
|
|
|
variant={$page.url.pathname ===
|
|
|
|
href={`/projects/${data.project.uuid}`}
|
|
|
|
`/projects/${data.project.uuid}`
|
|
|
|
variant={$page.url.pathname ===
|
|
|
|
? 'secondary'
|
|
|
|
`/projects/${data.project.uuid}`
|
|
|
|
: 'ghost'}>Shorteners</Button>
|
|
|
|
? 'secondary'
|
|
|
|
<Button
|
|
|
|
: 'ghost'}>Shorteners</Button>
|
|
|
|
href={`/projects/${data.project.uuid}/members`}
|
|
|
|
<Button
|
|
|
|
variant={$page.url.pathname ===
|
|
|
|
href={`/projects/${data.project.uuid}/members`}
|
|
|
|
`/projects/${data.project.uuid}/members`
|
|
|
|
variant={$page.url.pathname ===
|
|
|
|
? 'secondary'
|
|
|
|
`/projects/${data.project.uuid}/members`
|
|
|
|
: 'ghost'}>Members</Button>
|
|
|
|
? 'secondary'
|
|
|
|
<Button
|
|
|
|
: 'ghost'}>Members</Button>
|
|
|
|
href={`/projects/${data.project.uuid}/settings`}
|
|
|
|
<Button
|
|
|
|
variant={$page.url.pathname ===
|
|
|
|
href={`/projects/${data.project.uuid}/settings`}
|
|
|
|
`/projects/${data.project.uuid}/settings`
|
|
|
|
variant={$page.url.pathname ===
|
|
|
|
? 'secondary'
|
|
|
|
`/projects/${data.project.uuid}/settings`
|
|
|
|
: 'ghost'}>Settings</Button>
|
|
|
|
? 'secondary'
|
|
|
|
</div>
|
|
|
|
: 'ghost'}>Settings</Button>
|
|
|
|
</ScrollArea>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</ScrollArea>
|
|
|
|
|
|
|
|
{/key}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|