-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bcca8d7
commit 6177f24
Showing
2 changed files
with
26 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import Link from "next/link"; | ||
|
||
export const ExternalLinks = () => { | ||
return ( | ||
<> | ||
<p className="text-xl font-bold">Test External Links</p> | ||
<div className="grid md:grid-cols-2 gap-4"> | ||
<Link | ||
href="https://worldcoin.org/apps" | ||
className="bg-green-500 text-white text-center rounded-lg p-3" | ||
> | ||
External Link (Link) | ||
</Link> | ||
<button | ||
onClick={() => window.open("https://worldcoin.org/apps")} | ||
className="text-white bg-green-500 hover:bg-blue-300 transition p-4 leading-[1] rounded-lg" | ||
> | ||
External Link (Button) | ||
</button> | ||
</div> | ||
</> | ||
); | ||
}; |
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