Skip to content

Commit

Permalink
Fix styling for package manager options
Browse files Browse the repository at this point in the history
  • Loading branch information
Mustapha-Nkhili committed Jul 22, 2024
1 parent a0d5382 commit 49bf4e5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/pages/docs/getting-started/Introduction.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,21 @@ const Introduction = () => {
>
<ul className="flex items-center gap-5 mt-10">
<li
className="pb-1 border-b-2 border-b-primary border-b-solid cursor-pointer"
className={`"pb-1 border-b-2 ${
packageManagerCode.includes("npm")
? "border-b-primary"
: "border-b-none"
} border-b-solid cursor-pointer`}
onClick={() => setPackageManagerCode("npm i nkhilicss")}
>
npm
</li>
<li
className="pb-1 border-b-2 border-b-primary border-b-solid cursor-pointer"
className={`"pb-1 border-b-2 ${
packageManagerCode.includes("yarn")
? "border-b-primary"
: "border-b-none"
} border-b-solid cursor-pointer`}
onClick={() => setPackageManagerCode("yarn add nkhilicss")}
>
yarn
Expand Down

0 comments on commit 49bf4e5

Please sign in to comment.