Improve website#66
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
Small polish PR for the ClickLight marketing website: replaces the dynamically generated Open Graph image with a static asset, wires it into the OG/Twitter metadata, slightly enlarges the install command typography across breakpoints, and drops the now-unnecessary onContextMenu preventer on the demo surface.
Changes:
- Delete
website/app/opengraph-image.tsx(dynamicnext/ogroute) and reference/og-image.pngfromopenGraph.imagesandtwitter.imagesinlayout.tsx. - Adjust
.install codefont sizing (fixed0.88reminstead ofclamp(...), mobile bumped from0.72remto0.8rem) and addmin-width: 0for proper flex ellipsis; widen the mid-breakpoint.installmax-width from 580px to 640px. - Remove the
onContextMenu={(event) => event.preventDefault()}handler on the demo<main>, restoring native right-click context menu behavior.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| website/app/opengraph-image.tsx | Removes the dynamic OG image route in favor of a static PNG. |
| website/app/layout.tsx | Adds explicit openGraph.images and twitter.images pointing at /og-image.png. |
| website/app/globals.css | Simplifies .install code font sizing, adds min-width: 0, tweaks responsive .install widths and mobile font size. |
| website/app/page.tsx | Removes context-menu prevention from the demo surface. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Improve website