Skip to content

Commit

Permalink
Add NBQ trailer
Browse files Browse the repository at this point in the history
  • Loading branch information
tombertrand committed Sep 26, 2023
1 parent df5661f commit 3c428db
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
17 changes: 14 additions & 3 deletions src/pages/NanoBrowserQuest/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const NanoBrowserQuestPage: React.FC = () => {
</Row>
<Row>
<Col xs={24}>
<img
{/* <img
src="/nanobrowserquest/nanobrowserquest.jpg"
alt="NanoBrowserQuest"
width="100%"
Expand All @@ -73,7 +73,18 @@ const NanoBrowserQuestPage: React.FC = () => {
pointerEvents: "none",
margin: "0 auto",
}}
/>
/> */}
<div className="video-wrapper">
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/M3uaZh7DXUc?si=z2qBQtGHsJdl8R0A"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen
></iframe>
</div>

<Text style={{ display: "block", margin: "12px 0" }}>
{t("pages.nanobrowserquest.gameDescription")}
Expand All @@ -82,7 +93,7 @@ const NanoBrowserQuestPage: React.FC = () => {
</Row>
<Register />
</Card>

<HowToPlay />
</Col>
<Col xs={24} md={12}>
Expand Down
12 changes: 5 additions & 7 deletions src/pages/NanoQuakeJS/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,16 +164,14 @@ const NanoQuakeJSPage: React.FC = () => {
<iframe
width="560"
height="315"
src="https://www.youtube-nocookie.com/embed/quvLQq_d__E"
title="Quake3"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
src="https://www.youtube.com/embed/M3uaZh7DXUc?si=z2qBQtGHsJdl8R0A"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen
></iframe>
</div>

<p style={{ marginTop: 12 }}>{t("pages.nanoquakejs.welcomeDescription")}</p>

<p>{t("pages.nanoquakejs.welcomeDescription2")}</p>
</Card>
</Col>
Expand Down

0 comments on commit 3c428db

Please sign in to comment.