refactor: optimize project structure and clean up code
- Split Banner.tsx into reusable components (Header, Footer, NavCard) - Extract custom hooks: useTypewriter, useParallax - Separate navigation data from components into data/navigation.ts - Add TypeScript types (NavItem) for type safety - Configure @ path alias in tsconfig.app.json for consistency - Remove unused dependencies: radix-ui, react-helmet-async - Organize components into layout/ and ui/ directories
This commit is contained in:
1 parent
73788ad2d2
commit
3539cb04e9
15 files changed
+911
-2766
No files matched your search
+1
-1
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>index</title>
|
||||
<title>筱周の网站 - XiaoZhou's Website</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
Reference in new issue
Block a user