diff --git a/README-zh.md b/README-zh.md index 6a97adc..e9da511 100644 --- a/README-zh.md +++ b/README-zh.md @@ -1,5 +1,5 @@
-

๐–๐‘.๐ƒ๐Ž

+

WR.DO

Discord ยท English | ็ฎ€ไฝ“ไธญๆ–‡

ๅˆ›ๅปบ DNS ่ฎฐๅฝ•๏ผŒ็”Ÿๆˆ็Ÿญ้“พๆŽฅ

diff --git a/README.md b/README.md index 7e8d307..91062f1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
-

๐–๐‘.๐ƒ๐Ž

+

WR.DO

Discord ยท English | ็ฎ€ไฝ“ไธญๆ–‡

Craft DNS Records, Make Short Links

diff --git a/app/(protected)/dashboard/page.tsx b/app/(protected)/dashboard/page.tsx index a9b4899..0096ad9 100644 --- a/app/(protected)/dashboard/page.tsx +++ b/app/(protected)/dashboard/page.tsx @@ -11,7 +11,7 @@ import UserRecordsList from "./records/record-list"; import UserUrlsList from "./urls/url-list"; export const metadata = constructMetadata({ - title: "Dashboard - WRDO", + title: "Dashboard - WR.DO", description: "List and manage records.", }); @@ -24,7 +24,7 @@ export default async function DashboardPage() { <>
diff --git a/app/(protected)/dashboard/records/page.tsx b/app/(protected)/dashboard/records/page.tsx index 2dae5fd..f55fa38 100644 --- a/app/(protected)/dashboard/records/page.tsx +++ b/app/(protected)/dashboard/records/page.tsx @@ -7,7 +7,7 @@ import { DashboardHeader } from "@/components/dashboard/header"; import UserRecordsList from "./record-list"; export const metadata = constructMetadata({ - title: "DNS Records - WRDO", + title: "DNS Records - WR.DO", description: "List and manage records.", }); diff --git a/app/(protected)/dashboard/records/record-list.tsx b/app/(protected)/dashboard/records/record-list.tsx index 32e1888..3919a6e 100644 --- a/app/(protected)/dashboard/records/record-list.tsx +++ b/app/(protected)/dashboard/records/record-list.tsx @@ -169,7 +169,10 @@ export default function UserRecordsList({ user }: RecordListProps) { ) : data && data.length > 0 ? ( data.map((record) => ( - + {record.type} diff --git a/app/(protected)/dashboard/urls/page.tsx b/app/(protected)/dashboard/urls/page.tsx index 74ab239..3b376d4 100644 --- a/app/(protected)/dashboard/urls/page.tsx +++ b/app/(protected)/dashboard/urls/page.tsx @@ -7,7 +7,7 @@ import { DashboardHeader } from "@/components/dashboard/header"; import UserUrlsList from "./url-list"; export const metadata = constructMetadata({ - title: "Short URLs - WRDO", + title: "Short URLs - WR.DO", description: "List and manage records.", }); diff --git a/app/(protected)/dashboard/urls/url-list.tsx b/app/(protected)/dashboard/urls/url-list.tsx index 0efd116..d226e46 100644 --- a/app/(protected)/dashboard/urls/url-list.tsx +++ b/app/(protected)/dashboard/urls/url-list.tsx @@ -156,7 +156,10 @@ export default function UserUrlsList({ user }: UrlListProps) { ) : data && data.length > 0 ? ( data.map((short) => ( - + ) { - form.reset(); - toast({ - title: "You submitted the following values:", - description: ( -
-          {JSON.stringify(data, null, 2)}
-        
- ), - }); + // form.reset(); + toast.warning(`Work in progress...`); + // toast({ + // title: "You submitted the following values:", + // description: ( + //
+    //       {JSON.stringify(data, null, 2)}
+    //     
+ // ), + // }); } return ( diff --git a/components/layout/dashboard-sidebar.tsx b/components/layout/dashboard-sidebar.tsx index ccf5599..43d9068 100644 --- a/components/layout/dashboard-sidebar.tsx +++ b/components/layout/dashboard-sidebar.tsx @@ -1,6 +1,7 @@ "use client"; import { Fragment, useEffect, useState } from "react"; +import Image from "next/image"; import { usePathname } from "next/navigation"; import { NavItem, SidebarNavItem } from "@/types"; import { Menu, PanelLeftClose, PanelRightClose } from "lucide-react"; @@ -75,7 +76,11 @@ export function DashboardSidebar({ links }: DashboardSidebarProps) { {isSidebarExpanded && ( <> - + {siteConfig.name} @@ -237,11 +242,15 @@ export function MobileSheetSidebar({ links }: DashboardSidebarProps) {