Skip to content

Commit

Permalink
feat: static export
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansteil-pl committed Nov 25, 2024
1 parent 69536e6 commit 7d15813
Show file tree
Hide file tree
Showing 4 changed files with 1,934 additions and 5 deletions.
4 changes: 4 additions & 0 deletions app/sign-in/[[...sign-in]]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { SignIn } from "@clerk/nextjs";

export function generateStaticParams() {
return [{ "sign-in": [] }];
}

export default function Page() {
return (
<div className="flex justify-center py-24">
Expand Down
4 changes: 4 additions & 0 deletions app/sign-up/[[...sign-up]]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { SignUp } from "@clerk/nextjs";

export function generateStaticParams() {
return [{ "sign-up": [] }];
}

export default function Page() {
return (
<div className="flex justify-center py-24">
Expand Down
13 changes: 8 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
images: {
remotePatterns: [ {
protocol: 'https',
hostname: 'img.clerk.com',
port: '',
},],
remotePatterns: [
{
protocol: "https",
hostname: "img.clerk.com",
port: "",
},
],
},
};

Expand Down
Loading

0 comments on commit 7d15813

Please sign in to comment.