-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(dashboard): page meta, gtm, and uptime #6974
Conversation
<link rel="icon" href="/favicon-gradient.svg" /> | ||
<link rel="apple-touch-icon" href="/favicon-gradient.svg" /> | ||
<link rel="manifest" href="/manifest.json" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
favicons and manifest
<% if (env.VITE_GTM) { %> | ||
<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', '<%= env.VITE_GTM %>'); | ||
</script> | ||
<% } %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GTM
<% } %> <% if (env.VITE_SELF_HOSTED === 'false' ) { %> | ||
<script | ||
src="https://uptime.betterstack.com/widgets/announcement.js" | ||
data-id="144175" | ||
async="async" | ||
type="text/javascript" | ||
></script> | ||
<% } %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uptime
@@ -106,6 +106,7 @@ | |||
"typescript": "5.6.2", | |||
"typescript-eslint": "^8.0.1", | |||
"vite": "^5.4.1", | |||
"vite-plugin-ejs": "^1.7.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the Vite EJS plugin that allows the use of conditionals in the HTML template; by default, it's not supported by Vite :/
content={field.value} | ||
className="rounded-md rounded-s-none border-b-0 border-r-0 border-t-0 text-neutral-400" | ||
<> | ||
<PageMeta title={workflowName} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
page meta component
✅ Deploy Preview for novu-stg-vite-dashboard-poc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@novu/client
@novu/headless
@novu/framework
@novu/nest
@novu/js
@novu/nextjs
@novu/notification-center
@novu/node
novu
@novu/providers
@novu/react
@novu/react-native
@novu/shared
@novu/stateless
commit: |
What changed? Why was the change needed?
Favicon, Page meta, GTM, Better Stack Uptime
Screenshots
Screen.Recording.2024-11-12.at.16.58.19.mov