Skip to content

feat: update embed from hw.glich.co to scaleengineer.com#57

Merged
Sohan-Rout merged 1 commit into
Sohan-Rout:mainfrom
RohitLakh:rebrand-daily-challenge-to-scale-engineer
Jul 5, 2026
Merged

feat: update embed from hw.glich.co to scaleengineer.com#57
Sohan-Rout merged 1 commit into
Sohan-Rout:mainfrom
RohitLakh:rebrand-daily-challenge-to-scale-engineer

Conversation

@RohitLakh

Copy link
Copy Markdown
Contributor

Summary

  • Replaced all hw.glich.co embed URLs with the canonical scaleengineer.com/embed/daily/dsa URL
  • Simplified the DailyDSAEmbed component to only accept mobile and theme props, hardcoding the Scale Engineer URL internally
  • Moved hydration-safe mounted state handling inside the component so consumers no longer need to manage it
  • Cleaned up 25 content files across stack, queue, sorting, and searching visualizers — removing redundant props (src, mounted, desktopHeight, mobileHeight, linkHref, linkText, linkClassName, linkStyle)

Changes

  • app/components/ui/DailyDSAEmbed.jsx — Simplified API to { mobile, theme }. Component is now "use client", manages its own mount state, and builds the iframe src from the theme prop.
  • 25 content files — Replaced verbose <DailyDSAEmbed mounted={mounted} src={...} desktopHeight={400} ... /> calls with <DailyDSAEmbed mobile={false} theme={theme} /> (desktop) and <DailyDSAEmbed mobile theme={theme} /> (mobile). Removed unused mounted state from each file.

Result

  • -1,402 lines of duplicated embed configuration removed
  • Zero remaining references to hw.glich.co
  • All embeds now consistently point to scaleengineer.com with proper dark/light theme support

@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown

@RohitLakh is attempting to deploy a commit to the Ecma Projects Team on Vercel.

A member of the Team first needs to authorize it.

@Sohan-Rout Sohan-Rout merged commit 8038549 into Sohan-Rout:main Jul 5, 2026
0 of 4 checks passed
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