From c8d6dc54e2ee44daa00b11c6300f4f0d6ef32186 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 8 May 2025 21:31:00 +0200 Subject: Initial migration to AstroJS --- app/favicon.ico | Bin 5238 -> 0 bytes app/fonts/GeistMonoVF.woff | Bin 67864 -> 0 bytes app/fonts/GeistVF.woff | Bin 66268 -> 0 bytes app/globals.css | 20 ---- app/layout.tsx | 36 ------- app/page.tsx | 238 --------------------------------------------- 6 files changed, 294 deletions(-) delete mode 100644 app/favicon.ico delete mode 100644 app/fonts/GeistMonoVF.woff delete mode 100644 app/fonts/GeistVF.woff delete mode 100644 app/globals.css delete mode 100644 app/layout.tsx delete mode 100644 app/page.tsx (limited to 'app') diff --git a/app/favicon.ico b/app/favicon.ico deleted file mode 100644 index 22b08b5..0000000 Binary files a/app/favicon.ico and /dev/null differ diff --git a/app/fonts/GeistMonoVF.woff b/app/fonts/GeistMonoVF.woff deleted file mode 100644 index f2ae185..0000000 Binary files a/app/fonts/GeistMonoVF.woff and /dev/null differ diff --git a/app/fonts/GeistVF.woff b/app/fonts/GeistVF.woff deleted file mode 100644 index 1b62daa..0000000 Binary files a/app/fonts/GeistVF.woff and /dev/null differ diff --git a/app/globals.css b/app/globals.css deleted file mode 100644 index d35f829..0000000 --- a/app/globals.css +++ /dev/null @@ -1,20 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; - -:root { - --background: #ffffff; - --foreground: #171717; -} - -body { - color: var(--foreground); - background: var(--background); - font-family: Arial, Helvetica, sans-serif; -} - -@layer utilities { - .text-balance { - text-wrap: balance; - } -} \ No newline at end of file diff --git a/app/layout.tsx b/app/layout.tsx deleted file mode 100644 index 763e026..0000000 --- a/app/layout.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import type { Metadata } from "next"; -import { GoogleAnalytics } from '@next/third-parties/google' - -import localFont from "next/font/local"; -import "./globals.css"; - -const geistSans = localFont({ - src: "./fonts/GeistVF.woff", - variable: "--font-geist-sans", - weight: "100 900", -}); -const geistMono = localFont({ - src: "./fonts/GeistMonoVF.woff", - variable: "--font-geist-mono", - weight: "100 900", -}); - -export const metadata: Metadata = { - title: "Interactive visual CIDR and IP range calculator", - description: "Interactive tool for IP and CIDR calculations. Visualize subnet analysis and IP ranges. Educational resource for network planning and IT learning.", -}; - -export default function RootLayout({ - children, -}: Readonly<{ - children: React.ReactNode; -}>) { - return ( - -
- {children} - -CIDR (Classless Inter-Domain Routing) notation is a compact method for specifying IP address ranges and network masks. It is widely used in network configuration and management.
-An IP address consists of 4 octets, each containing 8 bits that represent values from 0 to 255. In CIDR notation, a forward slash (/) followed by a number indicates the length of the network prefix in bits.
-This prefix length determines the network mask and the number of available host addresses within the specified IP range. This calculator helps you visualize and understand these CIDR blocks, making network planning and configuration easier.
-