aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorJeremyJamesL <jeremyluscombe@gmail.com>2024-12-04 09:09:11 +0000
committerJeremyJamesL <jeremyluscombe@gmail.com>2024-12-04 09:09:11 +0000
commit96c52a6d58e10f3fae2a69ab00ed219e9f2d0059 (patch)
treef4d519dfd4ee0ab38e7d875b05edb671c71b0fa9 /index.html
first commit
Diffstat (limited to 'index.html')
-rw-r--r--index.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..14b3160
--- /dev/null
+++ b/index.html
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Vite App</title>
+ <link rel="stylesheet" href="/src/index.css" />
+ <script>
+ ((g) => {
+ var h,
+ a,
+ k,
+ p = "The Google Maps JavaScript API",
+ c = "google",
+ l = "importLibrary",
+ q = "__ib__",
+ m = document,
+ b = window;
+ b = b[c] || (b[c] = {});
+ var d = b.maps || (b.maps = {}),
+ r = new Set(),
+ e = new URLSearchParams(),
+ u = () =>
+ h ||
+ (h = new Promise(async (f, n) => {
+ await (a = m.createElement("script"));
+ e.set("libraries", [...r] + "");
+ for (k in g)
+ e.set(
+ k.replace(/[A-Z]/g, (t) => "_" + t[0].toLowerCase()),
+ g[k]
+ );
+ e.set("callback", c + ".maps." + q);
+ a.src = `https://maps.${c}apis.com/maps/api/js?` + e;
+ d[q] = f;
+ a.onerror = () => (h = n(Error(p + " could not load.")));
+ a.nonce = m.querySelector("script[nonce]")?.nonce || "";
+ m.head.append(a);
+ }));
+ d[l]
+ ? console.warn(p + " only loads once. Ignoring:", g)
+ : (d[l] = (f, ...n) => r.add(f) && u().then(() => d[l](f, ...n)));
+ })({
+ key: "AIzaSyCtS6CiOrG95FhroSUdDJJokItndcMkrgc",
+ v: "weekly",
+ });
+ </script>
+ </head>
+ <body>
+ <header class="py-2">
+ <div class="container">
+ <h1>London Pubs - Algolia Map Search</h1>
+ </div>
+ </header>
+
+ <main class="py-2">
+ <div class="container">
+ <div id="app" class="flex">
+ <div id="map"></div>
+ </div>
+ </div>
+ </main>
+ <!-- prettier-ignore -->
+ <script>(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})
+ ({key: "AIzaSyCtS6CiOrG95FhroSUdDJJokItndcMkrgc", v: "weekly"});</script>
+ <script type="module" src="/src/main.js"></script>
+ </body>
+</html>