Skip to content

Commit

Permalink
Add first video
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim committed Mar 18, 2024
1 parent 3aac606 commit 1bb3de6
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 4 deletions.
27 changes: 23 additions & 4 deletions Resources/2022/videos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,28 @@
</ul>
</nav>
</header>
<div class="wrapper">
<h1>Videos</h1>
<h1>Coming Soon</h1>
<div class="videos">
<div class="page-block no-height bg-blue text-white">
<div class="container">
<h1 class="text-center text-white mb-4">Videos</h1>
<h4 class="text-center mb-5">Watch all the amazing content from the conference.</h4>
<ul>
<li>
<div class="card">
<div class="video">
<div class="embed-container">
<iframe src="https://www.youtube.com/embed/eHgpKdvXino" frameborder="0" allowfullscreen allow="autoplay; encrypted-media"></iframe>
</div>
</div>
<div class="description p-2">
<h3 class="h3">Panel Discussion</h3>
</div>
</div>
</li>
</ul>
<h4 class="text-center mb-5">More videos coming soon...</h4>
</div>
</div>
</div>
<footer class="navbar footer">
<div class="container d-flex justify-content-spacearound">
Expand Down Expand Up @@ -114,4 +133,4 @@ <h1>Coming Soon</h1>
</scripts>
</body>

</html>
</html>
17 changes: 17 additions & 0 deletions Sources/Conference/Components/Videos.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,23 @@ struct Videos: Component {
Link("choose a year", url: "/years")
Text(".")
}.class("text-center mt-4")

/** Current yearr videos **/
// H1("Videos").class("text-center text-white mb-4")
// H4("Watch all the amazing content from the conference.").class("text-center mb-5")
// List {
// Div {
// Div {
// Div {
// IFrame(url: "https://www.youtube.com/embed/eHgpKdvXino", addBorder: false, allowFullScreen: true, enabledFeatureNames: ["autoplay", "encrypted-media"])
// }.class("embed-container")
// }.class("video")
// Div {
// H3("Panel Discussion").class("h3")
// }.class("description p-2")
// }.class("card")
// }
// H4("More videos coming soon...").class("text-center mb-5")
}.class("container")
}.class("page-block no-height bg-blue text-white")
}.class("videos")
Expand Down

0 comments on commit 1bb3de6

Please sign in to comment.