Remove duplicate SocialShare from Foundations theme page

Components now render SocialShare internally via showSocialShare prop,
so the page-level SocialShare block was causing duplicates.

Co-Authored-By: Neeldhara Misra <mail@neeldhara.com>
This commit is contained in:
Devin AI 2026-02-18 20:27:43 +00:00
parent 8f2a086df6
commit aff14bdf2f

View file

@ -3,7 +3,6 @@ import { Link } from "react-router-dom";
import { Search } from "lucide-react"; import { Search } from "lucide-react";
import Layout from "@/components/Layout"; import Layout from "@/components/Layout";
import InteractiveCard from "@/components/InteractiveCard"; import InteractiveCard from "@/components/InteractiveCard";
import SocialShare from "@/components/SocialShare";
import BinaryNumberGame from "@/components/BinaryNumberGame"; import BinaryNumberGame from "@/components/BinaryNumberGame";
import TernaryNumberGame from "@/components/TernaryNumberGame"; import TernaryNumberGame from "@/components/TernaryNumberGame";
import BalancedTernaryGame from "@/components/BalancedTernaryGame"; import BalancedTernaryGame from "@/components/BalancedTernaryGame";
@ -80,12 +79,6 @@ const Foundations = () => {
</Link> </Link>
</div> </div>
<InteractiveComponent /> <InteractiveComponent />
<SocialShare
title={`${selectedInteractive.title} - Interactive Learning`}
description={selectedInteractive.description}
url={`${window.location.origin}${selectedInteractive.greenScreenPath}`}
/>
</div> </div>
</div>; </div>;
} }
@ -117,4 +110,4 @@ const Foundations = () => {
</div> </div>
</Layout>; </Layout>;
}; };
export default Foundations; export default Foundations;