-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename opensharedlink to linkbutton and added style to link
- Loading branch information
Showing
4 changed files
with
38 additions
and
11 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
import { ArrowRightIcon } from "@sanity/icons"; | ||
import styles from "./linkButton.module.css" | ||
|
||
export const LinkButton = () => { | ||
return ( | ||
<a className={styles.wrapper} href="http://localhost:3000/shared"> | ||
<span className={styles.text}> | ||
Go to shared <ArrowRightIcon /> | ||
</span> | ||
</a> | ||
); | ||
}; |
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,22 @@ | ||
.wrapper { | ||
background: #e6e6ea; | ||
gap: 0.5rem; | ||
align-items: center; | ||
display: flex; | ||
list-style: none; | ||
text-decoration: none; | ||
width: fit-content; | ||
padding: 0.5rem 1rem; | ||
} | ||
|
||
.wrapper:hover { | ||
background: #dedee3; | ||
} | ||
|
||
.text { | ||
display: flex; | ||
align-items: center; | ||
color: #4e556d; | ||
font-size: 1rem; | ||
gap: 0.5rem; | ||
} |
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