Standardize page wrappers, add showSocialShare prop, and add Cmd+K search

- Standardize all page wrappers to use consistent min-h-screen bg-background pattern
- Remove Layout wrapper usage from pages that had it
- Remove page-level SocialShare and headers, move into components
- Add showSocialShare prop to all interactive components for consistent control
- Add Cmd+K / Ctrl+K command palette search across all interactives
- Export allInteractives from InteractiveIndex for reuse

Co-Authored-By: Neeldhara Misra <mail@neeldhara.com>
This commit is contained in:
Devin AI 2026-02-18 20:07:30 +00:00
parent dc8300f358
commit 8f2a086df6
35 changed files with 259 additions and 357 deletions

View file

@ -1,15 +1,12 @@
import Layout from "@/components/Layout";
import ErdosDiscrepancyPuzzle from "@/components/ErdosDiscrepancyPuzzle";
const ErdosDiscrepancyPuzzlePage = () => {
return (
<Layout>
<div className="py-8 px-4">
<div className="max-w-6xl mx-auto">
<ErdosDiscrepancyPuzzle showSocialShare={true} />
</div>
<div className="min-h-screen bg-background">
<div className="container mx-auto px-4 py-8">
<ErdosDiscrepancyPuzzle showSocialShare={true} />
</div>
</Layout>
</div>
);
};