Add Ternary Search Magic Trick interactive and fix layout issues

- Create new Ternary Search Magic Trick interactive with ternary search logic
- Add emoji buttons and 'not present' option for better UX
- Implement 'How it Works' modal with embedded YouTube video
- Fix layout margins when accessing interactives from theme pages
- Add standalone and green screen pages for the new interactive
- Update Data Structures theme to include the new interactive
This commit is contained in:
Neeldhara Misra 2025-07-20 10:29:09 +05:30
parent 3f04e8c7d7
commit 7451682dd5
7 changed files with 419 additions and 26 deletions

View file

@ -1,14 +1,7 @@
import Layout from "@/components/Layout";
import InteractiveGallery from "@/components/InteractiveGallery";
const DataStructures = () => {
return (
<Layout>
<div className="max-w-7xl mx-auto p-6">
<InteractiveGallery />
</div>
</Layout>
);
return <InteractiveGallery />;
};
export default DataStructures;