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

app/sidebar updated #29

Merged
merged 1 commit into from
May 2, 2024
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { BsBook, BsBuilding, BsPeople } from "react-icons/bs";
import { FiHome, FiSettings } from "react-icons/fi";
import { BiSupport } from "react-icons/bi";
import { IoCreateOutline } from "react-icons/io5";
import { CiBoxList } from "react-icons/ci";

export const adminSidebarItems = [
{
Expand All @@ -13,6 +15,9 @@ export const adminSidebarItems = [
title: "Kullanıcı Yönetimi",
icon: <BsPeople />,
href: "/admin/users",
subItems: [

],
target: "_self",
},
{
Expand Down
301 changes: 301 additions & 0 deletions LibraryTrackingApp/src/frontend/constants/appSidebarItems.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,301 @@
import {
FiHome,
FiSettings,
FiLogOut,
FiBook,
FiHelpCircle,
} from "react-icons/fi";
import {
BsArrowLeftRight,
BsBook,
BsBuilding,
BsPeople,
BsPeopleFill,
BsPerson,
BsTagFill,
} from "react-icons/bs";
import { FaBookOpen } from "react-icons/fa";
import { BsFileEarmarkText, BsFillMicFill, BsNewspaper } from "react-icons/bs";
import { FaGraduationCap } from "react-icons/fa";

import { BiSupport } from "react-icons/bi";
import { IoCreateOutline } from "react-icons/io5";

import { CiBoxList } from "react-icons/ci";

export const sidebarItems = [
{
title: "Ana Sayfa",
icon: <FiHome />,
href: "/app",
target: "_self",
subItems: [],
},
{
title: "Kütüphane Yönetimi",
icon: <BsBuilding />,
href: null,
target: "_self",
subItems: [
{
icon: <IoCreateOutline />,
title: "Yeni Ekle",
href: "/app/library/new",
target: "_self",
},
{
icon: <CiBoxList />,
title: "Listele",
href: "/app/library",
target: "_self",
},
],
},
{
title: "Yazar Yönetimi",
icon: <BsPerson />,
href: null,
target: "_self",
subItems: [
{
icon: <IoCreateOutline />,
title: "Yeni Ekle",
href: "/app/author/new",
target: "_self",
},
{
icon: <CiBoxList />,
title: "Listele",
href: "/app/author",
target: "_self",
},
],
},
{
title: "Eser Kataloğu",
icon: <BsBook />,
href: null,
target: "_self",
subItems: [
{
icon: <IoCreateOutline />,
title: "Yeni Ekle",
href: "/app/work-catalog/new",
target: "_self",
},
{
icon: <CiBoxList />,
title: "Listele",
href: "/app/work-catalog",
target: "_self",
},
],
},
{
title: "Eser Envanter",
icon: <BsBook />,
href: null,
target: "_self",
subItems: [
{
title: "Basılı Kitap",
icon: <BsBook />,
href: "/app/printed-books",
target: "_self",
},
{
title: "E-Kitap",
icon: <BsFileEarmarkText />,
href: "/app/e-books",
target: "_self",
},
{
title: "Sesli Kitap",
icon: <BsFillMicFill />,
href: "/app/audio-books",
target: "_self",
},
{
title: "Dergi",
icon: <BsNewspaper />,
href: "/app/magazines",
target: "_self",
},
{
title: "Tez",
icon: <FaGraduationCap />,
href: "/app/thesis",
target: "_self",
},
],
},
{
title: "Tür Yönetimi",
icon: <FaBookOpen />,
href: null,
target: "_self",
subItems: [
{
icon: <IoCreateOutline />,
title: "Yeni Ekle",
href: "/app/genre/new",
target: "_self",
},
{
icon: <CiBoxList />,
title: "Listele",
href: "/app/genre",
target: "_self",
},
],
},
{
title: "Üye Yönetimi",
icon: <BsPeople />,
href: "/app/members",
target: "_self",
subItems: [
{
icon: <IoCreateOutline />,
title: "Yeni Ekle",
href: "/app/members/new",
target: "_self",
},
{
icon: <CiBoxList />,
title: "Listele",
href: "/app/members",
target: "_self",
},
],
},
{
title: "Personel Yönetimi",
icon: <BsPeopleFill />,
href: "/app/staff",
target: "_self",
subItems: [
{
icon: <IoCreateOutline />,
title: "Yeni Ekle",
href: "/app/staff/new",
target: "_self",
},
{
icon: <CiBoxList />,
title: "Listele",
href: "/app/staff",
target: "_self",
},
],
},
{
title: "Ödünç Kitap Yönetimi",
icon: <BsArrowLeftRight />,
href: null,
target: "_self",
subItems: [
{
icon: <IoCreateOutline />,
title: "Ödünç Ver",
href: "/app/borrow/give",
target: "_self",
},
{
icon: <BsArrowLeftRight />,
title: "İade Al/Teslim Al",
href: "/app/borrow/return",
target: "_self",
},
{
icon: <CiBoxList />,
title: "Ödünç Kitapları Listele",
href: "/app/borrow",
target: "_self",
},
],
},
{
title: "Kitap Etiket Yönetimi",
icon: <BsTagFill />,
href: null,
target: "_self",
subItems: [
{
icon: <IoCreateOutline />,
title: "Ödünç Ver",
href: 'book-tag/new',
target: "_self",
},
{
icon: <BsArrowLeftRight />,
title: "Etiketleri Listele",
href: "book-tag",
target: "_self",
},
],
},
{
title: "Ayarlar",
icon: <FiSettings />,
href: "/app/settings",
target: "_self",
},
{
title: "Geliştirici Belgeleri",
icon: <FiBook />,
href: "/docs",
target: "_blank",
},
{
title: "Destek",
icon: <BiSupport />,
href: "/app/support",
target: "_self",
},
{
title: "Çıkış Yap",
icon: <FiLogOut />,
href: "/app/logout",
target: "_self",
},
];

export const items = [
{
title: "Kütüphane",
description: "Kütüphane bilgilerini düzenleyin, yeni kütüphaneler ekleyin.",
link: "/app/library",
},
{
title: "Üyeler",
description: "Üyeleri yönetin, yeni üyeler ekleyin.",
link: "/app/member",
},
{
title: "Kitaplar",
description: "Kitapları düzenleyin, yeni kitaplar ekleyin.",
link: "/app/book",
},
{
title: "Personel",
description: "Personel bilgilerini yönetin, yeni personel ekleyin.",
link: "/app/staff",
},
{
title: "Ödünç Verme",
description: "Kitap ödünç verme işlemlerini yönetin.",
link: "/app/borrow",
},
{
title: "Kitap Türleri",
description: "Kitap türlerini düzenleyin, yeni türler ekleyin.",
link: "/app/genre",
},
{
title: "Kitap Etiketleri",
description:
"Arama terimlerini yönetin, popüler arama terimlerini görüntüleyin ve düzenleyin.",
link: "/app/book-tag",
},
];
Loading
Loading