Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonicBoat committed Dec 27, 2023
1 parent b0ad83e commit efaf17e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"@nextui-org/react": "^2.2.9",
"@prisma/client": "^5.7.1",
"@t3-oss/env-nextjs": "^0.7.1",
"@trigger.dev/nextjs": "^2.3.8",
"@trigger.dev/react": "^2.3.8",
"@trigger.dev/sdk": "^2.3.8",
"bcrypt": "^5.1.1",
"date-fns": "^3.0.0",
"form-data": "^4.0.0",
Expand All @@ -33,13 +36,11 @@
"react-countdown": "^2.3.5",
"react-dom": "18.2.0",
"react-icons": "^4.12.0",
"react-pdf": "^7.6.0",
"sonner": "^1.2.4",
"validator": "^13.11.0",
"zod": "^3.22.4",
"zod-formik-adapter": "^1.2.0",
"@trigger.dev/sdk": "^2.3.8",
"@trigger.dev/nextjs": "^2.3.8",
"@trigger.dev/react": "^2.3.8"
"zod-formik-adapter": "^1.2.0"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
Expand Down
Binary file added public/guide.pdf
Binary file not shown.
9 changes: 9 additions & 0 deletions src/app/guide/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Document, Page } from 'react-pdf';

export default function MyComponent() {
return (
<Document file="public/guide.pdf">
<Page pageNumber={1} />
</Document>
);
}

0 comments on commit efaf17e

Please sign in to comment.