From c83cb50ad9dfb655dbb622a0c020dfdb57a78209 Mon Sep 17 00:00:00 2001 From: Antonette Caldwell <18711313+acald-creator@users.noreply.github.com> Date: Mon, 13 Apr 2026 20:13:01 -0500 Subject: [PATCH 1/2] style: editorial redesign with serif typography Add Playfair Display serif for headings, editorial masthead nav, text-focused homepage with stacked blurbs, magazine-style article list for posts, accent-line login card, reduced card border-radius. Sticky footer via flex column layout. Remove tech-landing-page logo animation and gradient CSS. --- index.html | 5 +- src/App.res | 57 ++--------- src/components/Card/Card.res | 2 +- src/components/NavBar/NavBar.res | 21 ++-- src/components/Typography/Typography.res | 30 +++--- src/pages/HomePage.res | 122 ++++++++--------------- src/pages/LoginPage.res | 6 +- src/pages/PostsPage.res | 114 +++++++++++---------- src/styles/GlobalStyles.res | 17 ++-- src/styles/Theme.res | 1 + 10 files changed, 155 insertions(+), 220 deletions(-) diff --git a/index.html b/index.html index 668d64b..d800af1 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,10 @@ - Rspack + React + TS + + + + Rspack + ReScript diff --git a/src/App.res b/src/App.res index 8322f49..1931f79 100644 --- a/src/App.res +++ b/src/App.res @@ -8,53 +8,6 @@ Emotion.Css.injectGlobal(` width: 100%; min-height: 100vh; } - -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; -} -.logo:hover { - filter: drop-shadow(0 0 2em ${Theme.Theme.Colors.brand["primary"]}aa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); -} - -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } -} - -/* Hero section gradients */ -.hero-gradient { - background: linear-gradient(135deg, ${Theme.Theme.Colors.brand["primary"]} 0%, ${Theme.Theme.Colors.brand["secondary"]} 100%); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - background-clip: text; -} - -/* Responsive adjustments */ -@media (max-width: 768px) { - .hero-gradient { - font-size: 2.5rem; - } - - .logo { - height: 4em; - padding: 1em; - } -} `) module App = { @@ -63,17 +16,19 @@ module App = { -
+
-
+