Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions app/(main)/ClientComponents/detail/ServerIPInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function ServerIPInfo({ server_id }: { server_id: number }) {
return (
<section className="mb-4 flex flex-wrap gap-2">
{data.asn?.autonomous_system_organization && (
<Card className="rounded-[10px] border-none bg-transparent shadow-none">
<Card className="rounded-[10px] border-none bg-transparent shadow-none ring-0">
<CardContent className="px-1.5 py-1">
<section className="flex flex-col items-start gap-0.5">
<p className="text-muted-foreground text-xs">{"ASN"}</p>
Expand All @@ -40,7 +40,7 @@ export default function ServerIPInfo({ server_id }: { server_id: number }) {
</Card>
)}
{data.asn?.autonomous_system_number && (
<Card className="rounded-[10px] border-none bg-transparent shadow-none">
<Card className="rounded-[10px] border-none bg-transparent shadow-none ring-0">
<CardContent className="px-1.5 py-1">
<section className="flex flex-col items-start gap-0.5">
<p className="text-muted-foreground text-xs">{t("asn_number")}</p>
Expand All @@ -50,7 +50,7 @@ export default function ServerIPInfo({ server_id }: { server_id: number }) {
</Card>
)}
{data.city?.registered_country?.names.en && (
<Card className="rounded-[10px] border-none bg-transparent shadow-none">
<Card className="rounded-[10px] border-none bg-transparent shadow-none ring-0">
<CardContent className="px-1.5 py-1">
<section className="flex flex-col items-start gap-0.5">
<p className="text-muted-foreground text-xs">{t("registered_country")}</p>
Expand All @@ -60,7 +60,7 @@ export default function ServerIPInfo({ server_id }: { server_id: number }) {
</Card>
)}
{data.city?.country?.iso_code && (
<Card className="rounded-[10px] border-none bg-transparent shadow-none">
<Card className="rounded-[10px] border-none bg-transparent shadow-none ring-0">
<CardContent className="px-1.5 py-1">
<section className="flex flex-col items-start gap-0.5">
<p className="text-muted-foreground text-xs">{"ISO"}</p>
Expand All @@ -70,7 +70,7 @@ export default function ServerIPInfo({ server_id }: { server_id: number }) {
</Card>
)}
{data.city?.city?.names.en && (
<Card className="rounded-[10px] border-none bg-transparent shadow-none">
<Card className="rounded-[10px] border-none bg-transparent shadow-none ring-0">
<CardContent className="px-1.5 py-1">
<section className="flex flex-col items-start gap-0.5">
<p className="text-muted-foreground text-xs">{t("city")}</p>
Expand All @@ -80,7 +80,7 @@ export default function ServerIPInfo({ server_id }: { server_id: number }) {
</Card>
)}
{data.city?.location?.longitude && (
<Card className="rounded-[10px] border-none bg-transparent shadow-none">
<Card className="rounded-[10px] border-none bg-transparent shadow-none ring-0">
<CardContent className="px-1.5 py-1">
<section className="flex flex-col items-start gap-0.5">
<p className="text-muted-foreground text-xs">{t("longitude")}</p>
Expand All @@ -90,7 +90,7 @@ export default function ServerIPInfo({ server_id }: { server_id: number }) {
</Card>
)}
{data.city?.location?.latitude && (
<Card className="rounded-[10px] border-none bg-transparent shadow-none">
<Card className="rounded-[10px] border-none bg-transparent shadow-none ring-0">
<CardContent className="px-1.5 py-1">
<section className="flex flex-col items-start gap-0.5">
<p className="text-muted-foreground text-xs">{t("latitude")}</p>
Expand All @@ -100,7 +100,7 @@ export default function ServerIPInfo({ server_id }: { server_id: number }) {
</Card>
)}
{data.city?.location?.time_zone && (
<Card className="rounded-[10px] border-none bg-transparent shadow-none">
<Card className="rounded-[10px] border-none bg-transparent shadow-none ring-0">
<CardContent className="px-1.5 py-1">
<section className="flex flex-col items-start gap-0.5">
<p className="text-muted-foreground text-xs">{t("time_zone")}</p>
Expand All @@ -110,7 +110,7 @@ export default function ServerIPInfo({ server_id }: { server_id: number }) {
</Card>
)}
{data.city?.postal && (
<Card className="rounded-[10px] border-none bg-transparent shadow-none">
<Card className="rounded-[10px] border-none bg-transparent shadow-none ring-0">
<CardContent className="px-1.5 py-1">
<section className="flex flex-col items-start gap-0.5">
<p className="text-muted-foreground text-xs">{t("postal_code")}</p>
Expand Down
10 changes: 2 additions & 8 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { ThemeColorManager } from "@/components/ThemeColorManager"
import getEnv from "@/lib/env-entry"
import { cn } from "@/lib/utils"
import "@/styles/globals.css"
import "flag-icons/css/flag-icons.min.css"
import "font-logos/assets/font-logos.css"
import type { Metadata, Viewport } from "next"
import { Inter as FontSans } from "next/font/google"
import { NextIntlClientProvider } from "next-intl"
Expand Down Expand Up @@ -49,14 +51,6 @@ export default async function LocaleLayout({ children }: { children: React.React
<html lang={locale} suppressHydrationWarning>
<head>
<PublicEnvScript />
<link
rel="stylesheet"
href="https://fastly.jsdelivr.net/gh/lipis/[email protected]/css/flag-icons.min.css"
/>
<link
rel="stylesheet"
href="https://fastly.jsdelivr.net/npm/font-logos@1/assets/font-logos.css"
/>
</head>
<body className={cn("min-h-screen bg-background font-sans antialiased", fontSans.variable)}>
<ThemeProvider
Expand Down
Loading