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

#966 nextjs example template #1009

Draft
wants to merge 30 commits into
base: develop
Choose a base branch
from
Draft

Conversation

joepio
Copy link
Member

@joepio joepio commented Nov 4, 2024

Related Issues

Todo

  • Feature parity with Sveltekit template
    • Render a dynamic page
    • Menu items
    • Search bar
    • Search results
  • Update Generator to support template
  • Readme for local dev
  • Update docs
  • Give feedback in this issue, e.g. about reusable component needs
  • Netlify deploy in readme
  • Try a netlify deploy, see if it all works (Statically / SSR)

Checklist

  • Add changelog entry linking to issue, describe API changes
  • Add or update tests if needed
  • Update docs if needed

<div className={styles.wrapper}>
{resource.props.images?.map((image: string, index: number) => (
<div key={index} className={styles.image}>
<Image subject={image} alt='' />
Copy link
Member Author

Choose a reason for hiding this comment

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

Use file description / name

return (
<Container>
<div className={styles.blogWrapper}>
<Image subject={resource.props.coverImage} alt='' />
Copy link
Member Author

Choose a reason for hiding this comment

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

alt

Copy link
Member Author

Choose a reason for hiding this comment

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

Image comp should deal with that

@RoelLeijser RoelLeijser force-pushed the #966-nextjs-example-template branch from a94e443 to cc75ad6 Compare November 6, 2024 12:20
@RoelLeijser RoelLeijser force-pushed the #966-nextjs-example-template branch from 82b887c to 6d00312 Compare November 14, 2024 15:44
@@ -0,0 +1,15 @@
# Deploying
Copy link
Member Author

Choose a reason for hiding this comment

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

Move to README.md

Copy link
Member Author

Choose a reason for hiding this comment

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

Also, discuss SSR / SSG limitations

@RoelLeijser RoelLeijser force-pushed the #966-nextjs-example-template branch from 239bfaa to bb64c70 Compare December 9, 2024 15:58
@RoelLeijser RoelLeijser force-pushed the #966-nextjs-example-template branch from 1a6ff6f to 53eed8f Compare December 10, 2024 13:59
@joepio
Copy link
Member Author

joepio commented Dec 16, 2024

Netlify and Vercel now working, Netlify had some issues (CSS not working)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add NextJS example template
3 participants