-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/14-settings-page' into 'development'
From feature/14-settings-page into development Closes #14 See merge request prompt-engineers/v2/llm-server!14
- Loading branch information
Showing
5 changed files
with
185 additions
and
3 deletions.
There are no files selected for viewing
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
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
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,39 @@ | ||
"use client"; | ||
|
||
import { useRouter } from "next/navigation"; | ||
import { FC } from "react"; | ||
import { IoIosArrowBack } from "react-icons/io"; | ||
|
||
|
||
const SettingsPage: FC = () => { | ||
const router = useRouter(); | ||
|
||
return ( | ||
<main | ||
className="flex min-h-screen flex-col" | ||
style={{ position: "relative" }} | ||
> | ||
<button | ||
className="flex" | ||
style={{ | ||
position: "absolute", | ||
top: 10, | ||
left: 10, | ||
cursor: "pointer", | ||
}} | ||
onClick={() => router.back()} | ||
> | ||
<IoIosArrowBack className="text-2xl" /> <span className="font-semibold">Go Back</span> | ||
</button> | ||
<div | ||
className={`flex-1 flex flex-col justify-center px-6 py-12 lg:px-8`} | ||
> | ||
<div className="sm:mx-auto sm:w-full sm:max-w-md text-center"> | ||
Settings Page | ||
</div> | ||
</div> | ||
</main> | ||
); | ||
}; | ||
|
||
export default SettingsPage; |
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
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