Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
862 B
Text
33 lines
862 B
Text
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
|
const traceData = require('./traceData.js');
|
|
|
|
/**
|
|
* Returns a string of meta tags that represent the current trace data.
|
|
*
|
|
* You can use this to propagate a trace from your server-side rendered Html to the browser.
|
|
* This function returns up to two meta tags, `sentry-trace` and `baggage`, depending on the
|
|
* current trace data state.
|
|
*
|
|
* @example
|
|
* Usage example:
|
|
*
|
|
* ```js
|
|
* function renderHtml() {
|
|
* return `
|
|
* <head>
|
|
* ${getTraceMetaTags()}
|
|
* </head>
|
|
* `;
|
|
* }
|
|
* ```
|
|
*
|
|
*/
|
|
function getTraceMetaTags(traceData$1) {
|
|
return Object.entries(traceData$1 || traceData.getTraceData())
|
|
.map(([key, value]) => `<meta name="${key}" content="${value}"/>`)
|
|
.join('\n');
|
|
}
|
|
|
|
exports.getTraceMetaTags = getTraceMetaTags;
|
|
//# sourceMappingURL=meta.js.map
|