From e24cb6379aad9b8acb00455b83b4fededd676a35 Mon Sep 17 00:00:00 2001 From: defiQUG Date: Tue, 26 May 2026 22:00:39 -0700 Subject: [PATCH] Fix stale home copy, enlarge nav logo, and refresh PWA cache Replace student/counselor sections with foundation messaging; show nav from md breakpoint; workbox skipWaiting so deploys reach browsers faster. Co-authored-by: Cursor --- public/brand/MIM4U-Brand-Kit.zip | Bin 2834127 -> 2834127 bytes src/App.tsx | 58 ++++++++++++++----------------- src/components/Navigation.tsx | 8 ++--- src/content/siteContent.ts | 34 ++++++++++++++++++ src/index.css | 22 ++++++------ vite.config.ts | 9 +++-- 6 files changed, 84 insertions(+), 47 deletions(-) diff --git a/public/brand/MIM4U-Brand-Kit.zip b/public/brand/MIM4U-Brand-Kit.zip index 239ca9efa56e80da58286df6b29ed001969f1365..81e6b49250fdb5212174c1afdfd4d8d612329238 100644 GIT binary patch delta 896 zcmX^AcMaotAl{(O#FV^#vM!Svn`D((mQ+={l^WA_D>dd54IEqyAdtL%x@I$@CRqA? z<#a<%C6(eQk>Q%ixKafqvvn(6X8Y5vjLHQdK`u2Wh;m7|J?9$0 z63dyjq2{z(FJ}f~79eH?Vz%wp%h{(*1u430!vWC^bS1Mb2M}`tF&7YXZ)djUIVuHG zbSj(&X43ZG;XG=tAVKB1Ji2UBK>xk3Y!92u1H`;Q%m>8$Kr8^nfq*~ zEVeytuDH(@kO4~qCDgzM0Ij|dC;`NhKr98s(m*T&#Iisv2gLH*F9a&s-2!P6&{0%} z+Pd9VN3p3NBzSPQq7u}k?JsvLva*8&KO9n2g$hCf*#5Ah1Sn#rM;=9!S#eY`locfN z|CA!kNf15$rxmx@f@D}Zm0&X4fzh?z1tj>$7cSV&=clxt&rkVU15?WS>Cet7E3-)h z!$!KQo&UTt5UT*ODiEsyu{scI0I}wF{_|SynIMxQEVNCSB&()>wA2;52+UA&| ztd`mqP*GWs-Z(V=b~L_#m9{0a`YbC{{fE)yWv#WXnWVsO0h?cG4Rjk4|D3h9DKcNh zM%w_&M{;|qjkYnS=t-=ivbJy=kW45-h=Sd59GMRcWEnecLndj6JE!N^X(s~!Jf$X* delta 896 zcmZvaKWGzC9LK#Eb4}vqkD8{j_SDOzSJT&mMa3kS#6@w@N(Nh9TwIdN4I(%Q4#5sL zs)*i{O~?s~4vlZR$e14ule5B1ED?qi#v8^O~|;mWZFx?RGQsg6S85{*{>f6^CM2^q3|rt zomQ*wux~9vy~)LpM!fV&e@>_F8ciSV^|AD(59|egATqr<@#Ha2`cw#b)!5Qk41gdA zfql$Zl-kogX=_#TI)zR4dsWiTlS#)`8`7d!#reXfwbGD47(_r6#K3-V02~ByFbNWD zr7?AJoi}(|PHJugjNUFM!67gW4ucsWgCpQ5+b$m~ec?s11!Yb&+^MX%pxnF9#Wx#D z$`uWh{n$|a6I}fHR+;UI-UXlCRFZ@{*V%z@(|!=l~!3sru@SF`jK zshIY!9Gx2cBQLV_%x=}6quHJ+^V;iUF&m3xd72x}H}a$Po5Ma%CF@itRd*MepYo25 z-G<_hPEQkK;HL}pL@(ai9aXmr^yF^!!+%w|hzVZDp$@kOs=LR#;TV@ZQ=&_x=Ivpd HC3@o@7|kFG diff --git a/src/App.tsx b/src/App.tsx index 8b456b1..a9b7920 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -78,7 +78,7 @@ import { import { AwarenessCampaigns } from './components/home/AwarenessCampaigns' import { CommunityGallery } from './components/home/CommunityGallery' import { WhoWeServe } from './components/home/WhoWeServe' -import { COMMUNITY_PHOTOS, SITE, WHAT_WE_DO } from './content/siteContent' +import { COMMUNITY_PHOTOS, HOME_TESTIMONIAL, HOW_IT_WORKS, SITE, WHAT_WE_DO } from './content/siteContent' /** * Miracles in Motion — Complete Non-Profit Website @@ -1056,19 +1056,21 @@ function HeroShowcase() { } function PartnerMarquee() { + const partners = + 'Los Angeles County • Faith communities • Outreach volunteers • Crisis & fire relief • Domestic violence advocacy • Youth & family support • Resource navigation' return (
- Trusted by schools & community partners + Serving our community together
{Array.from({ length: 2 }).map((_, i) => ( - Lincoln Unified • Sunrise Elementary • Northview High • Rotary Club • City Youth Fund • BookBank • Caring Co. + {partners} ))}
@@ -1261,12 +1263,7 @@ function Impact() { } function HowItWorks() { - const steps = [ - { title: "Referral", body: "A school counselor, social worker, or parent submits a simple request." }, - { title: "Fast response", body: "Needs are verified same-day and approved within 24 hours." }, - { title: "Fulfillment", body: "We purchase items locally or provide vouchers for pickup." }, - { title: "Follow-up", body: "We confirm support reached the student and log outcomes." }, - ] + const steps = HOW_IT_WORKS.steps.map((s) => ({ title: s.title, body: s.body })) return (
@@ -1305,7 +1302,7 @@ function HowItWorks() {
- +
@@ -1352,7 +1349,7 @@ function HowItWorks() {
@@ -1375,7 +1372,7 @@ function HowItWorks() {
Donor promise
-

Your gift funds direct student needs first. We publish anonymized impact and receipts for transparency.

+

{HOW_IT_WORKS.donorPromise}

@@ -1401,9 +1398,9 @@ function HowItWorks() { > -
For counselors
+
For partners & volunteers
-

One-page referral. No uploads required. We do the running so students don't miss class.

+

{HOW_IT_WORKS.partnerNote}

@@ -1420,11 +1417,11 @@ function Testimonial() {
- "A student arrived with torn shoes before winter break. Within 24 hours, Miracles in Motion had a new coat and shoes ready. He came back from break beaming." + “{HOME_TESTIMONIAL.quote}”
- - Counselor, Northview High + + {HOME_TESTIMONIAL.attribution}
@@ -1434,16 +1431,16 @@ function Testimonial() { function GetInvolved() { const options = [ - { title: "Donate", body: "Fuel fast responses for urgent student needs.", href: "#/donate", accent: "from-secondary-500 to-primary-500", icon: Heart }, - { title: "Volunteer", body: "Assemble kits, deliver items, host a drive.", href: "#/volunteers", accent: "from-sky-500 to-secondary-500", icon: Users }, - { title: "Corporate sponsor", body: "Schools and community orgs: let's team up.", href: "#/sponsors", accent: "from-emerald-500 to-lime-500", icon: Globe }, + { title: "Donate", body: "Restore hope through outreach, emergency aid, and compassionate care.", href: "#/donate", accent: "from-secondary-500 to-primary-500", icon: Heart }, + { title: "Volunteer", body: "Serve at outreach events and support families in your community.", href: "#/volunteers", accent: "from-sky-500 to-secondary-500", icon: Users }, + { title: "Partner with us", body: "Churches, businesses, and organizations — let's serve together.", href: "#/contact", accent: "from-primary-500 to-secondary-500", icon: Globe }, ] return (
- +
@@ -1509,22 +1506,21 @@ function CTA() {
')" }} />
-

Help a student start school with pride

-

Your gift today equips a child with the essentials they need—fast. $48 fills a backpack; $72 outfits a student with shoes and a coat.

+

Help restore hope in someone's hardest season

+

Your generosity supports outreach, emergency assistance, and resource navigation for families facing crisis throughout Los Angeles County.

-

Prefer offline?

+

Contact us

    -
  • 20274 Via Medici, Porter Ranch, CA 91326
  • -
  • {SITE.email}
  • -
  • (818) 491-6884
  • +
  • {SITE.email}
  • +
  • {SITE.serviceArea}

{SITE.legalStatus}. EIN {SITE.ein}.

diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index edcec37..de6d8e5 100644 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -42,7 +42,7 @@ export function Navigation({ darkMode, setDarkMode, mobileMenuOpen, setMobileMen -
+
{NAV_LINKS.map((link) => ( -