centering

This commit is contained in:
Seth Trowbridge 2025-10-31 15:18:35 -04:00
parent 5e70327bd3
commit 84ae2ac3f7

View File

@ -25,6 +25,7 @@ const Render=()=>
{ {
float: none; float: none;
width: 80%; width: 80%;
margin: 0 auto;
@media(min-width:625px) @media(min-width:625px)
{ {
width:50%; width:50%;
@ -100,7 +101,7 @@ const cacheName =()=>
const lookup = localStorage.getItem("ye-2025-product"); const lookup = localStorage.getItem("ye-2025-product");
if(!lookup) if(!lookup)
{ {
console.log("fresh cache of name"); //console.log("fresh cache of name");
cacheName().then(mentionDonation); cacheName().then(mentionDonation);
} }
else else
@ -110,12 +111,12 @@ else
const elapsed = Math.abs(THEN - NOW); const elapsed = Math.abs(THEN - NOW);
if( elapsed > 2 * 60 * 60 * 1000) if( elapsed > 2 * 60 * 60 * 1000)
{ {
console.log("cache stale, re-fetching name"); //console.log("cache stale, re-fetching name");
cacheName().then(mentionDonation); cacheName().then(mentionDonation);
} }
else else
{ {
console.log("using cached name"); //console.log("using cached name");
mentionDonation(name); mentionDonation(name);
} }
} }