diff --git a/src/components/Modal.astro b/src/components/Modal.astro new file mode 100644 index 0000000..4f7ddc4 --- /dev/null +++ b/src/components/Modal.astro @@ -0,0 +1,68 @@ +--- +interface Props { + id: string; + title: string; +} + +const { id, title } = Astro.props; +--- + +
+ + diff --git a/src/components/Tooltip.astro b/src/components/Tooltip.astro new file mode 100644 index 0000000..30649b4 --- /dev/null +++ b/src/components/Tooltip.astro @@ -0,0 +1,26 @@ +--- +interface Props { + text: string; + position?: 'top' | 'right' | 'bottom' | 'left'; +} + +const { text, position = 'top' } = Astro.props; + +const positionClasses = { + top: 'bottom-full left-1/2 mb-2 -translate-x-1/2', + right: 'left-full top-1/2 ml-2 -translate-y-1/2', + bottom: 'top-full left-1/2 mt-2 -translate-x-1/2', + left: 'right-full top-1/2 mr-2 -translate-y-1/2', +}; +--- + +- Supercharge your website with the Astro Deploy boilerplate with Docker support for - out-of-this-world web experiences. Launch today! -
-+ Supercharge your website with the Astro Deploy boilerplate with Docker support for + out-of-this-world web experiences. Launch today! +
++
Empower your success with Astro Deploy. Leverage cutting-edge technologies for seamless experiences.
@@ -94,6 +103,39 @@ const features = [ )) } ++ This is the content of a modal. It can include any HTML content. +
+ +