feat: citizenship built
This commit is contained in:
@@ -73,7 +73,7 @@ export default function EditPageClient({ page, pageType, initialBlocks = [] }: P
|
||||
return (
|
||||
<div className="flex flex-col p-16 gap-12">
|
||||
<div className="flex flex-row items-center justify-between">
|
||||
<h1 className="">Edit page</h1>
|
||||
<h1>Edit page</h1>
|
||||
<div className="flex flex-row gap-3">
|
||||
<Button
|
||||
disabled={isPending}
|
||||
|
||||
@@ -10,8 +10,8 @@ import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
import Link from "next/link";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { ArchiveButton } from "./archiveButton";
|
||||
import { PinToggleButton } from "./pinToggleButton";
|
||||
import { ArchiveButton } from "./archive-button";
|
||||
import { PinToggleButton } from "./pin-toggle-button";
|
||||
import { getNavLinkByPageId } from "@/lib/navlinks/repository";
|
||||
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table";
|
||||
import Image from "next/image";
|
||||
@@ -171,7 +171,7 @@ export default async function Page({ params }: { params: Promise<{ type: string;
|
||||
<div className="flex flex-col p-16 gap-12">
|
||||
<div className={cn("flex flex-col gap-4 justify-center", isNews && "items-center")}>
|
||||
<div className="flex flex-row items-center gap-6">
|
||||
<h1 className="">{page?.title}</h1>
|
||||
<h1>{page?.title}</h1>
|
||||
{user?.isAdmin && (
|
||||
<div className="flex flex-row gap-2 items-center">
|
||||
<Link href={`/${page.type.toLowerCase()}/${page.slug}/edit`}>
|
||||
|
||||
Reference in New Issue
Block a user