Commit 2ec246a
committed
refactor: update layout and playground components for improved readability and performance
- Removed unused `linkItems` import from `layout.tsx`.
- Updated string literals to use HTML entities for apostrophes in `layout.tsx`.
- Cleaned up style object formatting in `playground/layout.tsx`.
- Standardized string quotes and formatting in `playground/page.tsx`.
- Replaced `img` with `Image` component in `footer.tsx` for better optimization.
- Enhanced type safety in `badge.tsx` by specifying `TargetAndTransition` for `hoverAnimation`.
- Updated `useDebounce` function type parameters in `underline-tabs.tsx` for better type inference.1 parent 4a08f5a commit 2ec246a
File tree
7 files changed
+534
-404
lines changed- src
- app
- (site)
- contact
- playground
- components
- home
7 files changed
+534
-404
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | 254 | | |
256 | 255 | | |
257 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments