feat: init follow page

This commit is contained in:
DIYgod
2024-05-31 09:24:44 +08:00
parent a95ca46787
commit 084199a152
3 changed files with 17 additions and 1 deletions
+9
View File
@@ -96,6 +96,15 @@ const router = createBrowserRouter([
},
],
},
{
path: "follow",
children: [
{
path: "",
lazy: () => import("./pages/follow/index"),
},
],
},
],
},
])
@@ -45,7 +45,7 @@ export function Component() {
return (
<div className="flex w-full flex-col items-center justify-center gap-8 overflow-y-auto">
<div className="text-2xl font-bold">Follow</div>
<div className="text-2xl font-bold">Discover</div>
<Tabs defaultValue="General">
<TabsList className="w-full">
{tabs.map((tab) => (
+7
View File
@@ -0,0 +1,7 @@
export function Component() {
return (
<>
Follow
</>
)
}