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
---
.eslintrc.json | 3 -
.gitignore | 42 +-
.vscode/extensions.json | 4 +
.vscode/launch.json | 11 +
README.md | 2 +
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 --
astro.config.mjs | 18 +
next.config.mjs | 4 -
package-lock.json | 8518 ++++++++++++++++++++++++--------------------
package.json | 38 +-
postcss.config.mjs | 8 -
public/favicon.ico | Bin 0 -> 5238 bytes
src/components/Cidr.tsx | 220 ++
src/pages/index.astro | 69 +
src/styles/global.css | 1 +
tailwind.config.ts | 19 -
tsconfig.json | 36 +-
22 files changed, 4960 insertions(+), 4327 deletions(-)
delete mode 100644 .eslintrc.json
create mode 100644 .vscode/extensions.json
create mode 100644 .vscode/launch.json
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
create mode 100644 astro.config.mjs
delete mode 100644 next.config.mjs
delete mode 100644 postcss.config.mjs
create mode 100644 public/favicon.ico
create mode 100644 src/components/Cidr.tsx
create mode 100644 src/pages/index.astro
create mode 100644 src/styles/global.css
delete mode 100644 tailwind.config.ts
diff --git a/.eslintrc.json b/.eslintrc.json
deleted file mode 100644
index 3722418..0000000
--- a/.eslintrc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "extends": ["next/core-web-vitals", "next/typescript"]
-}
diff --git a/.gitignore b/.gitignore
index fd3dbb5..16d54bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,36 +1,24 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+# build output
+dist/
+# generated types
+.astro/
# dependencies
-/node_modules
-/.pnp
-.pnp.js
-.yarn/install-state.gz
+node_modules/
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
+# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
+pnpm-debug.log*
+
-# local env files
-.env*.local
+# environment variables
+.env
+.env.production
-# vercel
-.vercel
+# macOS-specific files
+.DS_Store
-# typescript
-*.tsbuildinfo
-next-env.d.ts
+# jetbrains setting folder
+.idea/
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 0000000..22a1505
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,4 @@
+{
+ "recommendations": ["astro-build.astro-vscode"],
+ "unwantedRecommendations": []
+}
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..d642209
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,11 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "command": "./node_modules/.bin/astro dev",
+ "name": "Development server",
+ "request": "launch",
+ "type": "node-terminal"
+ }
+ ]
+}
diff --git a/README.md b/README.md
index d820fa3..44c0957 100644
--- a/README.md
+++ b/README.md
@@ -16,3 +16,5 @@ $ npm run dev
## Deployment
Deployment is automated from `master` branch via Vercel.
+
+
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.
-+ 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. +
+