diff --git a/amplify.yml b/amplify.yml new file mode 100644 index 0000000..3f7bbc0 --- /dev/null +++ b/amplify.yml @@ -0,0 +1,23 @@ +version: 1 +frontend: + phases: + preBuild: + commands: + # set up pnpm + - npm install -g pnpm@10.6.4 + # install project dependencies + - pnpm install --frozen-lockfile + build: + commands: + # build Next.js application + - pnpm run build + artifacts: + # Next.js 15 output directory + baseDirectory: .next + files: + - '**/*' + cache: + paths: + # cache dependencies and build artifacts to speed up subsequent builds + - node_modules/**/* + - .next/cache/**/*hi \ No newline at end of file diff --git a/src/themes/default/blocks/footer.tsx b/src/themes/default/blocks/footer.tsx index 985124e..f7767eb 100644 --- a/src/themes/default/blocks/footer.tsx +++ b/src/themes/default/blocks/footer.tsx @@ -90,7 +90,7 @@ export const Footer = ({ sections = defaultSections, description = 'A collection of components for your startup business or side project.', socialLinks = defaultSocialLinks, - copyright = '© 2025 Better-SaaS. All rights reserved.', + copyright = `© ${new Date().getFullYear()} Better-SaaS. All rights reserved.`, legalLinks = defaultLegalLinks, }: FooterProps) => { return (