Skip to content

Commit

Permalink
Dynamic rendering Map.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sterenz committed Dec 8, 2023
1 parent 1e0f871 commit 5d09fba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 117 deletions.
9 changes: 7 additions & 2 deletions empower-italy/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import dynamic from "next/dynamic";
import Hero from "@/components/Hero";
import { HERO_DATA } from "@/app/lib/data"
import Intro from "@/components/Intro";
Expand All @@ -8,10 +9,14 @@ import NumbersAge from "@/components/NumbersAge";
import Conclusions from "@/components/Conclusions";
import MashUp from "@/components/MashUp";
import OccupationBarChart from "@/components/OccupationBarChart";
import Map from "@/components/Map";
// import Map from "@/components/Map";
import Countries from "@/components/Countries";


const DynamicMap = dynamic(() => import("@/components/Map"), {
ssr: false,
});


export default function Home() {

Expand All @@ -27,7 +32,7 @@ export default function Home() {
<article className="max-w-7xl m-auto animate-fade-in-down">
<div className="grid grid-cols-12 gap-6 h-full">
<Countries />
<Map />
<DynamicMap />
</div>
</article>
</section>
Expand Down
115 changes: 0 additions & 115 deletions empower-italy/components/BubbleChartMashUp.tsx

This file was deleted.

0 comments on commit 5d09fba

Please sign in to comment.