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

@ -0,0 +1,13 @@
import TernarySearchTrick from '@/components/TernarySearchTrick';
const TernarySearchTrickPage = () => {
return (
<div className="min-h-screen bg-background flex items-center justify-center">
<div className="w-full max-w-6xl px-4 py-8">
<TernarySearchTrick showSocialShare={true} />
</div>
</div>
);
};
export default TernarySearchTrickPage;