+ {(hasTemplateRecommendations(insights) || debug)
+ ? <>
+ {(noAiRateLimiting || debug) && }
+ content="AI enabled without rate limiting"
+ expandContent={<>
+ Create Vercel KV store and link to this project
+ in order prevent abuse by to enabling rate limiting.
+ >}
/>}
- content="AI enabled without rate limiting"
- expandContent={<>
- Create Vercel KV store and link to this project
- in order prevent abuse by to enabling rate limiting.
- >}
- />}
- {(noStaticOptimization || debug) && }
+ content="Speed up page load times"
+ expandContent={<>
+ Improve load times by enabling static optimization
+ {' '}
+ on:
+
+ {renderLabeledEnvVar(
+ 'Photo pages',
+ 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTOS',
+ )}
+ {renderLabeledEnvVar(
+ 'Photo OG images',
+ 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_OG_IMAGES',
+ )}
+ {renderLabeledEnvVar(
+ 'Category pages (tags, cameras, etc.)',
+ 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_CATEGORIES',
+ )}
+ {renderLabeledEnvVar(
+ 'Category OG images',
+ 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_CATEGORY_OG_IMAGES',
+ )}
+
+ See {readmeAnchor('performance')} for cost implications.
+
+
+ >}
/>}
- content="Speed up page load times"
- expandContent={<>
- Improve load times by enabling static optimization
- {' '}
- on:
-
- {renderLabeledEnvVar(
- 'Photo pages',
- 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTOS',
- )}
- {renderLabeledEnvVar(
- 'Photo OG images',
- 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_OG_IMAGES',
- )}
- {renderLabeledEnvVar(
- 'Category pages (tags, cameras, etc.)',
- 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_CATEGORIES',
- )}
- {renderLabeledEnvVar(
- 'Category OG images',
- 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_CATEGORY_OG_IMAGES',
- )}
-
- See {readmeAnchor('performance')} for cost implications.
-
-
- >}
- />}
- {(noAi || debug) && }
- content="Improve SEO + accessibility with AI"
- expandContent={<>
- Enable automatic AI text generation
- {' '}
- by setting .
- {' '}
- Further instruction and cost considerations in
- {' '}
- {readmeAnchor('ai-text-generation')}.
- >}
- />}
- {(photoMatting || debug) && }
+ content="Improve SEO + accessibility with AI"
+ expandContent={<>
+ Enable automatic AI text generation
+ {' '}
+ by setting .
+ {' '}
+ Further instruction and cost considerations in
+ {' '}
+ {readmeAnchor('ai-text-generation')}.
+ >}
/>}
- content="Vertical photos may benefit from matting"
- expandContent={<>
- Enable photo matting to make
- {' '}
- portrait and landscape photos appear more consistent
- {' '}
- .
- >}
- />}
- {(gridFirst || debug) && }
- content="Grid homepage"
- expandContent={<>
- Now that you have enough photos, consider switching your
- {' '}
- default view to grid by setting
- {' '}
- .
- >}
- />}
-