Skip to content

Commit c67bf67

Browse files
authored
Add flag content link to index.html
Added a flag content link to the AI summaries page.
1 parent 4b2ac49 commit c67bf67

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

samples/ai-powered-summaries/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<head>
1010
<title>AI Place Summaries</title>
1111
<link rel="stylesheet" type="text/css" href="./style.css" />
12-
<script type="module" src="./index.js"></script><!-- prettier-ignore -->
12+
<script type="module" src="./index.js"></script>
13+
<!-- prettier-ignore -->
1314
<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))})
1415
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"});</script>
1516
</head>
@@ -41,6 +42,9 @@ <h2 id="place-name"></h2>
4142

4243
<!-- Legal/AI Disclosure -->
4344
<div id="ai-disclosure" class="disclosure-footer"></div>
45+
46+
<!-- Flag content link -->
47+
<a id="flag-content-link" class="flag-content-link"></a>
4448
</div>
4549
</gmp-map>
4650
</body>

0 commit comments

Comments
 (0)