Skip to content

Commit 2171f06

Browse files
authored
Merge pull request #520 from OpenStackweb/feature/ptg-schedule
Added ptg schedule button
2 parents ca89769 + 224ae3a commit 2171f06

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/pages/ptg/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ header:
1919
icon: /img/summit/Vector-world.svg
2020
text: Virtual
2121
buttons:
22+
- text: Live Schedule
23+
link: https://ptg.opendev.org/ptg.html
2224
- text: Register Now
2325
link: https://ptg2023.openinfra.dev/
2426
image: /img/ptg-page/hero-image.png

src/templates/ptg-page.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,19 @@ export const PTGPageTemplate = ({
5959
!!header.location.icon.childImageSharp ? header.location.icon.childImageSharp.fluid.src : header.location.icon} /> Virtual
6060
</span>
6161
<div className="buttons">
62+
<ul>
6263
{header.buttons.map((button, index) => {
6364
return (
65+
<li>
6466
<a
6567
key={`header-button-${index}`}
6668
href={button.link}>
6769
{button.text} <img src={leftArrow} alt="left" />
6870
</a>
71+
</li>
6972
)
7073
})}
74+
</ul>
7175
</div>
7276
</div>
7377
<div className="header-left">

0 commit comments

Comments
 (0)