-
Notifications
You must be signed in to change notification settings - Fork 0
fix: changed background, more optimization #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -30,7 +30,7 @@ const HomeBucketList = () => { | |||||
| fetchList(); | ||||||
| }, []); | ||||||
| return ( | ||||||
| <section className="flex flex-col w-full min-h-screen justify-center"> | ||||||
| <section className="flex flex-col w-full justify-center"> | ||||||
|
||||||
| <section className="flex flex-col w-full justify-center"> | |
| <section className="flex flex-col w-full justify-center"> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -45,7 +45,7 @@ const LetterList = () => { | |||||
|
|
||||||
| console.log("Found cards:", cards.length); // Debug log | ||||||
|
||||||
| console.log("Found cards:", cards.length); // Debug log | |
| // Debug log removed to keep production logs clean |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,6 +2,7 @@ import { createBrowserRouter } from "react-router-dom"; | |||||
| import { lazy, Suspense } from "react"; | ||||||
| import App from "@/App.tsx"; | ||||||
| import ErrorNotFound from "@/pages/ErrorNotFound.tsx"; | ||||||
| import flower4 from "@/assets/pictures/flower-4-medium.webp"; | ||||||
|
|
||||||
| // Lazy load page components | ||||||
| const Home = lazy(() => import("@/pages/Home.tsx")); | ||||||
|
|
@@ -13,7 +14,7 @@ const Pangarap = lazy(() => import("@/pages/Pangarap")); | |||||
| // Loading component | ||||||
| const PageLoader = () => ( | ||||||
| <div className="flex items-center justify-center min-h-screen"> | ||||||
| <div className="animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"></div> | ||||||
| <img src={flower4} width={80} height={80} className="animate-spin" /> | ||||||
|
||||||
| <img src={flower4} width={80} height={80} className="animate-spin" /> | |
| <img src={flower4} width={80} height={80} className="animate-spin" alt="Loading" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Using a fixed width of 700px for this image may impact performance or responsiveness; consider using responsive sizing or optimized assets.