Skip to content

Commit

Permalink
switch from webpack to vite
Browse files Browse the repository at this point in the history
  • Loading branch information
ianedwards committed May 21, 2024
1 parent 3bf3112 commit 6070a85
Show file tree
Hide file tree
Showing 37 changed files with 3,814 additions and 3,755 deletions.
171 changes: 171 additions & 0 deletions dashboard/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
<!doctype html>
<html lang="en">
<head>
<script>
window.dataLayer = window.dataLayer || [];
</script>
<!-- Google Tag Manager -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != "dataLayer" ? "&l=" + l : "";
j.async = true;
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, "script", "dataLayer", "GTM-P8D92VJ");
</script>
<!-- End Google Tag Manager -->

<title>Porter | Dashboard</title>
<link rel="icon" href="https://i.ibb.co/HnSk02f/ptr.png" />
<meta
name="description"
content="Kubernetes powered PaaS that runs in your own cloud."
/>
<meta property="og:title" content="Porter" />
<meta
property="og:image"
content="https://i.ibb.co/52g2g7C/porter-wide.png"
/>
<meta
property="og:description"
content="Kubernetes powered PaaS that runs in your own cloud."
/>
<meta property="og:url" content="https://porter.run" />
<link
href="https://fonts.googleapis.com/css?family=Work+Sans:400,500,600"
rel="stylesheet"
/>
<link href="https://fonts.cdnfonts.com/css/general-sans" rel="stylesheet" />
<link
href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Round"
rel="stylesheet"
/>
<!-- Coding languages icons -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/devicons/[email protected]/devicon.min.css"
/>

<script>
!(function (t, e) {
var o, n, p, r;
e.__SV ||
((window.posthog = e),
(e._i = []),
(e.init = function (i, s, a) {
function g(t, e) {
var o = e.split(".");
2 == o.length && ((t = t[o[0]]), (e = o[1])),
(t[e] = function () {
t.push([e].concat(Array.prototype.slice.call(arguments, 0)));
});
}
((p = t.createElement("script")).type = "text/javascript"),
(p.async = !0),
(p.src = s.api_host + "/static/array.js"),
(r = t.getElementsByTagName("script")[0]).parentNode.insertBefore(
p,
r
);
var u = e;
for (
void 0 !== a ? (u = e[a] = []) : (a = "posthog"),
u.people = u.people || [],
u.toString = function (t) {
var e = "posthog";
return (
"posthog" !== a && (e += "." + a), t || (e += " (stub)"), e
);
},
u.people.toString = function () {
return u.toString(1) + ".people (stub)";
},
o =
"capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys".split(
" "
),
n = 0;
n < o.length;
n++
)
g(u, o[n]);
e._i.push([i, s, a]);
}),
(e.__SV = 1));
})(document, window.posthog || []);
posthog.init("phc_Bna7PjZKfVnkjiDOHx6gUIuIbvWv4M8zsqxYxuRYVo4", {
api_host: "https://app.posthog.com",
});
</script>
</head>

<body>
<!-- Google Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-P8D92VJ"
height="0"
width="0"
style="display: none; visibility: hidden"
></iframe
></noscript>
<!-- End Google Tag Manager (noscript) -->

<div id="output"></div>
<div id="modal-root"></div>
<script type="module" src="./src/index.tsx"></script>

<script>
window.intercomSettings = {
api_base: "https://api-iam.intercom.io",
app_id: "gq56g49i",
alignment: "right",
};
</script>

<script>
// We pre-filled your app ID in the widget URL: 'https://widget.intercom.io/widget/gq56g49i'
(function () {
var w = window;
var ic = w.Intercom;
if (typeof ic === "function") {
ic("reattach_activator");
ic("update", w.intercomSettings);
} else {
var d = document;
var i = function () {
i.c(arguments);
};
i.q = [];
i.c = function (args) {
i.q.push(args);
};
w.Intercom = i;
var l = function () {
var s = d.createElement("script");
s.type = "text/javascript";
s.async = true;
s.src = "https://widget.intercom.io/widget/gq56g49i";
var x = d.getElementsByTagName("script")[0];
x.parentNode.insertBefore(s, x);
};
if (document.readyState === "complete") {
l();
} else if (w.attachEvent) {
w.attachEvent("onload", l);
} else {
w.addEventListener("load", l, false);
}
}
})();
</script>
</body>
</html>
Loading

0 comments on commit 6070a85

Please sign in to comment.