diff --git a/src/photo/PhotosEmptyState.tsx b/src/photo/PhotosEmptyState.tsx index 2498c604..edeebbbf 100644 --- a/src/photo/PhotosEmptyState.tsx +++ b/src/photo/PhotosEmptyState.tsx @@ -7,10 +7,18 @@ import Link from 'next/link'; import { HiOutlinePhotograph } from 'react-icons/hi'; export default function PhotosEmptyState() { + const renderLink = (href: string) => + + {href} + ; + return ( + {!IS_SITE_READY ? - :
-
+ :
+
1. Visit {' '} - - /admin - + {renderLink('/admin/photos')} {' '} to add your first photo
@@ -40,15 +43,7 @@ export default function PhotosEmptyState() { 2. Change the name of this blog and other configuration by editing environment variables referenced in {' '} - - src/site/config.ts - + {renderLink('/admin/configuration')}
} }