Add profile detail modal
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
<script lang="ts">
|
||||
import Link from "@lib/components/Link.svelte"
|
||||
import Button from "@lib/components/Button.svelte"
|
||||
import Icon from "@lib/components/Icon.svelte"
|
||||
import {PLATFORM_NAME, pubkeyLink} from "@app/state"
|
||||
import ProfileDetail from "@app/components/ProfileDetail.svelte"
|
||||
import {PLATFORM_NAME} from "@app/state"
|
||||
import {pushModal} from "@app/modal"
|
||||
|
||||
const pubkey = "97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
|
||||
|
||||
const openProfile = () => pushModal(ProfileDetail, {pubkey})
|
||||
</script>
|
||||
|
||||
<div class="mt-8 min-h-screen bg-base-200 sm:hero">
|
||||
@@ -34,7 +39,7 @@
|
||||
<p class="text-sm">
|
||||
Built with 💜 by
|
||||
<span class="text-primary">
|
||||
@<Link external href={pubkeyLink(pubkey)} class="link">hodlbod</Link>
|
||||
@<Button on:click={openProfile} class="link">hodlbod</Button>
|
||||
</span>
|
||||
</p>
|
||||
<p class="text-xs">
|
||||
|
||||
Reference in New Issue
Block a user