diff --git a/www/app/(aboutAndPrivacy)/about.tsx b/www/app/(aboutAndPrivacy)/about.tsx index 7f09d500..6c6d1577 100644 --- a/www/app/(aboutAndPrivacy)/about.tsx +++ b/www/app/(aboutAndPrivacy)/about.tsx @@ -1,6 +1,6 @@ "use client"; import React, { useState } from "react"; -import FullscreenModal from "../transcripts/fullsreenModal"; +import FullscreenModal from "./fullsreenModal"; import AboutContent from "./aboutContent"; type AboutProps = { diff --git a/www/app/transcripts/fullsreenModal.tsx b/www/app/(aboutAndPrivacy)/fullsreenModal.tsx similarity index 70% rename from www/app/transcripts/fullsreenModal.tsx rename to www/app/(aboutAndPrivacy)/fullsreenModal.tsx index 20ae6e45..fa5f3817 100644 --- a/www/app/transcripts/fullsreenModal.tsx +++ b/www/app/(aboutAndPrivacy)/fullsreenModal.tsx @@ -17,17 +17,17 @@ export default function FullscreenModal(props: ModalProps) { className="fixed z-50 cursor-pointer top-0 bottom-0 left-0 right-0 flex justify-center items-center bg-black/10" onClick={props.close} > -
+
-
+
{props.children}
diff --git a/www/app/(aboutAndPrivacy)/privacy.tsx b/www/app/(aboutAndPrivacy)/privacy.tsx index 2f0f0bc0..d352688f 100644 --- a/www/app/(aboutAndPrivacy)/privacy.tsx +++ b/www/app/(aboutAndPrivacy)/privacy.tsx @@ -1,6 +1,6 @@ "use client"; import React, { useState } from "react"; -import FullscreenModal from "../transcripts/fullsreenModal"; +import FullscreenModal from "./fullsreenModal"; import PrivacyContent from "./privacyContent"; type PrivacyProps = { diff --git a/www/app/lib/textComponents.tsx b/www/app/lib/textComponents.tsx index c7db6e23..fefd980d 100644 --- a/www/app/lib/textComponents.tsx +++ b/www/app/lib/textComponents.tsx @@ -4,13 +4,15 @@ type SimpleProps = { }; const Title = ({ children, className }: SimpleProps) => ( -

{children}

+

+ {children} +

); const Subtitle = ({ children, className }: SimpleProps) => ( -

{children}

+

{children}

); const Paragraph = ({ children, className }: SimpleProps) => ( -

{children}

+

{children}

); export { Title, Subtitle, Paragraph };