Commit Graph

35 Commits

Author SHA1 Message Date
Alexander Mahan
1c78e95a5b remove formatting changes 2026-08-18 11:44:33 -07:00
Alexander Mahan
9f68881886 a11y contrast fixes and color palette updates 2026-08-18 11:06:56 -07:00
Zack Davis
486406e16a Merge upstream/master into xrpl-brand-update-2026 (catch-up 2026-08-14)
Brings 342 commits of master (last merge base 2026-06-09) onto the rebrand
branch. 10 files conflicted; resolutions below.

Regenerated rather than merged (both are build artifacts):
  static/css/devportal2024-v1.css  rebuilt via `npm run build-css` (+ .css.map,
                                   which both branches track)
  package-lock.json                seeded from master, `npm install`

Config/nav:
  .gitignore     union of both sides
  redirects.yaml took master's side: ambassadors.html now points at
                 ripple.com/impact/ubri/ (supersedes the branch's interim
                 redirect to /community/developer-funding) and master's
                 rippled->xrpld redirect block is preserved
  redocly.yaml   union of ignore entries (branch showcase/** + master
                 .claude/**); kept the branch's script ordering/defer flags
                 but adopted MASTER's new Osano CMP URL - taking the branch
                 side wholesale would have silently reverted cookie consent
  top-nav.yaml   kept the branch's restructure; master's only changes there
                 were the TypeScript get-started entry (auto-merged, retained)
                 and removing Ambassadors (branch already omits it)

Pages/styles:
  docs/index.page.tsx, community/index.page.tsx,
  community/developer-funding.page.tsx, styles/_docs-landing.scss
                 kept the branch rewrites, then re-applied master's intent:
                 "rippled API" -> "xrpld API" in docs/index.page.tsx. Master's
                 other edits (validator link rename, funding-orange image
                 removal, .nav-link hover underline removal) were already
                 satisfied by the rewrites.

Semantic conflict git did not flag:
  styles/_tutorials.scss auto-merged cleanly but broke the SCSS build. Master
  added light-mode .tutorial-tabs rules using $blue-purple-600/700, which the
  rebrand's token consolidation removed (scale now stops at 500, aliased to
  $lilac-*). Remapped to $blue-purple-500, matching how the rebrand migrated
  the other light-mode $blue-purple-600 usages in the same file.

Verified: `npm run build-css` succeeds; no conflict markers remain; the set of
files still linking to master's renamed rippled-* doc paths is identical to
master's own (49 files, all historical blog posts covered by redirects).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 17:29:34 -07:00
Calvin
b0db5b3a5c Perf pass + migrate home/payments page sections to shared (#3771)
* Perf pass + migrate home/payments page sections to shared

Performance work across every page plus a refactor moving home/payments
page sections into reusable shared components.

JavaScript
- Defer xrpl.js, jQuery, and Bootstrap in the global <head> (redocly.yaml)
  and on the 11 interactive tool pages' inline <script> tags — removes
  ~1MB of render-blocking JS from first paint on every page.
- Drop moment/moment-timezone from the client: remove the dead APEX-2025
  countdown in the navbar AlertBanner; format/parse dates with native
  Date/Intl in the blog and events pages.

Fonts & icons
- Remove render-blocking font-awesome.min.css + webfont. CSS glyphs
  (callouts, breadcrumbs, status labels, tutorials) now render as
  self-contained data-URI SVG masks (styles/_fa-icons.scss); markup icons
  use a shared inline-SVG <Icon> component (shared/components/Icon).
- Preconnect to Google Fonts / osano / GTM origins; preload the primary
  Booton UI font so text no longer waits on the 775KB stylesheet to parse.

Images & rendering
- Re-encode/resize oversized assets: new-york.jpeg 3.86MB→60KB,
  resources-icon.svg 4.2MB→150KB, event date/location SVGs ~1MB→0.5MB.
- Add loading=lazy/decoding=async to shared card components and the
  Video embed iframe.
- Add content-visibility to the events page's ~126-card grid to skip
  off-screen rendering.
- Earlier QA fixes: light-mode link color (#141414), events card grid
  layout, close nav menu on client-side navigation.

Home / payments refactor
- Move home page sections from page-local pages/home/sections/* to reusable
  shared/sections/* components (HomeHero relocated to shared/sections/HomeHero;
  home page now composes CalloutMediaBanner, CardStatsList, LinkTextDirectory,
  LogoSquareGrid, StandardCardGroupSection, FeatureSingleTopic, CarouselFeatured).
- Remove the now-unused pages/payments/sections/* in the same migration.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Revert FontAwesome removal (keep it for open-source flexibility)

Restore the FontAwesome webfont + font-awesome.min.css and all FA icon
usages (markup fa-* classes and CSS ::before glyphs), reverting the
consolidation in d4cf4e8581. Other performance changes from that commit
(deferred head scripts, moment removal, image optimization, lazy-loading,
content-visibility, preconnect/preload) are retained.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* cleaning up breadcrumb styling

* sticky side nav

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 14:03:02 -07:00
mDuo13
abb662c26d Fix overlapping Osano/AI buttons 2026-07-10 12:02:54 -07:00
mDuo13
6cdfbde83f Show tree nav on mobile 2026-07-07 12:25:26 -07:00
mDuo13
0d09bbead9 Update Redocly to Realm v0.133.1 2026-05-29 13:52:27 -07:00
amarantha-k
b09fe6c7b3 Update color for feedback boxes to fix white text on a white background in dark mode 2026-05-01 16:18:03 -07:00
mDuo13
d846367857 Update feedback styles 2026-05-01 15:37:40 -07:00
Oliver Eggert
d51da2ff5c fix tab styling in dark/light mode 2026-04-29 13:12:42 -07:00
mDuo13
aed88784d9 Fix sidebar highlight color issues in Realm 0.132 2026-04-17 16:03:55 -07:00
mDuo13
317a8ffdfc Add an 'Updated' mode for amendment-disclaimer & fix disclaimer font size in tables 2025-10-06 13:39:41 -07:00
mDuo13
c68c9f975f WS Tool fixes: cURL modal, Clio Only 2025-09-09 13:35:57 -07:00
mDuo13
16c2cdc399 Fix various style issues 2025-09-03 14:07:42 -07:00
mDuo13
567aa74cc8 Adjust style colors & improve code walkthrough 2025-09-02 16:14:08 -07:00
mDuo13
774c418932 Improve tab & code-walkthrough styles 2025-09-02 19:00:56 +01:00
mDuo13
e61ddb1984 Fix unnecessary horizontal scrolling of tables in Japanese 2025-08-18 12:09:43 -07:00
mDuo13
9d8cfc88cb Add & use component for 'Try it!' button & related 2025-01-28 16:38:58 -08:00
mDuo13
946ebdb41f Fix code comment color in dark mode 2024-10-09 15:43:26 -07:00
mDuo13
b20491903a Fix search highlight color 2024-07-12 17:42:50 -07:00
mDuo13
917466f263 Fix low-contrast fields
- Fixes #2661
- Fixes #1432
2024-07-12 15:07:47 -07:00
Nazarii Mykhailets
ba6e87abf0 Merge branch 'master' into redocly-rc-migration 2024-06-27 11:42:39 +03:00
Nazarii Mykhailets
d8db3c52bc fix: issues with markdown styles 2024-06-19 19:31:44 +03:00
mDuo13
29e821e71d Fix line-height of h4, h5 2024-06-18 14:11:39 -07:00
Nazarii Mykhailets
5e58328b6e fix: media screen breakpoints for navbar components 2024-05-29 14:23:21 +03:00
Nazarii Mykhailets
3b617049bc fix: links in dark mode 2024-05-28 18:49:56 +03:00
Nazarii Mykhailets
7402168061 feat: migrate to the realm rc version 2024-05-28 17:09:54 +03:00
mDuo13
a27f28a9b8 Fix first h1 spacing, header font hierarchy
The font hierarchy is a little complicated between the _content.scss,
_font.scss, and Redocly theme styles, but this at least aligns the
Redocly theme variables with the MD content styling.
2024-04-11 13:51:46 -07:00
mDuo13
fe1277ce19 Improve alignment on left/right margins
Fixes #2461. Also fixes an issue with cut-off drop shadows for cards on
some pages, like the tutorials landing, in mobile view.
2024-03-14 16:30:28 -07:00
Amarantha Kulkarni
025ed9be5a Revert change to base color and add bg-base for light mode 2024-02-22 15:22:04 -08:00
Amarantha Kulkarni
db338c627e Revert defn for color-gray-10 2024-02-21 14:50:10 -08:00
Amarantha Kulkarni
e858997b86 Update color definition to fix search window in light mode 2024-02-21 14:38:15 -08:00
akcodez
9ee682bd49 fix conflicting color 2024-02-16 10:23:32 -08:00
Amarantha Kulkarni
3290907f82 Fix plaintext color in light mode 2024-02-07 14:02:40 -08:00
mDuo13
c10beb85c2 Re-level non-docs content to top of repo and rename content→docs 2024-01-31 16:24:01 -08:00