Prompt to overwrite non-empty dirs before config

This commit is contained in:
Aman Varshney
2025-05-05 18:54:23 +05:30
parent ff13123bcb
commit 357dfbbbf9
29 changed files with 223 additions and 141 deletions

View File

@@ -45,7 +45,7 @@ const MAX_VISIBLE_PAGES = 5;
export default function Testimonials() {
const [startIndex, setStartIndex] = useState(0);
const [tweetsPerPage] = useState(6); // Show 6 tweets per page
const [tweetsPerPage] = useState(6);
const totalPages = useMemo(
() => Math.ceil(TWEET_IDS.length / tweetsPerPage),

View File

@@ -1,6 +1,6 @@
"use client";
import { cn } from "@/lib/utils"; // Make sure you have this utility
import { cn } from "@/lib/utils";
import * as SwitchPrimitives from "@radix-ui/react-switch";
import { Moon, Sun } from "lucide-react";
import { useTheme } from "next-themes";