-
Notifications
You must be signed in to change notification settings - Fork 0
chore: bump scaffold to Astro 6 #4
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
Open
rjbeers
wants to merge
21
commits into
main
Choose a base branch
from
v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
aec0f79
refactor: Update webflow configuration to use devlink-export with new…
paulvmoreau-webflow e5ebc2a
refactor: Update Layout.astro to use new webflow imports and include …
paulvmoreau-webflow 3a97cb1
refactor: Update index.astro to use new webflow component imports
paulvmoreau-webflow cd9dd1a
refactor: Enhance webflow configuration and components with new DevLi…
paulvmoreau-webflow d1243c4
refactor: Simplify link configuration in index.astro
paulvmoreau-webflow 4971f05
CLD-1736: Replace DevLink _Builtin imports with native HTML
fbaralle b2e9059
Fix DevLink import paths: ./devlink → ./webflow
fbaralle 2215ec4
refactor: Remove telemetry settings from webflow configuration
paulvmoreau-webflow ec88ff4
Move styles back to inline styles in index.astro
fbaralle 76758d6
refactor: Clean up webflow configuration by removing unused treeShake…
paulvmoreau-webflow 4d33601
Apply DevLink scope class to <body> so Webflow styles apply
fbaralle 8dd9535
docs: Enhance README with Webflow CLI setup instructions
paulvmoreau-webflow 733e3f5
refactor: Remove deprecated DevLink styles and update class references
paulvmoreau-webflow 335145f
Move DevLink scope class from <body> to <html>
fbaralle db19b5f
Add prefers-color-scheme dark support to Layout.astro
fbaralle 48e52fb
Merge pull request #2 from Webflow-Examples/cld-1736-remove-devlink-c…
fbaralle 661a178
Merge branch 'v1' into devlink-v2-update
paulvmoreau-webflow 305d7cd
refactor: Remove DEVLINK_SCOPE_CLASS from <html> tag
paulvmoreau-webflow 4f24bf6
refactor: Remove obsolete DevLink components and related files
paulvmoreau-webflow b79ca64
Merge pull request #1 from Webflow-Examples/devlink-v2-update
paulvmoreau-webflow 447f1cf
chore: bump scaffold to Astro 6
fbaralle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,67 +1,34 @@ | ||
| --- | ||
| import Layout from '../layouts/Layout.astro'; | ||
| import { Section, Container, Block, Link } from '../../devlink/_Builtin/Basic'; | ||
| import Layout from "../layouts/Layout.astro"; | ||
|
|
||
| // Once you've synced DevLink components, import them from "../../webflow/*" | ||
| // import { ComponentName } from "../../webflow/ComponentName"; | ||
| --- | ||
|
|
||
| <Layout> | ||
| <Section | ||
| client:load | ||
| tag="section" | ||
| className="margin-bottom-24px" | ||
| style={{ | ||
| minHeight: '100vh', | ||
| display: 'flex', | ||
| alignItems: 'center', | ||
| justifyContent: 'center' | ||
| }} | ||
| <section | ||
| style="min-height: 100vh; display: flex; align-items: center; justify-content: center;" | ||
| > | ||
| <Container> | ||
| <Block | ||
| tag="div" | ||
| className="hero-split" | ||
| style={{ | ||
| textAlign: 'center', | ||
| maxWidth: '600px', | ||
| margin: '0 auto' | ||
| }} | ||
| > | ||
| <h1 class="margin-bottom-24px">Welcome to Webflow Cloud</h1> | ||
| <p class="margin-bottom-24px">This is a simple test using Basic components with enhanced styling.</p> | ||
| <div style={{marginTop: '12px'}}> | ||
| <Link | ||
| button={true} | ||
| options={{ | ||
| href: "https://developers.webflow.com/webflow-cloud/getting-started" | ||
| }} | ||
| className="button-primary" | ||
| <div class="container"> | ||
| <div style="text-align: center; max-width: 600px; margin: 0 auto;"> | ||
| <h1 | ||
| style="font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; background: linear-gradient(83.21deg, #3245ff 0%, #bc52ee 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;" | ||
| > | ||
| Welcome to Webflow Cloud | ||
| </h1> | ||
| <p style="margin-bottom: 1.5rem;"> | ||
| Your Astro project is ready. Start building and sync your Webflow | ||
| components and design system. | ||
| </p> | ||
| <div style="margin-top: 0.75rem;"> | ||
| <a | ||
| href="https://developers.webflow.com/data-clients/docs/getting-started" | ||
| style="display: inline-block; padding: 12px 24px; border-radius: 4px; background: #146ef5; color: #ffffff; text-decoration: none; box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.25), inset 0px 29px 23px -16px rgba(255, 255, 255, 0.04), inset 0px 0.5px 0.5px rgba(255, 255, 255, 0.2);" | ||
| > | ||
| Get Started | ||
| </Link> | ||
| </a> | ||
| </div> | ||
| </Block> | ||
| </Container> | ||
| </Section> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| </Layout> | ||
|
|
||
| <style> | ||
| h1 { | ||
| font-size: 2.5rem; | ||
| font-weight: 700; | ||
| background: linear-gradient(83.21deg, #3245ff 0%, #bc52ee 100%); | ||
| -webkit-background-clip: text; | ||
| -webkit-text-fill-color: transparent; | ||
| background-clip: text; | ||
| } | ||
|
|
||
| .button-primary { | ||
| border-radius: 4px; | ||
| background: #146ef5; | ||
| color: #ffffff; | ||
| box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.25), inset 0px 29px 23px -16px rgba(255, 255, 255, 0.04), inset 0px 0.5px 0.5px rgba(255, 255, 255, 0.2); | ||
| } | ||
|
|
||
| .button-primary:hover { | ||
| background: #2c80fd; | ||
| color: #ffffff; | ||
| } | ||
| </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These dependency bumps are not accompanied by a
package-lock.jsonupdate; the committed lockfile still records the root package as@astrojs/cloudflare^12.6.6,@astrojs/react^4.2.5, andastro^5.17.2. In clean Webflow/CI deployments that install from the lockfile withnpm ci, the install is no longer reproducible for the Astro 6 scaffold and will have to resolve missing v13/v5/v6 package entries instead of using the committed dependency graph, which can block or skew builds. Please regenerate and commit the lockfile together with these version changes.Useful? React with 👍 / 👎.