Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add About Page #127

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `next` recipe
# Distribute Aid Website 3.0 🥳

The `next` recipe showcases one of the most powerful ways to implement Puck using to provide an authoring tool for any route in your Next app.

Expand All @@ -10,12 +10,6 @@ The `next` recipe showcases one of the most powerful ways to implement Puck usin

## Usage

Run the generator and enter `next` when prompted

```
npx create-puck-app my-app
```

Start the server

```
Expand Down
7 changes: 7 additions & 0 deletions app/about/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function AboutPage() {
return (<>
<h1>About Distribute Aid</h1>
<h2>Distribute Aid is great</h2>
</>
);
}
1 change: 1 addition & 0 deletions src/components/Callout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ type Props = {

export const CalloutConfig: ComponentConfig<Props> = {
fields: {
//@ts-ignore
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really shouldn't be using ts-ignore. Let's find a way to do this with proper type checking, please?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah you're right thank you, I'll make those changes.

icon: {
...IconPickerField
},
Expand Down