Skip to content

Commit 2863458

Browse files
committed
Publish London Gophers presentation via GitHub pages
1 parent 2b9ed92 commit 2863458

File tree

2 files changed

+111
-1
lines changed

2 files changed

+111
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,17 @@ jobs:
3232
- name: Remove default reveal.js slides
3333
run: rm public/*.html
3434

35-
- name: Copy presentation slides to GH pages directory
35+
- name: Copy basic presentation slides to GH pages directory
3636
run: |
3737
cp docs/3-presentation/dist/index.html public/presentation.html
3838
cp docs/3-presentation/presentation.md public/presentation.md
3939
40+
- name: Copy London Gophers presentation slides to GH pages directory
41+
run: |
42+
cp docs/5-london-gophers/dist/index.html public/presentation.html
43+
cp docs/5-london-gophers/presentation.md public/presentation.md
44+
cp -r docs/5-london-gophers/img public/img
45+
4046
# - name: Set up TexLive
4147
# run: sudo apt update && sudo apt install texlive-full
4248

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<!doctype html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
7+
8+
<title>Generically sized arrays in Go</title>
9+
10+
<link rel="stylesheet" href="dist/reset.css">
11+
<link rel="stylesheet" href="dist/reveal.css">
12+
<link rel="stylesheet" href="dist/theme/black.css">
13+
14+
<!-- Theme used for syntax highlighted code -->
15+
<link rel="stylesheet" href="plugin/highlight/monokai.css">
16+
17+
<style>
18+
.flex-container {
19+
display: flex;
20+
gap: 2rem;
21+
background-color: #262829;
22+
padding: 1rem;
23+
}
24+
25+
.transparent-flex-container {
26+
display: flex;
27+
gap: 2rem;
28+
align-items: center;
29+
}
30+
31+
.grid-container {
32+
display: grid;
33+
gap: 2rem;
34+
background-color: #262829;
35+
padding: 1rem;
36+
grid-template-columns: 1fr 1fr 1fr;
37+
align-items: end;
38+
}
39+
40+
.grid-container img {
41+
height: auto;
42+
}
43+
44+
.flex-item {
45+
flex: 1;
46+
font-size: 2rem;
47+
}
48+
49+
.reveal .no-background {
50+
width: 100%;
51+
overflow: visible;
52+
font-size: inherit;
53+
box-shadow: none;
54+
margin: 0;
55+
}
56+
57+
.no-background code {
58+
background: none;
59+
overflow: visible;
60+
margin: 0;
61+
}
62+
63+
h2 br {
64+
line-height: 2.4;
65+
}
66+
67+
small {
68+
font-size: 0.3em !important;
69+
}
70+
71+
.reveal blockquote {
72+
margin: 0;
73+
width: 100%;
74+
quotes: initial;
75+
}
76+
</style>
77+
</head>
78+
79+
<body>
80+
<div class="reveal">
81+
<div class="slides">
82+
<section data-markdown="presentation.md" data-transition="none"></section>
83+
</div>
84+
</div>
85+
86+
<script src="dist/reveal.js"></script>
87+
<script src="plugin/notes/notes.js"></script>
88+
<script src="plugin/markdown/markdown.js"></script>
89+
<script src="plugin/highlight/highlight.js"></script>
90+
<script src="plugin/math/math.js"></script>
91+
<script>
92+
// More info about initialization & config:
93+
// - https://revealjs.com/initialization/
94+
// - https://revealjs.com/config/
95+
Reveal.initialize({
96+
hash: true,
97+
98+
// Learn about plugins: https://revealjs.com/plugins/
99+
plugins: [RevealMarkdown, RevealHighlight, RevealNotes, RevealMath.KaTeX]
100+
});
101+
</script>
102+
</body>
103+
104+
</html>

0 commit comments

Comments
 (0)