diff --git a/src/components/RevealDropDown.tsx b/src/components/RevealDropDown.tsx index 2214c4e..8540ced 100644 --- a/src/components/RevealDropDown.tsx +++ b/src/components/RevealDropDown.tsx @@ -11,15 +11,31 @@ export default function RevealDropDown(props: { }; return ( -
+
{/* Button Header */}
- - {/* Life and lineage icon */} + + {props.title}
@@ -46,15 +62,13 @@ export default function RevealDropDown(props: { {/* Reveal Content */}
-
- {props.children} -
+ {props.children}
); diff --git a/src/components/blog/Card.tsx b/src/components/blog/Card.tsx index 6800cc7..ca59953 100644 --- a/src/components/blog/Card.tsx +++ b/src/components/blog/Card.tsx @@ -25,12 +25,12 @@ export interface CardProps { export default function Card(props: CardProps) { return ( -
+
-
+
-
+
Not Published
@@ -43,22 +43,20 @@ export default function Card(props: CardProps) { alt={props.post.title.replaceAll("_", " ") + " banner"} class="h-full w-full object-cover" /> -
+
-
-
+
+
{props.post.title.replaceAll("_", " ")}
-
- {props.post.subtitle} -
+
{props.post.subtitle}
-
-
-

+

+
+

{props.post.total_comments || 0} Comments

-

+

{props.post.total_likes || 0} Likes

diff --git a/src/components/blog/CardLinks.tsx b/src/components/blog/CardLinks.tsx index 6c71d71..ed4f3a8 100644 --- a/src/components/blog/CardLinks.tsx +++ b/src/components/blog/CardLinks.tsx @@ -19,7 +19,7 @@ export default function CardLinks(props: CardLinksProps) { onClick={() => setReadLoading(true)} class={`${ readLoading() ? "bg-zinc-400" : "bg-lavender hover:brightness-125" - } mb-1 ml-2 flex rounded px-4 py-2 text-base font-light shadow transition-all duration-300 ease-out active:scale-90`} + } mx-auto mb-1 flex rounded px-4 py-2 text-base font-light shadow transition-all duration-300 ease-out active:scale-90`} > @@ -31,7 +31,7 @@ export default function CardLinks(props: CardLinksProps) { onClick={() => setEditLoading(true)} class={`${ editLoading() ? "bg-zinc-400" : "bg-green-400 hover:bg-green-500" - } ml-2 flex rounded px-4 py-2 font-light text-white shadow transition-all duration-300 ease-out active:scale-90`} + } mx-auto flex rounded px-4 py-2 text-base font-light shadow transition-all duration-300 ease-out active:scale-90`} > diff --git a/src/components/blog/SessionDependantLike.tsx b/src/components/blog/SessionDependantLike.tsx index 64ba865..cf61c0e 100644 --- a/src/components/blog/SessionDependantLike.tsx +++ b/src/components/blog/SessionDependantLike.tsx @@ -72,7 +72,7 @@ export default function SessionDependantLike(props: SessionDependantLikeProps) { width={32} />
-
+
{likes().length} {likes().length === 1 ? "Like" : "Likes"}
Must be logged in
diff --git a/src/routes/account.tsx b/src/routes/account.tsx index de0e7aa..d02406a 100644 --- a/src/routes/account.tsx +++ b/src/routes/account.tsx @@ -548,7 +548,7 @@ export default function AccountPage() { !userProfile().email } > -
+
⚠️ Add an email address for account recovery
@@ -558,7 +558,7 @@ export default function AccountPage() { !userProfile().hasPassword } > -
+
💡 Add a password to enable email/password login
diff --git a/src/routes/blog/[title]/index.tsx b/src/routes/blog/[title]/index.tsx index efb9bf3..c612f95 100644 --- a/src/routes/blog/[title]/index.tsx +++ b/src/routes/blog/[title]/index.tsx @@ -268,28 +268,18 @@ export default function PostPage() { } /> -
+
{/* Fixed banner image background */} -
-
- post-cover -
-
+ post-cover + /> +
{p().title.replaceAll("_", " ")}
@@ -299,8 +289,7 @@ export default function PostPage() {
- {/* Spacer to push content down */} -
+
{/* Content that slides over the fixed image */}
diff --git a/src/routes/downloads.tsx b/src/routes/downloads.tsx index f41bea6..81076e5 100644 --- a/src/routes/downloads.tsx +++ b/src/routes/downloads.tsx @@ -82,7 +82,7 @@ export default function DownloadsPage() {
-
+
Shapes with Abigail!
(apk and iOS) diff --git a/src/routes/login/index.tsx b/src/routes/login/index.tsx index cb49224..a6089dd 100644 --- a/src/routes/login/index.tsx +++ b/src/routes/login/index.tsx @@ -443,7 +443,7 @@ export default function LoginPage() { height={24} width={24} strokeWidth={1} - class="stroke-zinc-900 dark:stroke-white" + class="stroke-text" /> } > @@ -451,7 +451,7 @@ export default function LoginPage() { height={24} width={24} strokeWidth={1} - class="stroke-zinc-900 dark:stroke-white" + class="stroke-text" /> @@ -459,7 +459,7 @@ export default function LoginPage() {
Password too short! Min Length: 8
@@ -497,7 +497,7 @@ export default function LoginPage() { height={24} width={24} strokeWidth={1} - class="stroke-zinc-900 dark:stroke-white" + class="stroke-text" /> } > @@ -505,7 +505,7 @@ export default function LoginPage() { height={24} width={24} strokeWidth={1} - class="stroke-zinc-900 dark:stroke-white" + class="stroke-text" /> diff --git a/src/routes/login/password-reset.tsx b/src/routes/login/password-reset.tsx index 3606b9d..a88414c 100644 --- a/src/routes/login/password-reset.tsx +++ b/src/routes/login/password-reset.tsx @@ -156,15 +156,9 @@ export default function PasswordResetPage() { } return (
-
- Change Successful! -
-
- {timeRemaining} -
-
- Redirecting... -
+
Change Successful!
+
{timeRemaining}
+
Redirecting...
); }; @@ -219,7 +213,7 @@ export default function PasswordResetPage() { height={24} width={24} strokeWidth={1} - class="stroke-zinc-900 dark:stroke-white" + class="stroke-text" /> } > @@ -227,7 +221,7 @@ export default function PasswordResetPage() { height={24} width={24} strokeWidth={1} - class="stroke-zinc-900 dark:stroke-white" + class="stroke-text" /> @@ -237,7 +231,7 @@ export default function PasswordResetPage() {
Password too short! Min Length: 8
@@ -275,7 +269,7 @@ export default function PasswordResetPage() { height={24} width={24} strokeWidth={1} - class="stroke-zinc-900 dark:stroke-white" + class="stroke-text" /> } > @@ -283,7 +277,7 @@ export default function PasswordResetPage() { height={24} width={24} strokeWidth={1} - class="stroke-zinc-900 dark:stroke-white" + class="stroke-text" /> @@ -298,7 +292,7 @@ export default function PasswordResetPage() { newPasswordConfRef.value.length >= 6 ? "" : "opacity-0 select-none" - } text-center text-red-500 transition-opacity duration-200 ease-in-out`} + } text-red text-center transition-opacity duration-200 ease-in-out`} > Passwords do not match!
diff --git a/src/routes/privacy-policy/shapes-with-abigail.tsx b/src/routes/privacy-policy/shapes-with-abigail.tsx index 41d82da..f7d8241 100644 --- a/src/routes/privacy-policy/shapes-with-abigail.tsx +++ b/src/routes/privacy-policy/shapes-with-abigail.tsx @@ -9,7 +9,7 @@ export default function PrivacyPolicy() { name="description" content="Privacy policy for Shapes with Abigail app, explaining our commitment to child safety and non-collection of personal data." /> -
+
Shapes with Abigail!'s Privacy Policy