Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
973 changes: 75 additions & 898 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
"@emotion/styled": "^11.14.1",
"@gsap/react": "^2.1.2",
"@motionone/dom": "^10.18.0",
"@react-three/drei": "^9.109.2",
"@react-three/fiber": "^8.16.8",
"@react-three/postprocessing": "^2.16.2",
"@react-three/rapier": "^1.4.0",
"@tanstack/react-query": "^5.71.5",
"@tanstack/react-query-devtools": "^5.69.0",
"axios": "^1.7.9",
Expand All @@ -31,8 +27,7 @@
"react-dom": "^18.2.0",
"react-icons": "^5.5.0",
"react-router-dom": "^7.1.5",
"sweetalert2": "^11.22.2",
"three": "^0.165.0"
"sweetalert2": "^11.22.2"
},
"devDependencies": {
"@eslint/js": "^9.18.0",
Expand All @@ -54,6 +49,7 @@
"jsdom": "^26.1.0",
"msw": "^2.10.3",
"prettier": "^3.5.3",
"rollup-plugin-visualizer": "^6.0.3",
"vite": "^7.0.5",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-image-optimizer": "^2.0.2",
Expand Down
Binary file removed public/adamsbridge.hdr
Binary file not shown.
Binary file removed public/cap.glb
Binary file not shown.
1 change: 1 addition & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Home from '@pages/Home.jsx';

const queryClient = new QueryClient();

// const Home = lazy(() => import('@pages/Home.jsx'));
const NotFound = lazy(() => import('@pages/NotFound.jsx'));
const Policy = lazy(() => import('@pages/Policy.jsx'));
const Unsubscribe = lazy(() => import('@pages/Unsubscribe.jsx'));
Expand Down
1 change: 1 addition & 0 deletions src/features/home/PopularTopic/PopularTopicItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const Content = styled.div`
`;

const PopularTopicItem = ({ title, image, index, className }) => {
console.log(image);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Remove debug console.log statement.

Debug console.log statements should not be left in production code as they can clutter the browser console and potentially impact performance.

-  console.log(image);
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
console.log(image);
🤖 Prompt for AI Agents
In src/features/home/PopularTopic/PopularTopicItem.jsx at line 77, remove the
debug console.log statement that outputs the image variable to prevent
cluttering the browser console and avoid potential performance issues in
production code.

return (
<Container className={`${className} item-${index}`}>
<Img src={image} alt={title} loading="lazy" />
Expand Down
25 changes: 0 additions & 25 deletions src/features/team/hero/TeamHeroSection.jsx

This file was deleted.

118 changes: 0 additions & 118 deletions src/features/team/hero/ThreeScene.jsx

This file was deleted.

115 changes: 0 additions & 115 deletions src/features/team/hero/Underlay.jsx

This file was deleted.

1 change: 0 additions & 1 deletion src/features/team/hero/index.js

This file was deleted.

1 change: 0 additions & 1 deletion src/features/team/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export { default as TeamIntro } from './TeamIntro';
export { default as TeamMember } from './TeamMember';
export * from './hero';
16 changes: 12 additions & 4 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
import { lazy, Suspense } from 'react';
import Layout from '@layout/Layout';
import { HeroSection, AboutSection, KnowledgeSection, PopularTopicSection } from '@features/home';
import { HeroSection } from '@features/home';
import LoadingSpinner from '@common/LoadingSpinner.jsx';

const AboutSection = lazy(() => import('@features/home/AboutSection'));
const KnowledgeSection = lazy(() => import('@features/home/KnowledgeSection'));
const PopularTopicSection = lazy(() => import('@features/home/PopularTopicSection'));

const Home = () => {
return (
<Layout>
<HeroSection />
<AboutSection />
<KnowledgeSection />
<PopularTopicSection />
<Suspense fallback={<LoadingSpinner />}>
<AboutSection />
<KnowledgeSection />
<PopularTopicSection />
</Suspense>
</Layout>
);
};
Expand Down
Loading