Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
21f7527
feat: update site with RHDS and new design standards, update readme w…
markcaron Sep 18, 2025
4f030fa
feat: couple accessibility improvements
markcaron Sep 18, 2025
b1687a5
feat: removing text headers on featured cards, since less is more
markcaron Sep 18, 2025
09dd2a6
fix: Improving accessibility on featured cards
markcaron Sep 18, 2025
985f4ca
fix: move `<main>` tag to main content on the page.
adamjohnson Sep 18, 2025
432f8a2
fix: add skip to main content link
adamjohnson Sep 18, 2025
8d675f1
fix: add `public` to gitignore
adamjohnson Sep 18, 2025
ef26e85
fix: make first header an `<h1>`
adamjohnson Sep 18, 2025
de065d5
chore: removing commented out `<h3>` in card
adamjohnson Sep 18, 2025
5742ee4
fix: don't bold table results
adamjohnson Sep 18, 2025
e574306
fix: remove redundant `role="section"` from `<section>` element
adamjohnson Sep 18, 2025
567d040
fix: correct back to top href link
adamjohnson Sep 18, 2025
2fc2190
feat: add visually hidden link to skip past All Projects table
adamjohnson Sep 18, 2025
c31de95
fix: allow users to scale / zoom page
adamjohnson Sep 18, 2025
42a72bc
fix: return focus to text input after cleared search
adamjohnson Sep 18, 2025
163889d
fix: reword table skip link
adamjohnson Sep 18, 2025
646ed68
fix: move render blocking scripts, add bimodal text color tokens to s…
markcaron Sep 19, 2025
82b772c
fix: renaming rht-art-direction to rht-picture
markcaron Sep 19, 2025
e29d754
fix: design tweak suggestions from Marionne
markcaron Sep 19, 2025
fcc81e2
fix: improve responsiveness at 320px
markcaron Sep 19, 2025
5791fc1
fix: filter display on mobile viewports
adamjohnson Sep 19, 2025
1b6e72a
Merge pull request #383 from RedHatOfficial/feat/rhds-update
markcaron Sep 19, 2025
e2eb6d4
fix: temp fix CDN Cors issue
markcaron Sep 19, 2025
7697a95
Merge pull request #384 from RedHatOfficial/fix/cdn
markcaron Sep 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
.git
dist
.idea
.DS_Store
.DS_Store
public
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,29 @@ cd RedHatOfficial.github.io
To build and run this project in your local dev environment, first install [Zola](https://www.getzola.org/documentation/getting-started/installation/). Then, run

```bash
cd site
zola serve
zola --config config.dev.toml serve
```

Go to the URL for the webserver (likely `localhost:1111`) to explore the site.

### Configuration note

There are two config files:

- `config.toml` — For use in production. Sets CDN to redhatstatic.com
- `config.dev.toml` — For use in local development. Sets CDN to jsDelivr

Any changes done in `config.toml` must be duplicated in `config.dev.toml` (and vice versa).


## Built with

This project is build and run using [Zola](https://www.getzola.org/), a Rust-based static site generator.

Under the hood, Zola uses [Tera](https://keats.github.io/tera/) for templating.

This project also uses the [Red Hat Design System](https://ux.redhat.com/).

## Licensing

- [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) for the displayed page and primary license for this repository
Expand Down
22 changes: 22 additions & 0 deletions config.dev.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# The URL the site will be built for
base_url = "https://redhatofficial.github.io"

# Whether to automatically compile all Sass files in the sass directory
compile_sass = true

# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false

default_language = "en"

title = "Red Hat Official GitHub"

[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
external_links_target_blank = true

[extra]
# Put all your custom variables here
env = "dev"
12 changes: 1 addition & 11 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,4 @@ external_links_target_blank = true

[extra]
# Put all your custom variables here
nav_links = [
{label = "Projects", link = {href = "#projects", title = "View a list of all our projects", external = false} },
{label = "Contribute", link = {href = "#contribute", title = "Learn more about contributing to Red Hat's projects.", external = false} },
{label = "Blog", link = {href = "https://www.redhat.com/en/blog", title = "Read about Red Hat on our company blog.", external = true} },
{label = "About", link = {href = "https://www.redhat.com/en/about", title = "Learn more about Red Hat.", external = true} }
]
footer_links = [
{text = "Privacy statement", href = "https://www.redhat.com/en/about/privacy-policy", title = "" },
{text = "Terms of use", href = "https://www.redhat.com/en/about/terms-use", title = ""},
{text = "All policies and guidelines", href = "https://www.redhat.com/en/about/all-policies-guidelines", title = ""},
]
env = "prod"
22 changes: 22 additions & 0 deletions data/nav_links.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"label": "Projects",
"href": "#projects",
"external": false
},
{
"label": "Contribute",
"href": "#contribute",
"external": false
},
{
"label": "Blog",
"href": "https://www.redhat.com/en/blog",
"external": true
},
{
"label": "About",
"href": "https://www.redhat.com/en/about",
"external": true
}
]
34 changes: 0 additions & 34 deletions sass/band.scss

This file was deleted.

37 changes: 0 additions & 37 deletions sass/bandheader.scss

This file was deleted.

112 changes: 0 additions & 112 deletions sass/card.scss

This file was deleted.

Loading