Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@emotion/styled": "^11.14.0",
"@headlessui/react": "^2.2.0",
"@mui/material": "^7.0.2",
"@radix-ui/react-avatar": "^1.1.10",
"@radix-ui/react-checkbox": "^1.2.3",
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-select": "^2.2.5",
Expand Down
5,619 changes: 0 additions & 5,619 deletions pnpm-lock.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions public/Group 13.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/image 2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions src/app/author/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,7 @@ function AuthorDashboard() {
<p className="text-sm text-yellow-700">
Just a few more details and your profile will be complete!
<br />
<span className="text-xs">
Let's get this done so you can enjoy all the features.
</span>
<span className="text-xs">Let&#39;s get this done so you can enjoy all the features.</span>
</p>
</div>
<button
Expand Down
10 changes: 6 additions & 4 deletions src/app/dashboard/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<div className="flex min-h-screen bg-[#f6f6f6]">
<Sidebar />
<div className="ml-64 w-full">{children}</div>
</div>
<div className="flex min-h-screen bg-[#f6f6f6]">
<Sidebar />
<div className="ml-64 w-full relative">
{children}
</div>
</div>
);
}
2 changes: 1 addition & 1 deletion src/app/dashboard/manage-content/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function Home() {
<div>
<Header title="Manage Content" />

<div className="p-6">
<div className="p-6 mt-16">
<ManageContent />
</div>
</div>
Expand Down
66 changes: 66 additions & 0 deletions src/app/dashboard/notifications/notification-detail.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
"use client";

import { MoveLeft, Trash2 } from "lucide-react";
import Image from "next/image";
import soon from "../../../../public/coming-soon.png"


interface NotificationDetailPageProps {
back: () => void;
}

export function NotificationDetailPage({ back }: NotificationDetailPageProps) {
return (
<div className="flex flex-col h-full">
{/* Content */}
<div className="flex-1 p-4 lg:p-6 overflow-auto">
<div className="max-w-2xl mx-auto">
<div className="bg-white rounded-lg border border-gray-200 p-6 lg:p-8">
<div className="flex justify-between items-center">
<div
onClick={back}
className="cursor-pointer border border-[#888888] rounded-[8px] text-[#888888] p-2"
>
<MoveLeft />
</div>
<div className="cursor-pointer border border-[#888888] rounded-[8px] text-[#888888] p-2">
<Trash2 />
</div>
</div>
<div className="text-center space-y-6">
<h1 className="text-2xl font-bold text-gray-900">
New Update for Writers
</h1>
<p className="text-gray-600">
Step up your writing with our latest update
</p>


<div className="md:w-[400px] w-full mx-auto">
<Image
src={soon}
alt="Notification Banner"
// width={100}
// height={100}
className="w-full border "
/>
</div>

<div className="space-y-4 text-gray-600">
<p>
Compete against players worldwide, climb the global rankings,
and prove your skills. Test your strategy, outmaneuver your
opponents, and claim your place at the top. Glory awaits!
</p>
</div>

<div className="pt-6 border-t border-gray-200">
<p className="text-sm text-gray-500">Sent; Today 12:18 PM</p>
</div>
</div>
</div>
</div>
</div>
</div>
);
}
Loading
Loading