File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" },
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" >
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 />
You can’t perform that action at this time.
0 commit comments