feat: add community creation
This commit is contained in:
1 parent
98a5a2f6f2
commit
7e76b1684c
8 files changed
+210
-31
No files matched your search
@@ -28,6 +28,7 @@
|
||||
InformationCircle,
|
||||
MagnifyingGlass,
|
||||
Moon,
|
||||
Newspaper,
|
||||
PencilSquare,
|
||||
Plus,
|
||||
Sun,
|
||||
@@ -153,6 +154,14 @@
|
||||
<Icon src={PencilSquare} mini width={16} />
|
||||
Post
|
||||
</MenuButton>
|
||||
<MenuButton
|
||||
link
|
||||
href="/create/community"
|
||||
disabled={$profile?.jwt == undefined}
|
||||
>
|
||||
<Icon src={Newspaper} mini width={16} />
|
||||
Community
|
||||
</MenuButton>
|
||||
{#if !$profile?.jwt}
|
||||
<span class="text-sm mx-4 my-1 py-1">
|
||||
<Link highlight href="/login">Log in</Link> to create content.
|
||||
|
||||
Reference in new issue
Block a user