Skip to content

Commit

Permalink
darkmode tailwind class for remaining dark bg
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Borgia committed Jul 25, 2024
1 parent bb808b9 commit cd9a01c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/app/browse/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ async function GroupsList({ search, page }: { search?: string; page: number }) {

if (data.length === 0) {
return (
<div className="flex flex-col items-center justify-center py-12 gap-8 bg-slate-900 rounded-xl">
<div className="flex flex-col items-center justify-center py-12 gap-8 dark:bg-slate-900 rounded-xl">
<Image
src="/empty-state/mountain.svg"
width="200"
height="200"
alt="no gruops placeholder image"
></Image>
<h2 className="text-2xl text-white">No groups matching your search</h2>
<h2 className="text-2xl">No groups matching your search</h2>
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default async function DashboardPage() {
</div>

{ownedGroups.length === 0 && (
<p className="flex gap-8 items-center mt-8 py-4 rounded border bg-gray-800 px-4 text-white">
<p className="flex gap-8 items-center mt-8 py-4 rounded border dark:bg-gray-800 px-4">
You don't manage any groups
</p>
)}
Expand Down
4 changes: 2 additions & 2 deletions src/app/users/[userId]/followers/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Image from "next/image";
function FollowerCard({ profile }: { profile: Profile }) {
return (
<div key={profile.userId} className="flex items-center gap-4">
<div className="bg-slate-900 flex gap-4 items-center hover:underline border rounded-lg p-4">
<div className="dark:bg-slate-900 flex gap-4 items-center hover:underline border rounded-lg p-4">
<Avatar>
<AvatarImage src={profile.image || "/group.jpeg"} />
<AvatarFallback>CN</AvatarFallback>
Expand All @@ -31,7 +31,7 @@ export default async function FollowersPage({
return (
<div className="space-y-8">
{followers.length === 0 && (
<div className="flex flex-col items-center justify-center py-12 gap-8 bg-slate-900 rounded-xl">
<div className="flex flex-col items-center justify-center py-12 gap-8 dark:bg-slate-900 rounded-xl">
<Image
src="/empty-state/mountain.svg"
width="200"
Expand Down
4 changes: 2 additions & 2 deletions src/app/users/[userId]/groups/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ export default async function GroupsContent({
return (
<div>
{userGroups.length === 0 && (
<div className="flex flex-col items-center justify-center py-12 gap-8 bg-slate-900 rounded-xl">
<div className="flex flex-col items-center justify-center py-12 gap-8 dark:bg-slate-900 rounded-xl">
<Image
src="/empty-state/mountain.svg"
width="200"
height="200"
alt="no gruops placeholder image"
></Image>
<h2 className="text-2xl text-white">This user isn't part of any groups</h2>
<h2 className="text-2xl">This user isn't part of any groups</h2>
</div>
)}

Expand Down

0 comments on commit cd9a01c

Please sign in to comment.