;
export default function AdminAppInsightsClient({
codeMeta,
@@ -201,7 +208,7 @@ export default function AdminAppInsightsClient({
/>}
content="AI enabled without rate limiting"
// eslint-disable-next-line max-len
- expandContent="Create Vercel KV store and link o this project in order to enable rate limiting."
+ expandContent="Create Vercel KV store and link to this project in order prevent abuse by to enabling rate limiting."
/>}
{(noAi || debug) && }
@@ -235,7 +242,9 @@ export default function AdminAppInsightsClient({
icon={}
content="Grid homepage"
expandContent={<>
- Enable grid homepage by setting environment variable
+ Now that you have a sufficient amount of photos, you can
+ {' '}
+ enable grid homepage by setting environment variable
{' '}
>}
@@ -249,24 +258,23 @@ export default function AdminAppInsightsClient({
expandContent={<>
{/* eslint-disable-next-line max-len */}
Enable static optimization by setting any of the following environment variables:
-
-
-
-
-
+
+ {renderLabeledEnvVar(
+ 'Pre-render photo pages',
+ 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTOS',
+ )}
+ {renderLabeledEnvVar(
+ 'Pre-render OG image for each photo',
+ 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_OG_IMAGES',
+ )}
+ {renderLabeledEnvVar(
+ 'Pre-render category pages (tags, cameras, etc.)',
+ 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_CATEGORIES',
+ )}
+ {renderLabeledEnvVar(
+ 'Pre-render OG image for each category page',
+ 'NEXT_PUBLIC_STATICALLY_OPTIMIZE_PHOTO_CATEGORY_OG_IMAGES',
+ )}