Skip to content

Commit

Permalink
feat: init follow page
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed May 31, 2024
1 parent a95ca46 commit 084199a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/renderer/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@ const router = createBrowserRouter([
},
],
},
{
path: "follow",
children: [
{
path: "",
lazy: () => import("./pages/follow/index"),
},
],
},
],
},
])
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/pages/(main)/(context)/discover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => (
Expand Down
7 changes: 7 additions & 0 deletions src/renderer/src/pages/follow/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export function Component() {
return (
<>
Follow
</>
)
}

0 comments on commit 084199a

Please sign in to comment.