Skip to content

Commit e4a7e19

Browse files
committed
Remove Red Hat from footer
1 parent 88c37f5 commit e4a7e19

File tree

5 files changed

+15
-19
lines changed

5 files changed

+15
-19
lines changed

src/components/footer.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -89,21 +89,6 @@ const Footer = () => {
8989
href="https://www.commonhaus.org/trademarks/">Trademark List</LegalText>. Trademarks of third parties are owned
9090
by their respective holders and their mention here does not suggest any endorsement or association.
9191
</LicenseInfo>
92-
93-
<SponsorInfo>
94-
Sponsored by
95-
<Logo href="https://www.redhat.com/" style={{ width: "6rem" }}>
96-
<StaticImage
97-
className="logo"
98-
placeholder="none"
99-
backgroundColor="black"
100-
layout="constrained"
101-
formats={["auto", "webp", "avif"]}
102-
src="../images/redhat_reversed.svg"
103-
alt="Red Hat logo"
104-
/>
105-
</Logo>
106-
</SponsorInfo>
10792
</FooterBar>
10893
)
10994
}

src/components/footer.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ describe("footer", () => {
99
render(<Footer />)
1010
})
1111

12-
it("renders a supported by statement", () => {
13-
expect(screen.getByText(supportedText)).toBeTruthy()
12+
it("does not renders a supported by statement", () => {
13+
expect(screen.findByText(supportedText)).toBeTruthy()
1414
})
1515

1616
})

src/style.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,17 @@ html {
171171
font-weight: var(--font-weight-normal);
172172
}
173173

174+
@media screen and (max-width: 1366px) {
175+
html {
176+
--site-margins: 4rem;
177+
--navbar-padding: 1.5rem;
178+
--a-generous-space: 50px;
179+
--a-modest-space: 12px;
180+
--a-small-space: 6px;
181+
--a-vsmall-space: 5px;
182+
}
183+
}
184+
174185
/** Adjustments for small screens */
175186
@media screen and (max-width: 1024px) {
176187
html {

src/templates/extensions-added-by-year-list.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ describe("extensions added page for a year", () => {
9090

9191
it("renders the correct link", () => {
9292
const links = screen.getAllByRole("link")
93-
const link = links[links.length - 7]// Look at the last one that's not in the footer, because the top of the page will have a menu and the bottom will have footers - this is also testing the sorting
93+
const link = links[links.length - 6]// Look at the last one that's not in the footer, because the top of the page will have a menu and the bottom will have footers - this is also testing the sorting
9494
expect(link).toBeTruthy()
9595
// Hardcoding the host is a bit risky but this should always be true in test environment
9696
expect(link.href).toBe("http://localhost/ambiguous-slug")

src/templates/extensions-added-list.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ describe("extensions added page", () => {
9393

9494
it("renders the correct link", () => {
9595
const links = screen.getAllByRole("link")
96-
const link = links[links.length - 7]// Look at the last one that's not in the footer, because the top of the page will have a menu and the bottom will have footers - this is also testing the sorting
96+
const link = links[links.length - 6]// Look at the last one that's not in the footer, because the top of the page will have a menu and the bottom will have footers - this is also testing the sorting
9797
expect(link).toBeTruthy()
9898
// Hardcoding the host is a bit risky but this should always be true in test environment
9999
expect(link.href).toBe("http://localhost/ambiguous-slug")

0 commit comments

Comments
 (0)