From 2ed27f18bec576700f818d1da88593b58c95b840 Mon Sep 17 00:00:00 2001 From: dhawneetg Date: Fri, 29 May 2026 17:27:41 +0530 Subject: [PATCH 1/2] feat: add footer bento spotlight, page transitions and features in editor --- src/components/AppLayout.jsx | 16 +- src/components/CodeEditor.jsx | 359 +++++++++++++++++++++++++++++----- src/components/Footer.jsx | 127 ++++++++---- 3 files changed, 417 insertions(+), 85 deletions(-) diff --git a/src/components/AppLayout.jsx b/src/components/AppLayout.jsx index eddebd44..a5ee879f 100644 --- a/src/components/AppLayout.jsx +++ b/src/components/AppLayout.jsx @@ -1,4 +1,5 @@ import React from 'react' +import { useLocation } from 'react-router-dom' import { Navbar } from './Navbar' import Footer from './Footer' import { motion } from 'framer-motion' @@ -13,6 +14,8 @@ const Background = () => ( ) export default function AppLayout({ children, showBackground = true }) { + const { pathname } = useLocation() + return ( -
{children}
+ + {children} +