Repository navigation
Visual redesign: new hero/nav/footer, PicoCSS styling, refreshed copy - #63
Open
johngallagher wants to merge 10 commits into
Open
johngallagher wants to merge 10 commits into
johngallagher wants to merge 10 commits into
Conversation
Ports a community-built visual redesign (prototyped at github.com/johngallagher/diamond) onto the existing site structure. - Vendors PicoCSS classless + a new style.css, replacing main.css/ carousel.css/ie7-hacks.css and the Typekit font loader. - Restyles menu/banner/release/footer includes and the main/home/post layouts; all existing nav destinations, the release widget, the Recent News/Recent Toots (Mastodon)/Awards/Engine Yard sections on the homepage, and Google Analytics tracking are preserved, just restyled. - Refreshes prose on getting-started, documentation, community, contribute, security, and blogs. Left nightly/chat untouched since their existing copy is more current than the prototype's. - download.html and _config.yml are untouched apart from added CSS wrapper divs around each release block -- the exact version/URL text that rakelib/release.rake's change_versions_in substitutes on every release is preserved byte-for-byte (verified by diff). - Adds an authorized Headius Enterprises support banner/footer link (coordinated directly with the Headius team). - Leaves old stylesheets/, javascripts/, and images/ in place unreferenced rather than deleting them, since some images are embedded in historical posts and external links may target them. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Resolve conflicts in download.html and index.html by keeping the redesigned markup and taking upstream's 10.1.2.0, 10.0.7.0 and Ruby 4.0 release content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move all pages onto diamond's layouts, nav, footer and stylesheet, and replace the home page's version heading with the JRuby logo. - Add a default layout; main and post now extend it, dropping the old page banner and release widget - Rebuild download, news, chat and community from diamond - Drive the download page from a releases list in _config.yml, keeping current versions and URLs; dates and notes links come from the posts - Keep this repo's release posts, nightly links, feed and licence text, which are more accurate than diamond's - Fix the capitalised Layout key on five old download index pages Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shorten "Getting Started" to "Get Started" in the nav, and start the hamburger menu at 960px so the longer nav never overflows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the nav's text brand with a small version of the white logo. Stop long inline code and wide tables stretching pages on phones, and fix a broken link on the GSoC page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a share image, Open Graph and Twitter card tags, canonical URLs and page descriptions, so shared links show a title, summary and image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Accessibility: - Make the hamburger menu keyboard operable and add a skip link - Add focus rings for the logo and scrollable code blocks and tables - Give every page one h1 with no skipped heading levels - Put all home page content inside labelled landmarks SEO: - Add a sitemap and point robots.txt to it - Improve the home page title and the old download page titles - Add structured data to the home page and release posts - Make internal links match the canonical URLs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Welcome AI search and training crawlers, signal that with Content-Signal, and keep the sitemap reference. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Remove the old image, shorten the message, and link to this repo's issue tracker for reporting broken links. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add "Get started at jruby.org" to the share image. For local development, compress responses to match GitHub Pages, and add PREVIEW_DOMAIN so link previews can be tested through a tunnel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Summary
This is a proposal to refresh the look of jruby.org, prototyped first at johngallagher/diamond and ported here. Per the README's note to consult before large changes, I'd like this to be a starting point for discussion rather than something to merge as-is. I'm happy to iterate or narrow the scope based on feedback.
The site deploys from
masterthrough GitHub Pages, so merging this puts it live straight away.View the before-and-after comparison: 27 pages side by side, at desktop and mobile widths.
What changed
stylesheets/style.css. The oldmain.css,carousel.css,ie7-hacks.css, and Typekit font loader are no longer referenced, but are still on disk.releaseslist in_config.yml.getting-started,documentation,community,contribute,security,blogs,chat, andnews.nightlygets a new warning box and a reporting section, and keeps its existing links.h1per page with no skipped heading levels, and labelled landmarks. Wide code blocks and tables scroll within the page on phones.sitemap.xml, better titles for the home page and old download pages, structured data on the home page and release posts, and internal links that match the canonical URLs.robots.txt: allows all crawlers, including AI search and training, and points to the sitemap.Removed: please check these
These match the prototype, but you may want to keep some of them:
jruby-jarsgem link, and the Windows checksum links. The x64.exe.sha256links I tested return 404, and I didn't test the non-x64 ones./twitteris no longer linked from there.syntax.cssis no longer loaded.Things to review
change_versions_instill rewrites versions in_config.ymlanddownload.html.download.htmlno longer contains version strings, because it builds fromreleases, and it looks up each release's date and notes link from its post. The file sizes inreleasesare approximate and won't update automatically. I simulated the version replacement but haven't run a real release.Layoutkey fixed tolayout.ga.jsand aUA-ID, which Google stopped processing in 2023, so you may want to replace it separately.Unchanged
site.webmanifest,browserconfig.xml, and the existing favicon and touch icon images.Rakefile,cookbooks/,conf/,config.ru,patches/,templates/,apidocs/,CNAME,.htaccess,atom.xml, andGemfile.stylesheets/,javascripts/, andimages/stay on disk even where unreferenced, because a few old posts embed images directly and there may be external hotlinks. I'm happy to clean these up in a follow-up if you prefer.One thing to flag explicitly
The footer now includes a "Professional Support" link to Headius Enterprises, and the home page has an enterprise support banner linking to Headius. The footer link was coordinated directly with the Headius team beforehand. I'm flagging both so they're not a surprise in review.
Test plan
bundle exec jekyll buildsucceeds. TheLayout 'nil' requested in atom.xmlwarning and theserver_portdeprecation notice come from existing config, not this PR.apidocsredirects) at 1280px and 390px.download.htmlreturned 200 when I last checked them.🤖 Generated with Claude Code