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>
24 lines
1.6 KiB
Text
24 lines
1.6 KiB
Text
import * as Platform from '../../../core/platform/platform.js';
|
||
import * as Handlers from '../handlers/handlers.js';
|
||
import * as Types from '../types/types.js';
|
||
import { type InsightModel, type InsightSetContext } from './types.js';
|
||
export declare const UIStrings: {
|
||
/** Title of an insight that provides details about if the page's viewport is optimized for mobile viewing. */
|
||
readonly title: "Optimize viewport for mobile";
|
||
/**
|
||
* @description Text to tell the user how a viewport meta element can improve performance. \xa0 is a non-breaking space
|
||
*/
|
||
readonly description: "Tap interactions may be [delayed by up to 300 ms](https://developer.chrome.com/blog/300ms-tap-delay-gone-away/) if the viewport is not optimized for mobile.";
|
||
/**
|
||
* @description Text for a label describing the portion of an interaction event that was delayed due to a bad mobile viewport.
|
||
*/
|
||
readonly mobileTapDelayLabel: "Mobile tap delay";
|
||
};
|
||
export declare const i18nString: (id: string, values?: Record<string, string> | undefined) => {i18nId: string, values: Record<string, string|number>, formattedDefault: string};
|
||
export type ViewportInsightModel = InsightModel<typeof UIStrings, {
|
||
mobileOptimized: boolean | null;
|
||
viewportEvent?: Types.Events.ParseMetaViewport;
|
||
longPointerInteractions?: Types.Events.SyntheticInteractionPair[];
|
||
}>;
|
||
export declare function generateInsight(parsedTrace: Handlers.Types.ParsedTrace, context: InsightSetContext): ViewportInsightModel;
|
||
export declare function createOverlays(model: ViewportInsightModel): Types.Overlays.Overlay[];
|