-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleaned up the profile screen, more to be done
- Loading branch information
1 parent
7cc1d91
commit 1f22052
Showing
4 changed files
with
123 additions
and
102 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 |
---|---|---|
@@ -1,15 +1,12 @@ | ||
import Link from 'next/link'; | ||
import { Body2Bold } from '@/styles/fonts'; | ||
import { BackDiv, ArrowLeftIcon } from './styles'; | ||
import { BackLink, ArrowLeftIcon } from './styles'; | ||
|
||
export default function BackButton(props: { destination: string }) { | ||
const { destination } = props; | ||
return ( | ||
<Link href={destination}> | ||
<BackDiv> | ||
<ArrowLeftIcon /> | ||
<Body2Bold>Back</Body2Bold> | ||
</BackDiv> | ||
</Link> | ||
<BackLink href={destination}> | ||
<ArrowLeftIcon /> | ||
<Body2Bold>Back</Body2Bold> | ||
</BackLink> | ||
); | ||
} |
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