-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: back button for profile and discover page
- Loading branch information
Showing
6 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions
13
src/renderer/src/pages/(main)/(context)/(nonhome)/layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Link, Outlet } from "react-router-dom" | ||
|
||
export function Component() { | ||
return ( | ||
<div className="relative flex size-full"> | ||
<Link to="/" className="absolute left-10 top-11 flex items-center gap-1"> | ||
<i className="i-mingcute-back-line" /> | ||
Back | ||
</Link> | ||
<Outlet /> | ||
</div> | ||
) | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters