Skip to content

Conversation

@01001101CK
Copy link
Collaborator

@01001101CK 01001101CK commented Nov 21, 2025

What changed?

  • Migrate from delta-theme to astro-orbit
  • Create <Section> wrapper component to extend astro-orbit Section with title, titleSize, isHeaderCentered props, and before-header/subtitle slots.
  • Update src/layouts/theme.css to import astro-orbit/theme.css and override CSS variables
  • Fix Netlify _headers and CSP configuration for inline scripts/styles and external resources.
  • Remove lib/delta-theme directory after migration.
  • Resolve styling issues and ensure CSS variables and utility classes processed correctly
  • Fixed a bug: the search script listens for DOMContentLoaded, which may not fire if the page is already loaded

Corresponding Ticket:

db-os-dev #22

@netlify
Copy link

netlify bot commented Nov 21, 2025

Deploy Preview for deltaio-site ready!

Name Link
🔨 Latest commit 3f8e094
🔍 Latest deploy log https://app.netlify.com/projects/deltaio-site/deploys/691fbfda13e31c0008cfa2c2
😎 Deploy Preview https://deploy-preview-574--deltaio-site.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 project configuration.

…e scripts/styles and external resources

- Updated theme configuration to import astro-orbit/theme.css, added Delta Lake branding overrides via @theme block, and moved @Utility directives to main theme.css for Tailwind v4 processing.
- Fixed LakeSection component to use getImage from astro:assets for proper background image processing
- Resolved styling issues by ensuring CSS variables and utility classes are processed correctly

Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
- Completed migration, removed lib/delta-theme, fixed all styling issues

Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
- Wraps astro-orbit Section component to maintain backward compatibility
- Adds support for title, titleSize, isHeaderCentered props
- Supports before-header and subtitle slots
- Forwards all other props (padding, className, etc.) to astro-orbit Section

Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
- If still "loading" → wait for DOMContentLoaded
- If already "complete" or "interactive" → initialize immediately

Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
Signed-off-by: Yufa <112290188+01001101CK@users.noreply.github.com>
Copy link
Collaborator

@jakebellacera jakebellacera left a comment

Choose a reason for hiding this comment

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

Initial feedback.

Also, I didn't see the _headers changes. Did those not come through?

Comment on lines -60 to +72
a,
button {
/* Use :global() to make styles global so they override astro-orbit's button styles */
:global(a.variant-primary),
:global(button.variant-primary),
:global(a.variant-secondary),
:global(button.variant-secondary),
:global(a.variant-accent),
:global(button.variant-accent),
:global(a.variant-more),
:global(button.variant-more),
:global(a.button-size-sm),
:global(button.button-size-sm),
:global(a.button-size-md),
:global(button.button-size-md) {
Copy link
Collaborator

@jakebellacera jakebellacera Nov 22, 2025

Choose a reason for hiding this comment

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

This is a smell.

Rather than moving the components around in this project, why not merge what we have into astro-orbit? Ideally everything in lib/delta-theme (now src/components/ui) should be moved into astro-orbit, and all we should be left with are a few necessary components to build the pages which extend astro-orbit stuff. Then we shouldn't need to worry so much about specificity.

@01001101CK 01001101CK closed this Nov 24, 2025
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.

3 participants