Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ea9135af56 | |||
| aaec77598e | |||
| 6b2dad26ec | |||
| 606fdf9a9f | |||
| 22e579761a | |||
| 7762b1e23b |
@@ -1,5 +1,6 @@
|
||||
import { notFound, redirect } from 'next/navigation';
|
||||
import { getImageProps } from 'next/image';
|
||||
import { ScaleOfImpact } from '@/components/blocks/ScaleOfImpact';
|
||||
import { Container, Badge, Heading } from '@/components/ui';
|
||||
import { getTranslations, setRequestLocale } from 'next-intl/server';
|
||||
import { Metadata } from 'next';
|
||||
@@ -55,13 +56,16 @@ const mdxComponents = {
|
||||
GrowthChart,
|
||||
DeepDrillAnimation,
|
||||
DataGridPulse,
|
||||
ScaleOfImpact,
|
||||
ResponsiveImage: (props: any) => {
|
||||
let src = props.src;
|
||||
if (typeof src === 'string' && src.startsWith('/_next/image')) {
|
||||
try {
|
||||
const urlParam = new URLSearchParams(src.split('?')[1]).get('url');
|
||||
if (urlParam) src = decodeURIComponent(urlParam);
|
||||
} catch (e) {}
|
||||
} catch (_e) {
|
||||
// Ignore invalid URL parsing
|
||||
}
|
||||
}
|
||||
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
|
||||
src,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { notFound, redirect } from 'next/navigation';
|
||||
import { getImageProps } from 'next/image';
|
||||
import { ScaleOfImpact } from '@/components/blocks/ScaleOfImpact';
|
||||
import JsonLd from '@/components/JsonLd';
|
||||
import { SITE_URL } from '@/lib/schema';
|
||||
import {
|
||||
@@ -25,13 +26,16 @@ const mdxComponents = {
|
||||
h2: (props: any) => <Heading level={2} size="3" className="mt-16 mb-6 border-b border-neutral-100 pb-4" {...props} />,
|
||||
h3: (props: any) => <Heading level={3} size="4" className="mt-12 mb-4 text-primary" {...props} />,
|
||||
h4: (props: any) => <Heading level={4} size="5" className="mt-8 mb-4 uppercase tracking-widest text-neutral-500" {...props} />,
|
||||
ScaleOfImpact,
|
||||
ResponsiveImage: (props: any) => {
|
||||
let src = props.src;
|
||||
if (typeof src === 'string' && src.startsWith('/_next/image')) {
|
||||
try {
|
||||
const urlParam = new URLSearchParams(src.split('?')[1]).get('url');
|
||||
if (urlParam) src = decodeURIComponent(urlParam);
|
||||
} catch (e) {}
|
||||
} catch (_e) {
|
||||
// Ignore invalid URL parsing
|
||||
}
|
||||
}
|
||||
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
|
||||
src,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Container, Heading, Badge } from '@/components/ui';
|
||||
import { getImageProps } from 'next/image';
|
||||
import { ScaleOfImpact } from '@/components/blocks/ScaleOfImpact';
|
||||
import { getTranslations, setRequestLocale } from 'next-intl/server';
|
||||
import { Metadata } from 'next';
|
||||
import { getAllReferences } from '@/lib/references';
|
||||
@@ -41,13 +42,16 @@ const mdxComponents = {
|
||||
li: CustomLi,
|
||||
p: (props: any) => <p className="text-neutral-600 text-sm mb-4 leading-relaxed" {...props} />,
|
||||
Heading,
|
||||
ScaleOfImpact,
|
||||
ResponsiveImage: (props: any) => {
|
||||
let src = props.src;
|
||||
if (typeof src === 'string' && src.startsWith('/_next/image')) {
|
||||
try {
|
||||
const urlParam = new URLSearchParams(src.split('?')[1]).get('url');
|
||||
if (urlParam) src = decodeURIComponent(urlParam);
|
||||
} catch (e) {}
|
||||
} catch (_e) {
|
||||
// Ignore invalid URL parsing
|
||||
}
|
||||
}
|
||||
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
|
||||
src,
|
||||
|
||||
@@ -56,6 +56,9 @@ export class GlitchtipErrorReportingService implements ErrorReportingService {
|
||||
tracesSampleRate: this.options.tracesSampleRate ?? 0.1,
|
||||
replaysOnErrorSampleRate: 1.0,
|
||||
replaysSessionSampleRate: 0.1,
|
||||
ignoreErrors: [
|
||||
'Failed to find Server Action. This request might be from an older or newer deployment.',
|
||||
],
|
||||
});
|
||||
}
|
||||
return Sentry;
|
||||
|
||||
6
lint-results.json
Normal file
6
lint-results.json
Normal file
File diff suppressed because one or more lines are too long
@@ -140,7 +140,7 @@
|
||||
"prepare": "husky",
|
||||
"preinstall": "npx only-allow pnpm"
|
||||
},
|
||||
"version": "2.4.40",
|
||||
"version": "2.4.43",
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"@parcel/watcher",
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user