@@ -25,8 +25,8 @@ export const VideoWrapper = styled.div`
25
25
}
26
26
` ;
27
27
28
- const EmbedYouTubeVideo = props => {
29
- const iframeSrc = `https://www.youtube.com/embed/${ props . videoId } ` ;
28
+ export const YouTubeVideoEmbed = ( { videoId } ) => {
29
+ const iframeSrc = `https://www.youtube.com/embed/${ videoId } ` ;
30
30
31
31
return (
32
32
< VideoWrapper >
@@ -61,17 +61,17 @@ export default () => {
61
61
< MainContent >
62
62
< h1 > Видеа от кампанията</ h1 >
63
63
< hr />
64
- < EmbedYouTubeVideo videoId = { "JBgplUhCPCQ" } />
65
- < EmbedYouTubeVideo videoId = { "eOEUrun-I3M" } />
66
- < EmbedYouTubeVideo videoId = { "CoAk-Lu74rM" } />
67
- < EmbedYouTubeVideo videoId = { "-1zSi5tq82o" } />
68
- < EmbedYouTubeVideo videoId = { "yFS9Uv54R34" } />
69
- < EmbedYouTubeVideo videoId = { "nxM0fnUPDx4" } />
70
- < EmbedYouTubeVideo videoId = { "-L0y6Ih8id8" } />
71
- < EmbedYouTubeVideo videoId = { "apAuVIu53Gg" } />
72
- < EmbedYouTubeVideo videoId = { "xgIZ8uFmmpY" } />
73
- < EmbedYouTubeVideo videoId = { "Q4Ijwoy2WR8" } />
74
- < EmbedYouTubeVideo videoId = { "J_B0525_hcs" } />
64
+ < YouTubeVideoEmbed videoId = { "JBgplUhCPCQ" } />
65
+ < YouTubeVideoEmbed videoId = { "eOEUrun-I3M" } />
66
+ < YouTubeVideoEmbed videoId = { "CoAk-Lu74rM" } />
67
+ < YouTubeVideoEmbed videoId = { "-1zSi5tq82o" } />
68
+ < YouTubeVideoEmbed videoId = { "yFS9Uv54R34" } />
69
+ < YouTubeVideoEmbed videoId = { "nxM0fnUPDx4" } />
70
+ < YouTubeVideoEmbed videoId = { "-L0y6Ih8id8" } />
71
+ < YouTubeVideoEmbed videoId = { "apAuVIu53Gg" } />
72
+ < YouTubeVideoEmbed videoId = { "xgIZ8uFmmpY" } />
73
+ < YouTubeVideoEmbed videoId = { "Q4Ijwoy2WR8" } />
74
+ < YouTubeVideoEmbed videoId = { "J_B0525_hcs" } />
75
75
</ MainContent >
76
76
</ Wrapper >
77
77
)
0 commit comments