-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Minsweeper Page, Add more links to card, Begin Settings Page
- Loading branch information
1 parent
43c4b0c
commit bb12db7
Showing
5 changed files
with
73 additions
and
7 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
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,62 @@ | ||
import Wrapper from "@/pages/media/components/wrapper"; | ||
import styles from "@/styles/media/notifications.module.css"; | ||
import React, {useEffect, useRef, useState} from "react"; | ||
import { Knock } from "@knocklabs/node"; | ||
import {makeRequestWithToken} from "@/lib/api_tools"; | ||
import { useSession } from "next-auth/react"; | ||
import {RongoaUser} from "@/lib/users"; | ||
import {NOTIFICATIONS} from "@/lib/constants"; | ||
import {useRouter} from "next/router"; | ||
|
||
|
||
export default function Page(){ | ||
|
||
const {data: session} = useSession(); | ||
|
||
const dataFetch = useRef(false); | ||
|
||
useEffect(() => { | ||
|
||
|
||
}, [session]); | ||
|
||
|
||
|
||
const router = useRouter(); | ||
|
||
const openProfileChanger = () =>{ | ||
|
||
} | ||
|
||
return( | ||
<Wrapper> | ||
<div className={styles.page}> | ||
|
||
|
||
{/* Top Bar */} | ||
<div className={styles.topBar}> | ||
<button onClick={() => { | ||
router.push("/media/profile") | ||
}} className={styles.backButton}> | ||
<img src={"/media/images/back.svg"} alt={"back"}/> | ||
</button> | ||
|
||
<h1>Settings</h1> | ||
|
||
</div> | ||
|
||
|
||
{/* Settings */} | ||
<div className={styles.notifications}> | ||
<p> Last Login: {userLastLogin} </p> | ||
<button onClick={openProfileChanger}>Profile Picture</button> | ||
<h1>User Name</h1> | ||
<h1>Log Out</h1> | ||
<h1>Delete Account</h1> | ||
|
||
</div> | ||
|
||
</div> | ||
</Wrapper> | ||
) | ||
} |
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