diff --git a/app/(core)/components/Popup.tsx b/app/(core)/components/Popup.tsx index 15ea2a7..9491955 100644 --- a/app/(core)/components/Popup.tsx +++ b/app/(core)/components/Popup.tsx @@ -93,9 +93,19 @@ const Popup: React.FC = ({
-

{title}

- {description &&

{description}

} - +
+
+

{title}

+ {description &&

{description}

} +
+ +
{children}
@@ -108,9 +118,6 @@ const Popup: React.FC = ({ {btn.label} ))} - - Close -
diff --git a/app/(core)/styles/popup.css b/app/(core)/styles/popup.css index a9b441b..c61916d 100644 --- a/app/(core)/styles/popup.css +++ b/app/(core)/styles/popup.css @@ -67,6 +67,18 @@ cursor: pointer; } +.popup-header { + position: relative; + margin-bottom: 1rem; +} + +.popup-close-btn { + position: absolute; + top: 0; + right: 0; + margin-top: 1.5rem; +} + .feedback-form { margin: 20px 0; display: flex; diff --git a/public/sitemap.xml b/public/sitemap.xml index ed6f324..2080bf6 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -91,7 +91,7 @@ 0.8 - https://physicshub.github.io/blog/physics-pendulum-comprehensive-educational-guide + https://physicshub.github.io/blog/physics-of-pendulum-explained monthly 0.8