mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-18 07:56:57 +00:00
Site card renamed to sitepage
This commit is contained in:
parent
10847ccedd
commit
d9a26a63de
@ -2,7 +2,7 @@
|
|||||||
import Sidebar from "@/components/Sidebar";
|
import Sidebar from "@/components/Sidebar";
|
||||||
import { Plus } from "lucide-react";
|
import { Plus } from "lucide-react";
|
||||||
import AddSite from "@/components/dialogues/AddSite";
|
import AddSite from "@/components/dialogues/AddSite";
|
||||||
import Sites from "@/components/cards/Sites";
|
import Sites from "@/components/cards/Site";
|
||||||
import Pagination from "@/components/Pagination";
|
import Pagination from "@/components/Pagination";
|
||||||
import useSite from "@/hooks/useSites";
|
import useSite from "@/hooks/useSites";
|
||||||
import SearchAndLayout from "@/components/SearchAndLayout";
|
import SearchAndLayout from "@/components/SearchAndLayout";
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
"use client"
|
"use client"
|
||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import { Site } from "@/app/types";
|
import { Site as SiteType } from "@/app/types";
|
||||||
import { ChevronRight } from "lucide-react";
|
import { ChevronRight } from "lucide-react";
|
||||||
|
|
||||||
export default function Sites({ id, name, description, networks }: Site) {
|
export default function Site({ id, name, description, networks }: SiteType) {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
return (
|
return (
|
||||||
<div className="relative group bg-base-100 border border-base-200 rounded-xl shadow-xl overflow-hidden h-48" style={{ display: 'block' }}>
|
<div className="relative group bg-base-100 border border-base-200 rounded-xl shadow-xl overflow-hidden h-48" style={{ display: 'block' }}>
|
||||||
Loading…
x
Reference in New Issue
Block a user