Skip to content

Commit 78b97eb

Browse files
committed
update border commit has
1 parent 8247e23 commit 78b97eb

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

web/src/App.svelte

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<script lang="ts">
22
import InlineSVG from "svelte-inline-svg";
3+
import Footer from "./lib/Footer.svelte";
4+
35
const maps = [
46
{ name: "강원도 시군구 경계", fileName: "강원도_시군구_경계.svg" },
57
{ name: "경기도 시군구 경계", fileName: "경기도_시군구_경계.svg" },
@@ -26,7 +28,8 @@
2628
{ name: "충청남도 시군구 경계", fileName: "충청남도_시군구_경계.svg" },
2729
{ name: "충청북도 시군구 경계", fileName: "충청북도_시군구_경계.svg" },
2830
];
29-
import Footer from "./lib/Footer.svelte";
31+
const commit_hash = "8247e23ded70eb908a61dbe2b3db07599b4a21cc";
32+
const base_url = `https://raw.githubusercontent.com/statgarten/maps/${commit_hash}/svg/simple/`;
3033
</script>
3134

3235
<main class="pb-16">
@@ -38,7 +41,7 @@
3841
>
3942
<p class="text-dark">{name}</p>
4043
<InlineSVG
41-
src="https://raw.githubusercontent.com/statgarten/maps/cc92a8feff9817d92805b57ad2368c9c58552841/svg/simple/{fileName}"
44+
src={base_url + fileName}
4245
alt={name}
4346
class="w-full h-auto fill-slate-500 stroke-white-900 hover:fill-slate-900 transition ease-in-out delay-10"
4447
/>

0 commit comments

Comments
 (0)