update 1 file and delete 2 files

master
Your Name 3 years ago
parent fd2833bd0d
commit f946f473cc
  1. 7
      src/App.js
  2. 27
      src/components/LeafLet/index.js
  3. BIN
      src/components/LeafLet/placeholder.png

@ -70,7 +70,6 @@ import TimeLine from "./components/TimeLineComponent/Timeline";
import ProfilePicNextToEachOther from "./components/ProfilePicNextToEachOther"; import ProfilePicNextToEachOther from "./components/ProfilePicNextToEachOther";
import SelectYear from "./components/SelectYear"; import SelectYear from "./components/SelectYear";
import IndianaDragScroll from "./components/IndianaDragScroll"; import IndianaDragScroll from "./components/IndianaDragScroll";
import TestComponentNew from "./components/TestComponentNew";
import CardTrelloDesign from "./components/CardTrelloDesign"; import CardTrelloDesign from "./components/CardTrelloDesign";
import CircleInCircle from "./components/CircleInCircle"; import CircleInCircle from "./components/CircleInCircle";
import NewTagDesign from "./components/NewTagDesign"; import NewTagDesign from "./components/NewTagDesign";
@ -83,11 +82,10 @@ import IconText from "./components/IconText";
import CardDesign2 from "./components/CardDesign2"; import CardDesign2 from "./components/CardDesign2";
import ButtonDivTag from "./components/ButtonDivTag"; import ButtonDivTag from "./components/ButtonDivTag";
import Button from "./components/Button"; import Button from "./components/Button";
import LeafLet from "./components/LeafLet";
import LeafletMap from "./components/LeafletMap"; import LeafletMap from "./components/LeafletMap";
import CssCountdown from "./components/CssCountdown"; import CssCountdown from "./components/CssCountdown";
// import Digikala from "./components/Digikala/ImageSlider"; import TestComponentNew from "./components/TestComponentNew";
function App() { function App() {
return ( return (
@ -140,7 +138,6 @@ function App() {
{/* <DistributedData /> */} {/* <DistributedData /> */}
{/* <CardDesign1 /> */} {/* <CardDesign1 /> */}
{/* <CardDesign2 /> */} {/* <CardDesign2 /> */}
{/* <LeafLet /> */}
<LeafletMap /> <LeafletMap />
{/* *************************************************** mini components *************************************************** */} {/* *************************************************** mini components *************************************************** */}
{/* <Button /> */} {/* <Button /> */}
@ -173,6 +170,7 @@ function App() {
{/* <IconText /> */} {/* <IconText /> */}
{/* <CustomToast /> */} {/* <CustomToast /> */}
{/* <CssCountdown /> */} {/* <CssCountdown /> */}
{/* <div className="flex"> {/* <div className="flex">
<SidebarDesign2 className="w-1/5" /> <SidebarDesign2 className="w-1/5" />
<span className="w-4/5 "> <span className="w-4/5 ">
@ -180,6 +178,7 @@ function App() {
<FooterDesign1 /> <FooterDesign1 />
</span> </span>
</div> */} </div> */}
{/* <Digikala /> */} {/* <Digikala /> */}
{/* <TestComponentNew /> */} {/* <TestComponentNew /> */}
</div> </div>

@ -1,27 +0,0 @@
import React from "react";
import { MapContainer, Marker, Popup, TileLayer } from "react-leaflet";
const position = [51.505, -0.09];
const index = () => {
return (
<MapContainer
center={position}
zoom={13}
style={{ width: "100%", height: "100vh" }}
>
<TileLayer
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Marker position={position}>
<Popup>
A pretty CSS3 popup. <br /> Easily customizable.
</Popup>
</Marker>
</MapContainer>
);
};
export default index;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Loading…
Cancel
Save