From d47b3ccf615639ee7c83a7be10aaa581e5a934e1 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 22 May 2025 13:13:14 +0200 Subject: Add embed page and more cleanup --- src/pages/embed-example.astro | 66 ------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 src/pages/embed-example.astro (limited to 'src/pages/embed-example.astro') diff --git a/src/pages/embed-example.astro b/src/pages/embed-example.astro deleted file mode 100644 index f66feab..0000000 --- a/src/pages/embed-example.astro +++ /dev/null @@ -1,66 +0,0 @@ ---- -import Layout from "../layouts/Layout.astro"; - -const title = "CIDR Calculator Widget Embed Example"; -const description = "Learn how to embed the CIDR calculator widget in your website"; ---- - - -

- CIDR Calculator Widget -

-

- Embed the CIDR Calculator in your website -

- -
-

- You can embed the CIDR calculator widget in your website or application using an iframe. - Copy the code below and adjust the width and height as needed: -

- -
<iframe 
-  src="https://cidr.xyz/embed" 
-  width="100%" 
-  height="600" 
-  frameborder="0" 
-  allowtransparency="true"
-  title="CIDR Calculator"
-  loading="lazy"
-></iframe>
- -

Live Example

-

Here's how the embedded widget looks:

-
- -
- -
- -
-

Customization

-

- The widget adapts to the width of its container. For best results: -

- - -

Usage Notes

- -
-
-- cgit v1.3.1