Добавил iframe

This commit is contained in:
root 2025-04-20 19:58:35 +03:00
parent 793aadeff1
commit 28c309b650
5 changed files with 10 additions and 20 deletions

2
.gitignore vendored
View File

@ -39,3 +39,5 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
components/Map.js
pages/index.js

View File

@ -1,8 +1,8 @@
@import "tailwindcss";
:root {
--background: #ffffff;
--foreground: #171717;
--background: #29531d;
--foreground: #a07676;
}
@theme inline {
@ -14,8 +14,8 @@
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
--background: #29531d;
--foreground: #a07676;
}
}
@ -24,3 +24,4 @@ body {
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
}

View File

@ -2,8 +2,10 @@ import Image from "next/image";
export default function Home() {
return (
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
<main className="flex flex-col gap-[32px] row-start-2 items-center sm:items-start">
<iframe src="https://github.com/qgis2web/qgis2web/blob/master/exporter.py" sandbox="allow-scripts" />
<Image
className="dark:invert"
src="/next.svg"

View File

@ -1,15 +0,0 @@
import Head from 'next/head';
import Map from '../components/Map';
export default function Home() {
return (
<div>
<Head>
<title>QGIS Map Example</title>
<meta name="description" content="A simple map using Leaflet and Next.js" />
<link rel="icon" href="/favicon.ico" />
</Head>
<Map />
</div>
);
}