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

Add hosted previews to astro.new #81

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Add hosted previews to astro.new #81

merged 2 commits into from
Nov 26, 2024

Conversation

delucis
Copy link
Member

@delucis delucis commented Nov 25, 2024

This PR links to previews on preview.astro.new for each starter template that can be statically hosted. This includes all of the most important templates. Starters without a preview are the handful of non-website examples (component, integration, dev toolbar app) and the two starters that require SSR.

For now, this is a dead simple link to the preview. But it would be nice to enhance this by loading the previews in an <iframe> within astro.new instead.

There is not yet a next.preview.astro.new so there are also no previews on astro.new/next. Will need to do some more tests to see how easy it will be to run a version of the previews site that uses the next branch.

Copy link

netlify bot commented Nov 25, 2024

Deploy Preview for astro-new ready!

Name Link
🔨 Latest commit 4e0e25f
🔍 Latest deploy log https://app.netlify.com/sites/astro-new/deploys/6744f2b4f75aa30008cf1e18
😎 Deploy Preview https://deploy-preview-81--astro-new.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

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

These look amazing! I tried every one on the first page in Chrome, no problems. They look fantastic.

@delucis delucis merged commit 35bf671 into main Nov 26, 2024
5 checks passed
@delucis delucis deleted the plt-2560/hosted-previews branch November 26, 2024 16:13
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.

2 participants