-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (55 loc) · 2.76 KB
/
index.html
File metadata and controls
62 lines (55 loc) · 2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- SVG favicons for all sizes -->
<link rel="icon" type="image/svg+xml" href="./assets/icon.svg" />
<!-- Additional SVG thumbnails for higher resolution displays -->
<link rel="icon" type="image/svg+xml" href="additional-thumbnail.svg" sizes="192x192" />
<!-- Apple Touch Icon (using the additional thumbnail SVG) -->
<link rel="apple-touch-icon" href="additional-thumbnail.svg" />
<!-- Main thumbnail for Open Graph (social sharing) -->
<meta property="og:image" content="thumbnail.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<!-- Allow Framer API connections -->
<meta name="referrer" content="no-referrer-when-downgrade" />
<title>Framer Grid Pattern</title>
<script>
// Handle API errors
window.addEventListener('error', function(event) {
// Prevent errors from Framer API from breaking the plugin
if (event.filename && event.filename.includes('api.framer.com')) {
event.preventDefault();
console.warn('Non-critical API error handled:', event.message);
}
});
</script>
<script src="./api-helper.js"></script>
<script type="module" src="./index-D01ThxbG.mjs"></script>
<link rel="stylesheet" href="./assets/index-CMXfdQ6S.css">
</head>
<body>
<div id="root"></div>
<div id="framer-environment-error" style="display: none;">
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewbox="0 0 20 20"><path d="M5 2.5h10v5h-5Zm0 5h5l5 5H5Zm5 5v5l-5-5Z"/></svg>
<p>This is a Framer Plugin. Begin your development by opening this plugin within Framer. <a href="https://framer.com/plugins/open/">Learn More</a></p>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
// Framer Plugin development iframe detection
if (window.self === window.top) {
document.getElementById('framer-environment-error').style.display = 'flex';
}
// Override Favicon
var link = document.querySelector("link[rel~='icon']");
if (!link) {
link = document.createElement('link');
link.rel = 'icon';
document.head.appendChild(link);
}
link.href = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld2JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNMyAxaDEwdjVIOFptMCA1aDVsNSA1SDNabTUgNXY1bC01LTVaIi8+PC9zdmc+";
});
</script>
</body>
</html>