Skip to content

Add Development Mode warning. #166

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robobario
Copy link
Member

Adds a transparent warning to the top right of the page when in development environment. This is the default jekyll environment so in the action I'm setting it to production for the real deal, though nothing acts on the "production" value currently. The warning does not interfere with the other content and clicks "pass through" the div, so if it happens to overlap the nav items they are clickable.

We are considering deploying a development verstion of the website continuously to GitHub pages somewhere, so we need a way to disambiguate from the main page in case someone stumbles on it. It will also make it immediately clear when developing locally that we are looking at a dev deployment.

Screenshot From 2025-07-16 09-14-34

Adds a transparent warning to the top right of the page when in
development environment. This is the default jekyll environment so in
the action I'm setting it to production for the real deal, though
nothing acts on the "production" value currently.

We are considering deploying a development verstion of the website
continuously to GitHub pages somewhere, so we need a way to disambiguate
from the main page in case someone stumbles on it. It will also make it
immediately clear when developing locally that we are looking at a dev
deployment.

Signed-off-by: Robert Young <[email protected]>
@robobario robobario requested a review from a team as a code owner July 15, 2025 21:17
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.

1 participant