Skip to content

feat(sites): add landing page for devsy.sh root#631

Merged
skevetter merged 2 commits into
mainfrom
feat/landing-page
Jul 9, 2026
Merged

feat(sites): add landing page for devsy.sh root#631
skevetter merged 2 commits into
mainfrom
feat/landing-page

Conversation

@skevetter

@skevetter skevetter commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a self-contained static landing page served at the www.devsy.sh/ root, and removes the redirect that previously sent the root straight to /docs/what-is-devsy. The page is deployed by the existing docs Netlify build, which copies public/* to the site root.

  • sites/docs-devsy-sh/public/index.html — new landing page. Single file, inline CSS, no framework or build step. Reuses the docs brand (primary #7C5CFF, Inter, the ring logo mark) and the Devcontainer-standard messaging.
  • sites/docs-devsy-sh/public/_redirects — drop the / → /docs/what-is-devsy rule so the root serves the new page. /docs → /docs/what-is-devsy is unchanged.

Summary by CodeRabbit

  • New Features

    • Added a new public landing page with updated navigation, feature highlights, setup guidance, and clear calls to action.
    • Included responsive styling and a polished footer for a more consistent browsing experience.
  • Bug Fixes

    • Updated site routing so the root path no longer redirects automatically; the /docs route still points to the documentation landing page.

Add a self-contained static landing page served at www.devsy.sh/ and
remove the root redirect that previously sent visitors straight to the
docs. The page reuses the docs brand (purple, Inter, logo mark) and
Devcontainer-standard messaging.

Sections: hero ("Ship from day zero"), a six-tile feature grid,
"deploy anywhere" targets with Docker/Kubernetes/cloud/SSH icons, a
three-step "how it works" stepper, and a download CTA.
@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev ready!

Name Link
🔨 Latest commit cdf0147
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6a4ff35898ead00008923817
😎 Deploy Preview https://deploy-preview-631--devsydev.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.

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 808fd47e-bb3c-4248-b7fe-798bb52f5f15

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for images-devsy-sh canceled.

Name Link
🔨 Latest commit cdf0147
🔍 Latest deploy log https://app.netlify.com/projects/images-devsy-sh/deploys/6a4ff358df83560008e4db06

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
sites/docs-devsy-sh/public/index.html (1)

561-567: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

GitHub link reuses nav-links class with inline style override.

Using class="nav-links" on a single anchor applies display: flex, gap: 30px, and other nav-container properties that are meaningless for one link, then style="display: inline-flex" overrides the display. This works but is fragile and confusing. A dedicated class or reusing btn-ghost would be clearer.

♻️ Suggested refactor
-          <a
-            class="nav-links"
-            href="https://github.com/devsy-org/devsy"
-            style="display: inline-flex"
-            aria-label="GitHub"
-            >GitHub</a
-          >
+          <a
+            class="nav-link-single"
+            href="https://github.com/devsy-org/devsy"
+            aria-label="GitHub"
+            >GitHub</a
+          >

Add a small style:

.nav-link-single {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
}
.nav-link-single:hover {
  color: var(--ink);
}
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@sites/docs-devsy-sh/public/index.html` around lines 561 - 567, The GitHub
anchor is using the shared nav container styling in a way that’s only meant for
grouped links, plus an inline display override. Update the GitHub link in the
footer/header markup to use a dedicated single-link class (or the existing
btn-ghost pattern) instead of nav-links, and move the visual styling into the
stylesheet so the anchor is styled consistently without inline overrides.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@sites/docs-devsy-sh/public/index.html`:
- Around line 174-178: The mobile breakpoint hides the entire navigation in
`.nav-links`, leaving no way to reach key header pages on small screens. Update
the header in `public/index.html` so `nav-links` is not the only path on mobile:
either add a simple mobile toggle/drawer using the existing header structure, or
keep a persistent Docs link visible in the `.nav-cta` group alongside the
current call-to-action items. Make sure the header remains navigable at the
max-width 820px breakpoint and verify the same fallback applies where the
related nav styles are defined.
- Around line 25-26: The Open Graph and Twitter metadata in the page head use
the www host, but the canonical site URL in Docusaurus is non-www, so align the
metadata domains with the canonical host used by the site configuration. Update
the head entries in the index page so og:url and any og:image/twitter:image
values match the same host as docusaurus.config.js, or ensure a consistent
redirect strategy between www and non-www.

---

Nitpick comments:
In `@sites/docs-devsy-sh/public/index.html`:
- Around line 561-567: The GitHub anchor is using the shared nav container
styling in a way that’s only meant for grouped links, plus an inline display
override. Update the GitHub link in the footer/header markup to use a dedicated
single-link class (or the existing btn-ghost pattern) instead of nav-links, and
move the visual styling into the stylesheet so the anchor is styled consistently
without inline overrides.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: da5963f3-a718-4955-8353-1118e6e0c1f6

📥 Commits

Reviewing files that changed from the base of the PR and between 03ff40b and 703b587.

📒 Files selected for processing (2)
  • sites/docs-devsy-sh/public/_redirects
  • sites/docs-devsy-sh/public/index.html
💤 Files with no reviewable changes (1)
  • sites/docs-devsy-sh/public/_redirects

Comment on lines +25 to +26
<meta property="og:url" content="https://www.devsy.sh/" />
<meta property="og:image" content="https://www.devsy.sh/docs/media/devsy.png" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

OG/Twitter URL uses www.devsy.sh but Docusaurus config uses devsy.sh (no www).

The Docusaurus config (docusaurus.config.js) sets url: "https://devsy.sh" without www, while this page's og:url and og:image/twitter:image use https://www.devsy.sh/. This inconsistency can cause search engines and social platforms to treat the two as non-canonical, splitting link equity and producing mismatched card previews.

Align the OG/Twitter URLs with the canonical domain used in the Docusaurus config, or add a www → non-www redirect (or vice versa) at the hosting layer.

🔗 Proposed fix
-    <meta property="og:url" content="https://www.devsy.sh/" />
-    <meta property="og:image" content="https://www.devsy.sh/docs/media/devsy.png" />
+    <meta property="og:url" content="https://devsy.sh/" />
+    <meta property="og:image" content="https://devsy.sh/docs/media/devsy.png" />

And similarly for the Twitter image:

-      content="https://www.devsy.sh/docs/media/devsy.png"
+      content="https://devsy.sh/docs/media/devsy.png"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@sites/docs-devsy-sh/public/index.html` around lines 25 - 26, The Open Graph
and Twitter metadata in the page head use the www host, but the canonical site
URL in Docusaurus is non-www, so align the metadata domains with the canonical
host used by the site configuration. Update the head entries in the index page
so og:url and any og:image/twitter:image values match the same host as
docusaurus.config.js, or ensure a consistent redirect strategy between www and
non-www.

Comment on lines +174 to +178
@media (max-width: 820px) {
.nav-links {
display: none;
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Mobile users lose header navigation with no alternative menu.

At max-width: 820px the .nav-links container is set to display: none, hiding the Features, Deploy anywhere, How it works, and Docs links. There is no hamburger menu, drawer, or fallback navigation. Mobile users can only access "Get Started" and "GitHub" from the header — the Docs link is unreachable until the footer.

Consider adding a simple toggle menu or at minimum a "Docs" link in the .nav-cta group that remains visible on mobile.

📱 Suggested mobile nav fallback
       `@media` (max-width: 820px) {
         .nav-links {
-          display: none;
+          display: none;
         }
       }
+
+      `@media` (max-width: 820px) {
+        .nav-cta .mobile-docs {
+          display: inline-flex;
+        }
+      }
+
+      .mobile-docs {
+        display: none;
+      }

Then add a persistent Docs link in the nav-cta group:

       <div class="nav-cta">
+        <a class="nav-links mobile-docs" href="/docs/what-is-devsy">Docs</a>
         <a
           class="nav-links"
           href="https://github.com/devsy-org/devsy"
           style="display: inline-flex"
           aria-label="GitHub"
           >GitHub</a
         <a class="btn btn-primary" href="/docs/getting-started/install"
           >Get Started</a
       </div>

Also applies to: 554-559

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@sites/docs-devsy-sh/public/index.html` around lines 174 - 178, The mobile
breakpoint hides the entire navigation in `.nav-links`, leaving no way to reach
key header pages on small screens. Update the header in `public/index.html` so
`nav-links` is not the only path on mobile: either add a simple mobile
toggle/drawer using the existing header structure, or keep a persistent Docs
link visible in the `.nav-cta` group alongside the current call-to-action items.
Make sure the header remains navigable at the max-width 820px breakpoint and
verify the same fallback applies where the related nav styles are defined.

Surface Docs and GitHub in the header CTA group at the mobile breakpoint,
where .nav-links is hidden. Replace the GitHub anchor's reuse of
.nav-links plus an inline display override with a dedicated
.nav-link-single class.
@skevetter
skevetter merged commit 934b633 into main Jul 9, 2026
22 checks passed
@skevetter
skevetter deleted the feat/landing-page branch July 9, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant