File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -443,7 +443,7 @@ export default function Heatmap() {
443
443
Estimated Worth
444
444
</ h2 >
445
445
446
- < p className = "text-white mt-4 flex w-full items-center justify-center" >
446
+ < p className = "text-white mt-4 flex w-full items-center justify-center flex-col md:flex-row " >
447
447
Get Yours at:
448
448
< Link
449
449
href = "https://leetcode-profiles-delta.vercel.app/worth"
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { DataContext } from "./context/DataContext";
11
11
import { ToastContainer } from "react-toastify" ;
12
12
import "react-toastify/dist/ReactToastify.css" ;
13
13
import Skeleton from "./components/Skeleton" ;
14
+ import Link from "next/link" ;
14
15
15
16
export default function Home ( ) {
16
17
const { datas, setDatas, search, setSearch } = useContext ( DataContext ) ;
@@ -78,11 +79,23 @@ export default function Home() {
78
79
79
80
< GenerateStats showStats = { showStats } setShowStats = { setShowStats } />
80
81
81
- < div className = "w-full flex items-center justify-center " >
82
+ < div className = "w-full max-w-7xl mx-auto flex flex-col lg:grid grid-cols-3 items-center justify-start gap-4 lg:gap-12 px-8 mt-28" >
83
+ < Link
84
+ href = "/worth"
85
+ className = "flex w-fit gap-2 rounded border-2 border-[#f7f7f7] px-4 bg-gradient-to-r from-[#cb42b2] to-[#ecf576] bg-clip-text text-transparent p-2 font-sourcecodepro font-bold"
86
+ >
87
+ < Image
88
+ src = "/assets/icons/money.svg"
89
+ alt = "Leetcode Logo"
90
+ width = { 24 }
91
+ height = { 24 }
92
+ />
93
+ LeetCode Worth
94
+ </ Link >
82
95
< select
83
96
value = { sortBy }
84
97
onChange = { handleSortChange }
85
- className = "mt-28 rounded border-2 border-[#f7f7f7] w-64 bg-[#0e0e0e] text-white p-2 font-sourcecodepro"
98
+ className = " rounded border-2 border-[#f7f7f7] w-64 bg-[#0e0e0e] text-white p-2 font-sourcecodepro"
86
99
>
87
100
< option value = "default" > Sort By Default</ option >
88
101
< option value = "question-solved" > Sort By Questions Solved</ option >
You can’t perform that action at this time.
0 commit comments