Skip to content

Commit

Permalink
modified the component to use dynamic dark/light mode classes for bac…
Browse files Browse the repository at this point in the history
…kgrounds and text
  • Loading branch information
stacy-tech committed Oct 10, 2024
1 parent 2957596 commit 45ef3fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/Team.jsx
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ export function Team() {
}

return (
<div className="bg-bgPrimary p-10 text-center">
<div className="bg-bgPrimary dark:bg-bgPrimaryDark p-10 text-center text-txtPrimary dark:text-txtPrimaryDark">
<h1 className="mb-5 text-txtPrimary text-4xl font-bold">
Meet the Team Behind CollabShop
</h1>
@@ -94,7 +94,7 @@ export function Team() {
{developers.map((dev, index) => (
<div
key={index}
className="bg-[#168AAD] rounded-lg p-6 shadow-lg w-72 transition-transform transform hover:scale-105 hover:shadow-2xl"
className="bg-[#168AAD] dark:bg-[#1D1D1D] rounded-lg p-6 shadow-lg w-72 transition-transform transform hover:scale-105 hover:shadow-2xl"
>
<img
src={dev.photo}
@@ -140,7 +140,7 @@ export function Team() {
{mentors.map((mentor, index) => (
<div
key={index}
className="bg-[#168AAD] rounded-lg p-6 shadow-lg w-72 transition-transform transform hover:scale-105 hover:shadow-2xl"
className="bg-[#168AAD] dark:bg-[#1D1D1D] rounded-lg p-6 shadow-lg w-72 transition-transform transform hover:scale-105 hover:shadow-2xl"
>
<img
src={mentor.photo}

0 comments on commit 45ef3fd

Please sign in to comment.