Add Tab title in whole application
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CreateAdminForm from "@/components/forms/admins/CreateAdmin";
|
||||
import CreateCompany from "@/components/forms/companies/CreateCompany";
|
||||
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Company",
|
||||
};
|
||||
const CreateCompanyPage = () => {
|
||||
const breadcrumbItems = [
|
||||
{ name: "Dashboard", href: "/" },
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import type { PropsWithChildren } from "react";
|
||||
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Company Details",
|
||||
};
|
||||
|
||||
export default function Layout({ children }: PropsWithChildren) {
|
||||
return children;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import type { PropsWithChildren } from "react";
|
||||
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Edit Company",
|
||||
};
|
||||
|
||||
export default function Layout({ children }: PropsWithChildren) {
|
||||
return children;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import type { PropsWithChildren } from "react";
|
||||
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Company Feedbacks",
|
||||
};
|
||||
|
||||
export default function Layout({ children }: PropsWithChildren) {
|
||||
return children;
|
||||
}
|
||||
@@ -1,6 +1,9 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CompaniesTable from "@/components/Tables/companies";
|
||||
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Companies",
|
||||
};
|
||||
const Companies = () => {
|
||||
const breadcrumbItems = [
|
||||
{ name: "Dashboard", href: "/" },
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CreateCompanyCategoryForm from "@/components/forms/companies/company-categories/CreateCompanyCategory";
|
||||
import { BreadcrumbItem } from "@/types/shared";
|
||||
import { Metadata } from "next";
|
||||
|
||||
interface IProps {}
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Company category",
|
||||
};
|
||||
|
||||
const CreateCompanyCategoryPage = ({}: IProps) => {
|
||||
const CreateCompanyCategoryPage = () => {
|
||||
const breadcrumbItems: BreadcrumbItem[] = [
|
||||
{ href: "/", name: "Dashboard" },
|
||||
{ href: "/company-categories", name: "Company Categories" },
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CompanyCategoriesTable from "@/components/Tables/companies/company-categories";
|
||||
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Company categories",
|
||||
};
|
||||
const CompanyCategoryList = () => {
|
||||
const breadcrumbItems = [
|
||||
{ name: "Dashboard", href: "/" },
|
||||
|
||||
@@ -4,6 +4,7 @@ import { WeeksProfit } from "@/components/Charts/weeks-profit";
|
||||
import { TopChannels } from "@/components/Tables/top-channels";
|
||||
import { TopChannelsSkeleton } from "@/components/Tables/top-channels/skeleton";
|
||||
import { createTimeFrameExtractor } from "@/utils/timeframe-extractor";
|
||||
import { Metadata } from "next";
|
||||
import { Suspense } from "react";
|
||||
import { ChatsCard } from "./_components/chats-card";
|
||||
import { OverviewCardsGroup } from "./_components/overview-cards";
|
||||
@@ -15,6 +16,9 @@ type PropsType = {
|
||||
selected_time_frame?: string;
|
||||
}>;
|
||||
};
|
||||
export const metadata: Metadata = {
|
||||
title: "Tender Dashboard",
|
||||
};
|
||||
|
||||
export default async function Home({ searchParams }: PropsType) {
|
||||
const { selected_time_frame } = await searchParams;
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CreateNotificationForm from "@/components/forms/notifications/CreateNotification";
|
||||
import { BreadcrumbItem } from "@/types/shared";
|
||||
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Notification",
|
||||
};
|
||||
const CreateNotificationPage = () => {
|
||||
const breadcrumbItems: BreadcrumbItem[] = [
|
||||
{
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import NotificationHistoryTable from "@/components/Tables/notification-history";
|
||||
import { BreadcrumbItem } from "@/types/shared";
|
||||
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Notifications",
|
||||
};
|
||||
const NotificationHistoryPage = () => {
|
||||
const breadcrumbItems: BreadcrumbItem[] = [
|
||||
{
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CreateAdminForm from "@/components/forms/admins/CreateAdmin";
|
||||
|
||||
interface IProps {}
|
||||
|
||||
const CreateAdminPage = ({}: IProps) => {
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Admin",
|
||||
};
|
||||
const CreateAdminPage = () => {
|
||||
const breadcrumbItems = [
|
||||
{ name: "Dashboard", href: "/" },
|
||||
{ name: "Admins", href: "/admins" },
|
||||
|
||||
@@ -4,7 +4,7 @@ import AdminsTable from "@/components/Tables/admins";
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Admins Page",
|
||||
title: "Admins",
|
||||
};
|
||||
const AdminsPage = () => {
|
||||
const breadcrumbItems = [
|
||||
|
||||
@@ -9,7 +9,7 @@ export default function SignIn() {
|
||||
return (
|
||||
<div className="flex h-svh flex-col items-center justify-center">
|
||||
<div className="shadow-3xl m-auto flex w-1/2 flex-col items-center justify-center rounded-2xl bg-white dark:bg-gray-dark dark:shadow-card">
|
||||
<div className="flex w-full flex-wrap items-center justify-center">
|
||||
<div className="relative flex w-full flex-wrap items-center justify-center">
|
||||
<div className="w-full xl:w-1/2">
|
||||
<div className="w-full p-4 sm:p-12.5 xl:p-15">
|
||||
<Signin />
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/Users/amirrezajamali/Documents/Dev/tender/src/app/(companies)/companies
|
||||
@@ -1,7 +1,10 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import ContactUsTable from "@/components/Tables/contact-us";
|
||||
import { BreadcrumbItem } from "@/types/shared";
|
||||
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Contact Us",
|
||||
};
|
||||
const ContactUsPage = () => {
|
||||
const breadcrumbItems: BreadcrumbItem[] = [
|
||||
{
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
"use client";
|
||||
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CreateCustomer from "@/components/forms/customers/CreateCustomer";
|
||||
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Customer",
|
||||
};
|
||||
const CreateCustomerPage = () => {
|
||||
const breadcrumbItems = [
|
||||
{ name: "Dashboard", href: "/" },
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CustomersTable from "@/components/Tables/customers";
|
||||
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Customers",
|
||||
};
|
||||
const CustomersPage = () => {
|
||||
const breadcrumbItems = [
|
||||
{ name: "Dashboard", href: "/" },
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import InquiriesTable from "@/components/Tables/inquiries";
|
||||
import { BreadcrumbItem } from "@/types/shared";
|
||||
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Inquiries",
|
||||
};
|
||||
const InquiriesPage = () => {
|
||||
const breadcrumbItems: BreadcrumbItem[] = [
|
||||
{
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CmsTable from "@/components/Tables/cms";
|
||||
import { BreadcrumbItem } from "@/types/shared";
|
||||
|
||||
import { Metadata } from "next";
|
||||
export const metadata: Metadata = {
|
||||
title: "Marketing",
|
||||
};
|
||||
const MarketingPage = () => {
|
||||
const breadcrumbItems: BreadcrumbItem[] = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user