diff --git a/packages/web/components/PostCard/PostCard.tsx b/packages/web/components/PostCard/PostCard.tsx index 829bd4b..1746af1 100644 --- a/packages/web/components/PostCard/PostCard.tsx +++ b/packages/web/components/PostCard/PostCard.tsx @@ -3,6 +3,7 @@ import SupportingLink from '../SupportingLink'; import styles from './PostCard.module.css'; import { ArrowRight } from 'react-feather'; import dayjs from '@/utils/extendedDayJs'; +import VisuallyHidden from '../VisuallyHidden'; interface Props { title: string; @@ -43,7 +44,7 @@ const PostCard = ({

{abstract}

- Read more{' '} + Read more about this post diff --git a/stacks/Database.ts b/stacks/Database.ts index 38cd35e..8ba8cfc 100644 --- a/stacks/Database.ts +++ b/stacks/Database.ts @@ -7,7 +7,7 @@ export function Database({ stack }: StackContext) { migrations: 'packages/core/migrations', types: 'packages/core/src/sql.generated.ts', scaling: { - autoPause: stack.stage !== 'prod', + autoPause: stack.stage === 'prod' ? 60 : true, }, }); diff --git a/stacks/Web.ts b/stacks/Web.ts index ab69401..ee8c4f0 100644 --- a/stacks/Web.ts +++ b/stacks/Web.ts @@ -8,7 +8,7 @@ export function Web({ stack }: StackContext) { customDomain: stack.stage === 'prod' ? 'stephenstpierre.com' : undefined, path: 'packages/web', warm: stack.stage === 'prod' ? 40 : undefined, - timeout: stack.stage === 'prod' ? '30 seconds' : undefined, + timeout: stack.stage === 'prod' ? '45 seconds' : '10 seconds', openNextVersion: '2.3.7', environment: { NEXT_SHARP_PATH: '/tmp/node_modules/sharp',