Skip to content

Commit 121307d

Browse files
authored
Showcase October 2021 (#57)
* Showcase October 2021 * Fix latest link * Use markup instead of raw html for videos
1 parent c2791be commit 121307d

File tree

3 files changed

+99
-3
lines changed

3 files changed

+99
-3
lines changed

showcase/2021/october/index.html

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
4+
<head>
5+
<meta charset="utf-8" />
6+
7+
<!-- Our trusty markdown stylesheet -->
8+
<link rel="stylesheet" href="/css/github-markdown.css" />
9+
<link rel="stylesheet" href="/css/utils.css" />
10+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
11+
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
12+
13+
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
14+
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
15+
crossorigin="anonymous"></script>
16+
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
17+
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
18+
crossorigin="anonymous"></script>
19+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
20+
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
21+
crossorigin="anonymous"></script>
22+
23+
<!-- Load markdeep and set it to not automatically render markdown -->
24+
<script>markdeepOptions = { mode: 'script', tocStyle: 'none' };</script>
25+
<script src="/scripts/markdeep.min.js"></script>
26+
27+
<title>October 2021 Showcase</title>
28+
29+
<!-- Open Graph Metadata -->
30+
<meta property="og:title" content="October 2021 Showcase" />
31+
<meta property="og:type" content="website" />
32+
<meta property="og:url" content="https://graphics-programming.org/showcase/2021/october/" />
33+
<meta property="og:image" content="https://imgur.com/EAz9VzK.png" />
34+
<meta property="og:description"
35+
content="Graphics Programming Community created content showcase for October 2021" />
36+
</head>
37+
38+
<body>
39+
<code style="display:none" id="content">
40+
# October 2021 Community Creation Showcase
41+
42+
<nav class="mx-auto text-center">
43+
[Home](/) &bull; [Resources](/resources) &bull; [Showcase](/showcase)
44+
</nav>
45+
46+
![](https://i.imgur.com/zHgmVb6.mp4)
47+
<center>
48+
Created by @Mudkip Hacker#1269
49+
</center>
50+
51+
<hr />
52+
53+
![](https://i.imgur.com/soy37oo.mp4)
54+
<center>
55+
Created by @N8#2718
56+
</center>
57+
58+
<hr />
59+
60+
![](https://imgur.com/EAz9VzK.png)
61+
<center>
62+
Created by @jb#0396
63+
</center>
64+
65+
<br />
66+
67+
![](https://imgur.com/8gBrxic.png)
68+
<center>
69+
Created by @Zuen#5394
70+
</center>
71+
72+
<hr />
73+
74+
<p>
75+
All media in this showcase are taken from the #showcase channel on the server. If you'd like to have
76+
a chance to have your image seen here, post your creations in the channel.
77+
</p>
78+
79+
</code>
80+
81+
<!-- Finally render the markdown and display it -->
82+
<script>
83+
var formatted = markdeep.format(document.getElementById('content'));
84+
var contents = $.parseHTML(formatted);
85+
$('body').add('span').addClass('container').add(contents);
86+
$('#content').after(contents);
87+
</script>
88+
</body>
89+
90+
</html>

showcase/2021/showcase_preview.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,10 @@
5353
September
5454
</a>
5555
</div>
56+
<div class="w-25 showcase-preview-element">
57+
<a href="/showcase/2021/october/" class="showcase-preview-link showcase-preview-element">
58+
<img src="https://imgur.com/EAz9VzK.png" class="showcase-preview-element-img" onload="resizeBestOfTheYear();" />
59+
October
60+
</a>
61+
</div>
5662
</div>

showcase/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<meta property="og:url" content="https://graphics-programming.org/showcase/" />
2525
<meta property="og:image" content="https://imgur.com/FT9MQWk.png" />
2626
<meta property="og:description" content="Graphics Programming Community created content showcase" />
27-
27+
2828
<title>Showcase</title>
2929
</head>
3030

@@ -36,7 +36,7 @@
3636
[Home](/) &bull; [Resources](/resources) &bull; [Showcase](/showcase)
3737
</nav>
3838

39-
[View the Latest Showcase](/showcase/2021/september)
39+
[View the Latest Showcase](/showcase/2021/october)
4040

4141
## [2021](/showcase/2021)
4242
<div w3-include-html="/showcase/2021/showcase_preview.html"></div>
@@ -65,4 +65,4 @@
6565

6666
<script>
6767
includeHTML();
68-
</script>
68+
</script>

0 commit comments

Comments
 (0)