Comments (2)
It would also be pretty sick to get this set up with Deploy Hooks. That way if your preview looks good you can click "rebuild SSG" or something to sync up to production
from notion-blog.
Hi, the changes on your fork look awesome, I would definitely appreciate a PR with those changes!
A few things I noticed that can be updated:
- combine
api/clear-preview
andapi/clear-preview-post
into a single endpoint and redirect to/blog
if noslug
query value - the exit preview mode button looks like it could use
flex-direction: column
to make sure the text is centered vertically - the fallback state for lazy blog posts isn't currently handled, we'll want to show a loading state when
useRouter().isFallback
istrue
Feel free to open the PR and I can help tweak these things if you'd like, thanks for looking into this!
from notion-blog.
Related Issues (20)
- 78787
- Any plan to support official Notion API? HOT 1
- sitemap and RSS generation HOT 1
- Problems with Notion the blog doesn't work HOT 6
- Build Error HOT 1
- Notion API has changed HOT 3
- [feature suggestion] Is it possible to add a section of comments? HOT 1
- Using react-notion-x?
- Remove unused resources HOT 1
- Native animated image decoding
- Native animated image decoding
- Code components aren't working
- Any idea why this dependency resolution is failing? Varcel is throwing out this error .... HOT 1
- [Issues] Authors are not displayed HOT 2
- Vercel build errors HOT 2
- OpenSSL / digital envelope routine HOT 7
- Failed deployments from Vercel HOT 3
- Error on vercel HOT 5
- @zzzzzzxXxzzzzzz00z
- Migrate to react-notion-x?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notion-blog.