Skip to content

Commit

Permalink
Merge pull request #196 from VineeTagarwaL-code/selectionBug
Browse files Browse the repository at this point in the history
Disabled Selection in Title Text
  • Loading branch information
harshkhandeparkar authored Nov 27, 2023
2 parents 6e81c31 + 753854c commit 72f05ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ function Hero() {
<img
src={Moon}
alt="Moon"
className="bottom-[-10%] sm:top-[40%] z-[-3] fixed lg:top-[-70%] lg:right-[-36%] brightness-[35%] lg:brightness-[50%] overflow-x-hidden"
/>
<div className="m-auto">
className="bottom-[-10%] sm:top-[40%] z-[-3] fixed lg:top-[-70%] lg:right-[-36%] brightness-[35%] lg:brightness-[50%] overflow-x-hidden"/>
<div className="m-auto">
<h1
data-value="KWoC 23"
className="justify-center font-display text-center mb-4 font-extrabold leading-none tracking-tight text-[60px] sm:text-[120px] lg:text-[156px] text-white"
className="justify-center font-display text-center mb-4 font-extrabold leading-none tracking-tight text-[60px] sm:text-[120px] lg:text-[156px] text-white select-none"
onMouseMove={onMouseMove}
onMouseLeave={onMouseLeave}
onClick={()=>{window.location.reload()}}
style={{
transform: `perspective(1000px) rotateX(${
rotate.x / 3
Expand All @@ -124,7 +124,7 @@ function Hero() {
>
{text}
</h1>
<h3 className="justify-center text-center mb-16 font-extrabold leading-none tracking-tight text-[20px] lg:text-[35px] text-white">
<h3 className="justify-center text-center mb-16 font-extrabold leading-none tracking-tight text-[20px] lg:text-[35px] text-white select-none">
For the love of open source!
</h3>
<ManualButton />
Expand Down

0 comments on commit 72f05ee

Please sign in to comment.