Skip to content

Commit ac42f90

Browse files
authored
Version 3.6.8 (#73)
2 parents 8e1c3d1 + 4fd20af commit ac42f90

File tree

6 files changed

+58
-12
lines changed

6 files changed

+58
-12
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Table of Contents
66

7+
- [Version 3.6.8](#version-368---2025-06-02)
78
- [Version 3.6.7](#version-367---2025-06-01)
89
- [Version 3.6.6](#version-366---2025-06-01)
910
- [Version 3.6.5](#version-365---2025-05-15)
@@ -46,7 +47,20 @@
4647
- [Version 3.0.1](#version-301---2024-08-27)
4748
- [Version 3.0.0](#version-300---2024-08-18)
4849

50+
### [Version 3.6.8](https://github.com/tahoni/hpsc-web-vite/releases/tag/version-3.6.8) - _2025-06-02_
51+
52+
Added a YouTube video to the Frontier shooting range.
53+
54+
#### Enhancements and Updates
55+
56+
- Added an iframe with the YouTube video for the Frontier shooting range.
57+
58+
#### Changes by
59+
60+
@tahoni
61+
4962
### [Version 3.6.7](https://github.com/tahoni/hpsc-web-vite/releases/tag/version-3.6.7) - _2025-06-01_
63+
5064
Added a link to the World Shoot 2025 apparel at Bosninja.
5165
Added an architecture README document.
5266

RELEASE_NOTES.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22

33
## Release Notes
44

5-
### Version 3.6.7 - _2025-06-01_
6-
Added a link to the World Shoot 2025 apparel at Bosninja.
7-
Added an architecture README document.
5+
### Version 3.6.8 - _2025-06-02_
86

9-
#### Enhancements and Updates
10-
11-
- Added a link to the Bosninja IPSC Handgun World Shoot 2025 apparel for the 2025 World Shoot Handgun post.
12-
- Added the link to the Bosninja webpage to the constants.
7+
Added a YouTube video to the Frontier shooting range.
138

14-
#### Licence and Documentation
9+
#### Enhancements and Updates
1510

16-
- Added an `ARCHITCTURE.md` file and copied the content of the `README.md` file there.
11+
- Added an iframe with the YouTube video for the Frontier shooting range.
1712

1813
#### Changes by
1914

src/components/Video/VideoProps.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export interface VideoProps {
2+
url: string;
3+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { VideoProps } from "./VideoProps";
2+
3+
export interface YouTubeVideoProps extends VideoProps {}
4+
5+
export const YouTubeVideo = (props: VideoProps) => {
6+
return (
7+
<iframe
8+
// width={props.width ?? 560}
9+
width="100%"
10+
// height={props.height ?? 315}
11+
height="100%"
12+
src={props.url}
13+
title="YouTube video player"
14+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
15+
referrerPolicy="strict-origin-when-cross-origin"
16+
allowFullScreen
17+
></iframe>
18+
);
19+
};

src/content/posts/Events/stories/WorldShoots/WorldShoot.module.scss

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
11
$map-width: 100%;
22
$map-height: 15em;
3+
$video-width: 36em;
4+
$video-height: 20em;
35

46
:export {
5-
maxWidth: $map-width;
7+
mapWidth: $map-width;
68
mapHeight: $map-height;
79
}
810

911
.worldShootSummary {
1012
margin-top: 0.75em;
1113
}
1214

13-
.worldShootRangeMap {
15+
.worldShootRangeMap,
16+
.worldShootRangeVideo {
1417
margin: 0.75em 0;
15-
padding: 0.75em auto;
18+
padding: 0.75em 0;
19+
}
20+
21+
.worldShootRangeVideo {
22+
max-width: $video-width;
23+
height: $video-height;
24+
max-height: $video-height;
1625
}
1726

1827
.worldShoot img {

src/content/posts/Events/stories/WorldShoots/WorldShootContent.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { VenueType } from "../../../../../model/Venue";
55
import { VenueEvent } from "../../../../../model/VenueEvent";
66
import { worldShootEvents } from "./WorldShootConstants";
77
import classes from "./WorldShoot.module.scss";
8+
import { YouTubeVideo } from "../../../../../components/Video/YouTubeVideo";
89

910
interface WorldShootContentProps {
1011
year: number;
@@ -69,6 +70,11 @@ const WorldShootContent = React.memo(
6970
{worldShootEvent.shootingRange?.city} in{" "}
7071
{worldShootEvent.shootingRange?.province}
7172
</h6>
73+
74+
<div className={classes.worldShootRangeVideo}>
75+
<YouTubeVideo url="https://www.youtube.com/embed/COcWeS1XP-M?si=ax7D5KhwA4alKLaJ" />
76+
</div>
77+
7278
<div className={classes.worldShootRangeMap}>
7379
<SimpleVenueMap
7480
mapStyle={mapStyle}

0 commit comments

Comments
 (0)