Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: notification page #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
27 changes: 27 additions & 0 deletions components/notification.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import Sidebar from "./Sidebar";
import Navbar from "./Navbar";
import Image from "next/image";
import Bell from "@/public/images/bell.png";

function Notification() {
return (
<div className="flex h-screen">
<Sidebar />
<div className="flex flex-col flex-1">
<Navbar className="w-full" />

<div className="flex-1 flex flex-col items-center justify-center gap-3">
<Image src={Bell} alt="bell" width={150} height={150} />
<div className="bg-white w-[366px] p-6 text-center">
<h2 className="text-2xl font-semibold text-gray-800 mb-4">No notification</h2>
<p className="text-gray-600">
Your notification is empty. Once you receive a notification, it will appear here.
</p>
</div>
</div>
</div>
</div>
);
}

export default Notification;
12 changes: 12 additions & 0 deletions pages/notification/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from "react";
import Notification from "../../components/notification";

function index() {
return (
<div>
<Notification />
</div>
);
}

export default index;
Binary file added public/images/bell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.