Skip to content

Commit

Permalink
Merge pull request #14 from udohjeremiah/dev
Browse files Browse the repository at this point in the history
Fix: styling issues
  • Loading branch information
udohjeremiah authored Mar 14, 2024
2 parents 318012a + 4c3af96 commit 8deafca
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 22 deletions.
1 change: 0 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
const nextConfig = {
async redirects() {
return [
// Basic redirect
{
source: "/",
destination: "/gallery",
Expand Down
22 changes: 11 additions & 11 deletions src/app/(home)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={cn(
inter.className,
"flex min-h-dvh max-w-[100dvw] flex-col overflow-x-hidden antialiased",
)}
>
<ClerkProvider>
<ClerkProvider>
<html lang="en">
<body
className={cn(
inter.className,
"flex min-h-dvh max-w-[100dvw] flex-col overflow-x-hidden antialiased",
)}
>
<ThemeProvider
attribute="class"
defaultTheme="system"
Expand All @@ -52,8 +52,8 @@ export default function RootLayout({
<Footer />
<Toaster />
</ThemeProvider>
</ClerkProvider>
</body>
</html>
</body>
</html>
</ClerkProvider>
);
}
9 changes: 1 addition & 8 deletions src/app/(home)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
// Lib
import { cn } from "@/lib/utils";

export default function Home() {
return (
<div
className={cn("min-h-[calc(100vh-7.2rem)] w-full", "lg:border-l")}
></div>
);
return <></>;
}
5 changes: 3 additions & 2 deletions src/components/DisplayImages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { useRouter } from "next/navigation";
import Link from "next/link";

// Dependencies
import { EyeIcon, HeartIcon, Share2Icon } from "lucide-react";
import { HeartFilledIcon } from "@radix-ui/react-icons";
import { EyeIcon, Share2Icon } from "lucide-react";
import { CldImage } from "next-cloudinary";
import { toast } from "sonner";

Expand Down Expand Up @@ -79,7 +80,7 @@ export default function DisplayImages({ images }: { images: ImageProps[] }) {
router.refresh();
}}
>
<HeartIcon
<HeartFilledIcon
className={cn(
"h-4 w-4",
"hover:text-red-500",
Expand Down

0 comments on commit 8deafca

Please sign in to comment.