Skip to content

Commit 60591ef

Browse files
authored
Change font and fix logos not showing up (#100)
* Switched to Roboto font * Use remote images for navbar * Update copyright
1 parent be0b1f5 commit 60591ef

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023-2024 HEP Software Foundation
3+
Copyright (c) 2023-2025 HEP Software Foundation
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

src/components/footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const Footer = () => {
55
return (
66
<footer>
77
<div className="container">
8-
<p>Copyright 2023 HEP Software Foundation and IRIS-HEP</p>
8+
<p>Copyright 2025 HEP Software Foundation and IRIS-HEP</p>
99
</div>
1010
</footer>
1111
);

src/components/layout.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,19 @@ const Layout = ({ pageTitle, children }) => {
2525
<nav>
2626
<div className="container">
2727
<a title="HSF Training Center" href="/">
28+
{/* remove images work better than local ones because redirection sometime causes them to not show up */}
2829
<StaticImage
2930
className="img"
30-
src="../images/hsf.svg"
31+
src="https://raw.githubusercontent.com/HSF/hsf.github.io/refs/heads/main/images/HSF-logo/hsf-logo-no-text.png"
3132
height={40}
3233
style={{ position: "absolute", top: "5px", left: "30px" }}
3334
alt="hsf logo"
3435
></StaticImage>
3536
<StaticImage
3637
className="img"
37-
src="../images/iris-hep.svg"
38-
height={50}
39-
style={{ position: "absolute", top: "-1px", left: "80px" }}
38+
src="https://raw.githubusercontent.com/iris-hep/iris-hep.github.io/refs/heads/master/assets/logos/Iris-hep-4-no-long-name.png"
39+
height={40}
40+
style={{ position: "absolute", top: "5px", left: "120px" }}
4041
alt="iris hep logo"
4142
></StaticImage>
4243
</a>

src/fonts/JetBrainsMono-Regular.ttf

-267 KB
Binary file not shown.

src/fonts/Roboto-Regular.ttf

143 KB
Binary file not shown.

src/styles/globalStyle.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@font-face {
2-
font-family: "jetbrainsmono";
3-
src: url("../fonts/JetBrainsMono-Regular.ttf");
2+
font-family: "roboto";
3+
src: url("../fonts/Roboto-Regular.ttf");
4+
size-adjust: 120%;
45
}
56

67
* {
@@ -10,7 +11,7 @@
1011
}
1112

1213
body {
13-
font-family: jetbrainsmono, sans-serif !important;
14+
font-family: roboto, sans-serif !important;
1415
background: #e5e5e5;
1516
}
1617

@@ -28,6 +29,6 @@ a {
2829
}
2930

3031
input {
31-
font-family: jetbrainsmono, sans-serif !important;
32+
font-family: roboto, sans-serif !important;
3233
outline: none;
3334
}

0 commit comments

Comments
 (0)