forked from vechain/x-app-template
-
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.
scaffolding for dashboard page (vechain#12)
* frontend: added routes * frontend: added tailwind + package.json fix * frontend: added login page * frontend: login page fix * profile page * nav bar visible on /profile * test pr * scaffolding for dashboard page
- Loading branch information
Showing
3 changed files
with
40 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import React, { useEffect, useState } from "react"; | ||
import { useWalletModal } from "@vechain/dapp-kit-react"; | ||
import { useWallet } from "@vechain/dapp-kit-react"; | ||
|
||
export default function Protected() { | ||
const { account } = useWallet(); | ||
|
||
|
||
return ( | ||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 py-10 text-white"> | ||
<div className="px-4 hidden md:block"> | ||
<h2 className=" font-bold text-3xl">Fun Facts</h2> | ||
<div className="h-[30vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[30vh] bg-white/40 my-4 rounded-xl"></div> | ||
</div> | ||
<div className="px-4"> | ||
<h2 className=" text-left text-3xl font-bold">View Posts</h2> | ||
<div className="h-[20vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[20vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[20vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[20vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[20vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[20vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[20vh] bg-white/40 my-4 rounded-xl"></div> | ||
</div> | ||
<div className="px-4 hidden lg:block"> | ||
<h2 className=" font-bold text-3xl">Badges</h2> | ||
<div className="h-[15vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[15vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[15vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[15vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[15vh] bg-white/40 my-4 rounded-xl"></div> | ||
<div className="h-[15vh] bg-white/40 my-4 rounded-xl"></div> | ||
</div> | ||
</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