Some tweaks regarding the beautiful dashboard, it's so beautiful. You've never seen anything like it. The best, we only want THE BEST. Chyna
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "@/app/globals.css";
|
||||
import Navbar from "@/components/nav-bar";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
|
||||
@@ -6,12 +6,10 @@ import {
|
||||
BookOpen,
|
||||
Bot,
|
||||
Command,
|
||||
Frame,
|
||||
Users,
|
||||
GalleryVerticalEnd,
|
||||
Map,
|
||||
PieChart,
|
||||
Settings2,
|
||||
SquareTerminal,
|
||||
Calendar,
|
||||
} from "lucide-react";
|
||||
|
||||
import { NavMain } from "@/components/nav-main";
|
||||
@@ -35,123 +33,61 @@ const data = {
|
||||
},
|
||||
teams: [
|
||||
{
|
||||
name: "Acme Inc",
|
||||
name: "Latosa-Escrima",
|
||||
logo: GalleryVerticalEnd,
|
||||
plan: "Enterprise",
|
||||
plan: "",
|
||||
},
|
||||
{
|
||||
name: "Acme Corp.",
|
||||
logo: AudioWaveform,
|
||||
plan: "Startup",
|
||||
},
|
||||
{
|
||||
name: "Evil Corp.",
|
||||
name: "Wing-Tsun",
|
||||
logo: Command,
|
||||
plan: "Free",
|
||||
plan: "",
|
||||
},
|
||||
],
|
||||
navMain: [
|
||||
{
|
||||
title: "Playground",
|
||||
url: "#",
|
||||
icon: SquareTerminal,
|
||||
title: "Membres",
|
||||
url: "/dashboard/members",
|
||||
icon: Users,
|
||||
isActive: true,
|
||||
items: [
|
||||
{
|
||||
title: "History",
|
||||
url: "#",
|
||||
},
|
||||
{
|
||||
title: "Starred",
|
||||
url: "#",
|
||||
},
|
||||
{
|
||||
title: "Settings",
|
||||
url: "#",
|
||||
title: "Création d'un membre",
|
||||
url: "/dashboard/members/new",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Models",
|
||||
url: "#",
|
||||
icon: Bot,
|
||||
items: [
|
||||
{
|
||||
title: "Genesis",
|
||||
url: "#",
|
||||
title: "Planning",
|
||||
url: "/dashboard/planning",
|
||||
icon: Calendar,
|
||||
},
|
||||
{
|
||||
title: "Explorer",
|
||||
url: "#",
|
||||
},
|
||||
{
|
||||
title: "Quantum",
|
||||
url: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Documentation",
|
||||
url: "#",
|
||||
title: "Blogs",
|
||||
url: "/dashboard/blogs",
|
||||
icon: BookOpen,
|
||||
items: [
|
||||
{
|
||||
title: "Introduction",
|
||||
url: "#",
|
||||
title: "Catégorie 1",
|
||||
url: "/dashboard/blogs/categorie-1",
|
||||
},
|
||||
{
|
||||
title: "Get Started",
|
||||
url: "#",
|
||||
title: "Catégorie 2",
|
||||
url: "/dashboard/blogs/categorie-2",
|
||||
},
|
||||
{
|
||||
title: "Tutorials",
|
||||
url: "#",
|
||||
title: "Nouvelle catégorie",
|
||||
url: "/dashboard/blogs/categories/new",
|
||||
},
|
||||
{
|
||||
title: "Changelog",
|
||||
url: "#",
|
||||
title: "Nouvel article",
|
||||
url: "/dashboard/blogs/new",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Settings",
|
||||
url: "#",
|
||||
url: "/dashboard/settings",
|
||||
icon: Settings2,
|
||||
items: [
|
||||
{
|
||||
title: "General",
|
||||
url: "#",
|
||||
},
|
||||
{
|
||||
title: "Team",
|
||||
url: "#",
|
||||
},
|
||||
{
|
||||
title: "Billing",
|
||||
url: "#",
|
||||
},
|
||||
{
|
||||
title: "Limits",
|
||||
url: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
projects: [
|
||||
{
|
||||
name: "Design Engineering",
|
||||
url: "#",
|
||||
icon: Frame,
|
||||
},
|
||||
{
|
||||
name: "Sales & Marketing",
|
||||
url: "#",
|
||||
icon: PieChart,
|
||||
},
|
||||
{
|
||||
name: "Travel",
|
||||
url: "#",
|
||||
icon: Map,
|
||||
},
|
||||
],
|
||||
};
|
||||
@@ -164,7 +100,6 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
|
||||
</SidebarHeader>
|
||||
<SidebarContent>
|
||||
<NavMain items={data.navMain} />
|
||||
<NavProjects projects={data.projects} />
|
||||
</SidebarContent>
|
||||
<SidebarFooter>
|
||||
<NavUser user={data.user} />
|
||||
|
||||
@@ -76,7 +76,7 @@ const subMenuItemsTwo = [
|
||||
|
||||
const Navbar = () => {
|
||||
return (
|
||||
<section className="p-4 top-0 sticky bg-white z-[100]">
|
||||
<section className="p-4 bg-white top-0 sticky z-[100]">
|
||||
<div className="">
|
||||
<nav className="hidden justify-between lg:flex">
|
||||
<div className="flex items-center gap-6">
|
||||
|
||||
@@ -78,15 +78,15 @@ export function TeamSwitcher({
|
||||
</DropdownMenuShortcut>
|
||||
</DropdownMenuItem>
|
||||
))}
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuItem className="gap-2 p-2">
|
||||
{/*<DropdownMenuSeparator />*/}
|
||||
{/*<DropdownMenuItem className="gap-2 p-2">
|
||||
<div className="flex size-6 items-center justify-center rounded-md border bg-background">
|
||||
<Plus className="size-4" />
|
||||
</div>
|
||||
<div className="font-medium text-muted-foreground">
|
||||
Add team
|
||||
</div>
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuItem> */}
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
</SidebarMenuItem>
|
||||
|
||||
17
latosa-frontend/dashboard.yaml
Normal file
17
latosa-frontend/dashboard.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
- Gestion des membres:
|
||||
- Et par conséquent des utilisateurs
|
||||
- Gestions des licences membres ?
|
||||
- Gestion du planning:
|
||||
- Pouvoir gérer les séances (il y a un planning par défaut qui peut être modifier de jour en jour, en cas de toute éventualité).
|
||||
- Membres peuvent suivre certains jours du planning (voulant dire qu'il seront présents)
|
||||
- Mettre une limite totale par séance (on peut pas être une centaine)
|
||||
- En cas d'annulation, les membres peuvent être prévenus par mail (s'il active sur le compte membre)
|
||||
- Liaison avec Google Calendar et abonnement ics
|
||||
- Gesion des blogs:
|
||||
- Intérêt: Actualités, Histoire (de l'art martial), Cours ? -> Donc création de catégories
|
||||
- Editeur d'article
|
||||
- Paramètres:
|
||||
- Paramètres compte
|
||||
- Paramètres site:
|
||||
- Lien API (Google)
|
||||
- Activation de l'auto-inscription des comptes utilisateurs
|
||||
Reference in New Issue
Block a user