Skip to content

Commit

Permalink
Just add some stubs for the other pack pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mdirolf committed Jun 11, 2024
1 parent ad27fe7 commit 0e51d30
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
21 changes: 21 additions & 0 deletions app/pages/packs/[packId].tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Head from 'next/head';
import { DefaultTopBar } from '../../components/TopBar.js';
import { withTranslation } from '../../lib/translation.js';

export const getServerSideProps = withTranslation(() => {
return Promise.resolve({ props: {} });
});

export default function Page() {
return (
<>
<Head>
<title>{`Pack | Crosshare Crossword Constructor and Puzzles`}</title>
</Head>
<DefaultTopBar />
<div className="margin1em">
<h2>Coming soon...</h2>
</div>
</>
);
}
21 changes: 21 additions & 0 deletions app/pages/packs/[packId]/edit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Head from 'next/head';
import { DefaultTopBar } from '../../../components/TopBar.js';
import { withTranslation } from '../../../lib/translation.js';

export const getServerSideProps = withTranslation(() => {
return Promise.resolve({ props: {} });
});

export default function Page() {
return (
<>
<Head>
<title>{`Edit Pack | Crosshare Crossword Constructor and Puzzles`}</title>
</Head>
<DefaultTopBar />
<div className="margin1em">
<h2>Coming soon...</h2>
</div>
</>
);
}
21 changes: 21 additions & 0 deletions app/pages/packs/[packId]/manage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Head from 'next/head';
import { DefaultTopBar } from '../../../components/TopBar.js';
import { withTranslation } from '../../../lib/translation.js';

export const getServerSideProps = withTranslation(() => {
return Promise.resolve({ props: {} });
});

export default function Page() {
return (
<>
<Head>
<title>{`Manage Pack Access | Crosshare Crossword Constructor and Puzzles`}</title>
</Head>
<DefaultTopBar />
<div className="margin1em">
<h2>Coming soon...</h2>
</div>
</>
);
}
21 changes: 21 additions & 0 deletions app/pages/packs/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Head from 'next/head';
import { DefaultTopBar } from '../../components/TopBar.js';
import { withStaticTranslation } from '../../lib/translation.js';

export const getStaticProps = withStaticTranslation(() => {
return { props: {} };
});

export default function Page() {
return (
<>
<Head>
<title>{`Packs | Crosshare Crossword Constructor and Puzzles`}</title>
</Head>
<DefaultTopBar />
<div className="margin1em">
<h2>Coming soon...</h2>
</div>
</>
);
}

0 comments on commit 0e51d30

Please sign in to comment.