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() {
443443 Estimated Worth
444444 </ h2 >
445445
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 " >
447447 Get Yours at:
448448 < Link
449449 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";
1111import { ToastContainer } from "react-toastify" ;
1212import "react-toastify/dist/ReactToastify.css" ;
1313import Skeleton from "./components/Skeleton" ;
14+ import Link from "next/link" ;
1415
1516export default function Home ( ) {
1617 const { datas, setDatas, search, setSearch } = useContext ( DataContext ) ;
@@ -78,11 +79,23 @@ export default function Home() {
7879
7980 < GenerateStats showStats = { showStats } setShowStats = { setShowStats } />
8081
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 >
8295 < select
8396 value = { sortBy }
8497 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"
8699 >
87100 < option value = "default" > Sort By Default</ option >
88101 < option value = "question-solved" > Sort By Questions Solved</ option >
You can’t perform that action at this time.
0 commit comments