refactor: the component ,feat: add tables in componente
This commit is contained in:
parent
b4b023ec32
commit
e10c25fc3e
File diff suppressed because it is too large
Load Diff
|
|
@ -8,6 +8,9 @@ import {
|
||||||
Radar,
|
Radar,
|
||||||
Settings,
|
Settings,
|
||||||
Star,
|
Star,
|
||||||
|
Workflow,
|
||||||
|
DiscAlbum,
|
||||||
|
LucideLightbulb
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
import { Link, useLocation } from "react-router";
|
import { Link, useLocation } from "react-router";
|
||||||
|
|
@ -95,15 +98,9 @@ const menuItems: MenuItem[] = [
|
||||||
{
|
{
|
||||||
id: "ideas",
|
id: "ideas",
|
||||||
label: "ایدههای فناوری و نوآوری",
|
label: "ایدههای فناوری و نوآوری",
|
||||||
icon: House,
|
icon: LucideLightbulb,
|
||||||
href: "/dashboard/manage-ideas-tech",
|
href: "/dashboard/manage-ideas-tech",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: "top-innovations",
|
|
||||||
label: "نوآور برتر",
|
|
||||||
icon: Star,
|
|
||||||
href: "/dashboard/top-innovations",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "strategic-alignment",
|
id: "strategic-alignment",
|
||||||
label: "میزان انطباق راهبردی",
|
label: "میزان انطباق راهبردی",
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { cn } from "~/lib/utils"
|
||||||
|
|
||||||
interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
|
interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
|
||||||
containerClassName?: string
|
containerClassName?: string
|
||||||
containerRef?: React.RefObject<HTMLDivElement>
|
containerRef?: React.RefObject<HTMLDivElement | null>
|
||||||
}
|
}
|
||||||
|
|
||||||
const Table = React.forwardRef<HTMLTableElement, TableProps>(
|
const Table = React.forwardRef<HTMLTableElement, TableProps>(
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ export default function EcosystemPage() {
|
||||||
return (
|
return (
|
||||||
<ProtectedRoute requireAuth={true}>
|
<ProtectedRoute requireAuth={true}>
|
||||||
<DashboardLayout title="زیست بوم فناوری">
|
<DashboardLayout title="زیست بوم فناوری">
|
||||||
<div className="">
|
<div>
|
||||||
<div className="grid grid-cols-1 items-start lg:grid-cols-12 gap-4">
|
<div className="grid grid-cols-1 items-start lg:grid-cols-12 gap-4">
|
||||||
<div className="lg:col-span-4">
|
<div className="lg:col-span-4">
|
||||||
<InfoPanel selectedCompany={selectedCompany} />
|
<InfoPanel selectedCompany={selectedCompany} />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user