diff --git a/bun.lockb b/bun.lockb index a819a80..89cd943 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/public/sitemap.xml b/public/sitemap.xml index a7d80dd..6d5423f 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -1,6 +1,6 @@ -https://blog.vineet.tech/tags2024-09-28T16:23:23.761Zdaily0.7 -https://blog.vineet.tech/blog2024-09-28T16:23:23.762Zdaily0.7 -https://blog.vineet.tech2024-09-28T16:23:23.762Zdaily0.7 +https://blog.vineet.tech/blog2024-10-05T14:28:43.689Zdaily0.7 +https://blog.vineet.tech/tags2024-10-05T14:28:43.689Zdaily0.7 +https://blog.vineet.tech2024-10-05T14:28:43.689Zdaily0.7 \ No newline at end of file diff --git a/src/app/actions/blog.action.ts b/src/app/actions/blog.action.ts index 77622c6..0d1052f 100644 --- a/src/app/actions/blog.action.ts +++ b/src/app/actions/blog.action.ts @@ -10,7 +10,6 @@ import rehypeSlug from "rehype-slug"; import { SuccessResponse } from "@/lib/success"; const getBlogs = withServerActionAsyncCatcher(async () => { - console.log("Fetching blogs"); const response = await axios.get( `https://api.github.com/repos/${process.env.GITHUB_USERNAME}/${process.env.GITHUB_REPO_NAME}/git/trees/main?recursive=1`, { diff --git a/src/components/Link-blogs.tsx b/src/components/Link-blogs.tsx index ca32629..f5a4f52 100644 --- a/src/components/Link-blogs.tsx +++ b/src/components/Link-blogs.tsx @@ -1,25 +1,10 @@ "use client"; import getFormattedDate from "@/utils/formatdate"; -import { useState } from "react"; import { TitleHover } from "./title-hover"; export const LinkBlogs = (post: Meta) => { - const [isHovering, setIsHovering] = useState(false); - - const handleMouseEnter = () => { - setIsHovering(true); - }; - - const handleMouseLeave = () => { - setIsHovering(false); - }; - return (
-

+

{ const [isOpen, setOpen] = useState(false); - const [isMounted, setMounted] = useState(false); - - useEffect(() => { - console.log(imageLink); - setMounted(true); - }, []); const sprinConfig = { stiffness: 100, damping: 15 }; const x = useMotionValue(0); const translateX = useSpring(x, sprinConfig); - let mouseMoveHandler = (event: any) => { + const mouseMoveHandler = (event: any) => { const targetRect = event.target.getBoundingClientRect(); const eventOffsetX = event.clientX - targetRect.left; const offsetFromCenter = (eventOffsetX - targetRect.width / 2) / 2; // Reduce the effect to make it subtle @@ -47,17 +40,6 @@ export const TitleHover = ({ }; return ( <> - {/* {isMounted ? ( - hidden image - ) : null} */} -