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:
parent
8f2a086df6
commit
aff14bdf2f
1 changed files with 1 additions and 8 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue