Spaces:
Sleeping
Sleeping
Commit
·
4916725
1
Parent(s):
c002af6
chore: enable forceConsistentCasingInFileNames; fix <ul> children to be valid <li> only
Browse files- components/public/navigation/index.tsx +13 -11
- tsconfig.json +1 -0
components/public/navigation/index.tsx
CHANGED
|
@@ -126,17 +126,19 @@ export default function Navigation() {
|
|
| 126 |
</Link>
|
| 127 |
</li>
|
| 128 |
))}
|
| 129 |
-
<
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
|
|
|
|
|
|
| 140 |
</ul>
|
| 141 |
<div className="flex items-center justify-end gap-2">
|
| 142 |
{user ? (
|
|
|
|
| 126 |
</Link>
|
| 127 |
</li>
|
| 128 |
))}
|
| 129 |
+
<li role="presentation" aria-hidden="true" className="relative">
|
| 130 |
+
<div
|
| 131 |
+
ref={selectorRef}
|
| 132 |
+
className={classNames(
|
| 133 |
+
"h-1 absolute bottom-4 transition-all duration-200 flex items-center justify-center",
|
| 134 |
+
{
|
| 135 |
+
"opacity-0": !hash,
|
| 136 |
+
}
|
| 137 |
+
)}
|
| 138 |
+
>
|
| 139 |
+
<div className="size-1 bg-white rounded-full" />
|
| 140 |
+
</div>
|
| 141 |
+
</li>
|
| 142 |
</ul>
|
| 143 |
<div className="flex items-center justify-end gap-2">
|
| 144 |
{user ? (
|
tsconfig.json
CHANGED
|
@@ -13,6 +13,7 @@
|
|
| 13 |
"isolatedModules": true,
|
| 14 |
"jsx": "preserve",
|
| 15 |
"incremental": true,
|
|
|
|
| 16 |
"plugins": [
|
| 17 |
{
|
| 18 |
"name": "next"
|
|
|
|
| 13 |
"isolatedModules": true,
|
| 14 |
"jsx": "preserve",
|
| 15 |
"incremental": true,
|
| 16 |
+
"forceConsistentCasingInFileNames": true,
|
| 17 |
"plugins": [
|
| 18 |
{
|
| 19 |
"name": "next"
|