Updated imports
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { AdvancedUrlFormCard } from "@/app/(admin)/dashboard/_components/advanced-url-form-card"
|
||||
import { getSession } from "@/lib/auth/session"
|
||||
import { AdvancedUrlFormCard } from "../_components/advanced-url-form-card"
|
||||
|
||||
export default async function DashboardCreatePage() {
|
||||
const { session, redirect } = await getSession()
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
import { DashboardSidebar } from "@/app/(admin)/dashboard/_components/sidebar"
|
||||
import { SidebarProvider } from "@/components/ui/sidebar"
|
||||
import type { Metadata } from "next"
|
||||
import { ReactNode } from "react"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Dashboard",
|
||||
description:
|
||||
"Manage your shortened URLs, view analytics, and monitor link performance. Access advanced features like custom slugs, expiration dates, and detailed statistics.",
|
||||
keywords: ["URL dashboard", "link management", "analytics", "URL statistics", "link tracking"]
|
||||
}
|
||||
import { DashboardSidebar } from "./_components/sidebar"
|
||||
|
||||
export default function DashboardLayout({
|
||||
children
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { UrlsDataTable } from "@/app/(admin)/dashboard/_components/urls-data-table"
|
||||
import { getSession } from "@/lib/auth/session"
|
||||
import { getAllUrls } from "@/lib/db/urls"
|
||||
import { UrlsDataTable } from "../_components/urls-data-table"
|
||||
|
||||
export default async function DashboardListPage() {
|
||||
const { session, redirect } = await getSession()
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { StatsCard } from "@/app/(admin)/dashboard/_components/stats-card"
|
||||
import { UrlFormCard } from "@/app/(admin)/dashboard/_components/url-form-card"
|
||||
import { getSession } from "@/lib/auth/session"
|
||||
import { getDashboardStats } from "@/lib/dashboard/stats"
|
||||
import { LinkIcon, MousePointerClick, TrendingUp } from "lucide-react"
|
||||
import { StatsCard } from "./_components/stats-card"
|
||||
import { UrlFormCard } from "./_components/url-form-card"
|
||||
|
||||
export default async function Dashboard() {
|
||||
const { session, redirect } = await getSession()
|
||||
|
||||
@@ -1,16 +1,8 @@
|
||||
import { ThemeToggle } from "@/components/theme-toggle"
|
||||
import { UserDropdown } from "@/components/user-dropdown"
|
||||
import type { Metadata } from "next"
|
||||
import Link from "next/link"
|
||||
import { ReactNode } from "react"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Linker - Free URL Shortener",
|
||||
description:
|
||||
"Transform long URLs into short, shareable links. Perfect for social media, emails, and anywhere you need clean, manageable links. Get started for free!",
|
||||
keywords: ["free URL shortener", "short links", "link shortener", "social media links", "shareable links"]
|
||||
}
|
||||
|
||||
export default function PublicLayout({
|
||||
children
|
||||
}: {
|
||||
|
||||
Reference in New Issue
Block a user