diff --git a/app/(protected)/dashboard/info-card.tsx b/app/(protected)/dashboard/info-card.tsx index f0bcaa3..cca0379 100644 --- a/app/(protected)/dashboard/info-card.tsx +++ b/app/(protected)/dashboard/info-card.tsx @@ -16,7 +16,7 @@ export async function DNSInfoCard({ userId }: { userId: string }) { DNS Records @@ -48,7 +48,7 @@ export async function UrlsInfoCard({ userId }: { userId: string }) { Short URLs diff --git a/app/(protected)/dashboard/page.tsx b/app/(protected)/dashboard/page.tsx index 73b5ee4..a9b4899 100644 --- a/app/(protected)/dashboard/page.tsx +++ b/app/(protected)/dashboard/page.tsx @@ -22,12 +22,15 @@ export default async function DashboardPage() { return ( <> - +
-
-

- Try free trail +
+

+ Free Records & URLs

Learn more from{" "} @@ -36,7 +39,7 @@ export default async function DashboardPage() { href="/docs" target="_blank" > - document. + documents. {" "}

diff --git a/app/(protected)/dashboard/records/record-list.tsx b/app/(protected)/dashboard/records/record-list.tsx index 211d36d..32e1888 100644 --- a/app/(protected)/dashboard/records/record-list.tsx +++ b/app/(protected)/dashboard/records/record-list.tsx @@ -32,6 +32,12 @@ import { TableHeader, TableRow, } from "@/components/ui/table"; +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, +} from "@/components/ui/tooltip"; import StatusDot from "@/components/dashboard/status-dot"; import { FormType, RecordForm } from "@/components/forms/record-form"; import { EmptyPlaceholder } from "@/components/shared/empty-placeholder"; @@ -42,14 +48,14 @@ export interface RecordListProps { function TableColumnSekleton({ className }: { className?: string }) { return ( - + - + @@ -133,14 +139,14 @@ export default function UserRecordsList({ user }: RecordListProps) { )} - + Type Name - + Content @@ -163,15 +169,24 @@ export default function UserRecordsList({ user }: RecordListProps) { ) : data && data.length > 0 ? ( data.map((record) => ( - + {record.type} - {record.name} - - {record.content} + + {record.name.endsWith(".wr.do") + ? record.name.slice(0, -6) + : record.name} + + + + + {record.content} + {record.content} + + { diff --git a/components/layout/dashboard-sidebar.tsx b/components/layout/dashboard-sidebar.tsx index ba3c1ad..4aebf0c 100644 --- a/components/layout/dashboard-sidebar.tsx +++ b/components/layout/dashboard-sidebar.tsx @@ -72,9 +72,9 @@ export function DashboardSidebar({ links }: DashboardSidebarProps) {
{/* {isSidebarExpanded ? : null} */} {isSidebarExpanded && ( -

+ {siteConfig.name} -

+ )}
*/} +

+ © 2024{" "} + + oiov + + .
Built with{" "} + + Nextjs + {" "} + &{" "} + + Cloudflare + + . +

diff --git a/components/layout/navbar.tsx b/components/layout/navbar.tsx index e5cfc33..411f318 100644 --- a/components/layout/navbar.tsx +++ b/components/layout/navbar.tsx @@ -17,6 +17,8 @@ import { ModalContext } from "@/components/modals/providers"; import { Icons } from "@/components/shared/icons"; import MaxWidthWrapper from "@/components/shared/max-width-wrapper"; +import { ModeToggle } from "./mode-toggle"; + interface NavBarProps { scroll?: boolean; large?: boolean; @@ -98,6 +100,7 @@ export function NavBar({ scroll = false }: NavBarProps) { ) : null} + {session ? ( ) { > oiov - . Built with{" "} + .
Built with{" "} - 🎉 WR.DO Beta Launching Now! + 🎉 𝐖𝐑.𝐃𝐎 Beta Launching Now!

diff --git a/components/sections/preview-landing.tsx b/components/sections/preview-landing.tsx index 0de06bd..37a7ed0 100644 --- a/components/sections/preview-landing.tsx +++ b/components/sections/preview-landing.tsx @@ -1,5 +1,5 @@ -import darkPreview from "@/public/_static/images/dark-preview.jpg"; -import lightPreview from "@/public/_static/images/light-preview.jpg"; +import darkPreview from "@/public/_static/images/dark-preview.png"; +import lightPreview from "@/public/_static/images/light-preview.png"; import BlurImage from "@/components/shared/blur-image"; import MaxWidthWrapper from "@/components/shared/max-width-wrapper"; diff --git a/public/_static/images/dark-preview.jpg b/public/_static/images/dark-preview.jpg deleted file mode 100644 index 530edf3..0000000 Binary files a/public/_static/images/dark-preview.jpg and /dev/null differ diff --git a/public/_static/images/dark-preview.png b/public/_static/images/dark-preview.png new file mode 100644 index 0000000..82c5f38 Binary files /dev/null and b/public/_static/images/dark-preview.png differ diff --git a/public/_static/images/light-preview.jpg b/public/_static/images/light-preview.jpg deleted file mode 100644 index 6044f3c..0000000 Binary files a/public/_static/images/light-preview.jpg and /dev/null differ diff --git a/public/_static/images/light-preview.png b/public/_static/images/light-preview.png new file mode 100644 index 0000000..b630ce0 Binary files /dev/null and b/public/_static/images/light-preview.png differ