This commit is contained in:
Jordi Enric
2024-10-26 23:58:49 +02:00
parent d59564418d
commit d9ea7c1e84
3 changed files with 11 additions and 3 deletions
+8 -1
View File
@@ -121,7 +121,6 @@ export default function AppLayout({
size={16}
/>
)}
{subscription?.plan}
{subscription?.plan === "hobby" && (
<Link
title="Upgrade to Pro"
@@ -155,6 +154,14 @@ export default function AppLayout({
</Link>
</DropdownMenuItem>
))}
<DropdownMenuItem asChild>
<Link
href="/blogs"
className="flex items-center gap-1 px-3"
>
All blogs
</Link>
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
)}
@@ -260,6 +260,7 @@ function PostItem({
<DropdownMenuItem
onClick={async (e) => {
e.stopPropagation();
e.preventDefault();
onDeleteClick();
}}
>
+2 -2
View File
@@ -147,7 +147,7 @@ export default function CreateBlog() {
<div className="sr-only">Slug</div>
</Label>
<div>
<div className="flex rounded-lg border font-mono tracking-tighter">
<div className="flex font-mono tracking-tighter">
<textarea
id="slug-input"
placeholder="my-blog"
@@ -159,7 +159,7 @@ export default function CreateBlog() {
{...register("slug")}
rows={1}
cols={24}
className="overflow-hidden rounded-md bg-transparent py-1 pl-1 pr-0.5 text-right text-sm font-medium text-zinc-700 outline-none hover:bg-zinc-100 focus:bg-zinc-100"
className="overflow-hidden rounded-md bg-transparent px-0.5 py-1 text-right text-sm font-medium text-zinc-700 outline-none"
/>
<span className="flex-grow py-1 text-sm">.zenblog.com</span>
</div>