background color

This commit is contained in:
Philip Cheung 2024-10-08 21:49:58 +08:00
parent cb0198f035
commit cb2030e8aa
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ export default function RootLayout({
<html lang="en"> <html lang="en">
<body <body
className={`${geistSans.variable} ${geistMono.variable} antialiased bg-[#F6E5E9]`} className={`${geistSans.variable} ${geistMono.variable} antialiased bg-[#F6E5E9] max-sm:bg-[#FFF9F9]`}
> >
<link rel="icon" href="/favicon.ico" sizes="any" /> <link rel="icon" href="/favicon.ico" sizes="any" />
<NextTopLoader color="#D60050" height={5} /> <NextTopLoader color="#D60050" height={5} />

View File

@ -25,7 +25,7 @@ const Home = ({ settings, aboutus }: { settings: SettingsProps, aboutus: Aboutus
const stopLoading = () => setLoading(false); const stopLoading = () => setLoading(false);
return ( return (
<div className='bg-[#F2D5D5]'> <div className='bg-[#F2D5D5] sm:bg-[#FFF9F9]'>
{loading ? ( {loading ? (
<div className="flex justify-center items-center h-screen"> <div className="flex justify-center items-center h-screen">
<Suspense fallback={<div>Loading...</div>}> <Suspense fallback={<div>Loading...</div>}>