Skip to content

Commit 5e82a9e

Browse files
authored
feat: add assets, finish splash screen (#2)
* feat: add assets, finish splash screen * add css vars, use grey for controls
1 parent 37ab60c commit 5e82a9e

File tree

10 files changed

+26
-13
lines changed

10 files changed

+26
-13
lines changed

public/cloudflare.png

5.82 KB
Loading

public/discord-mark-black.png

920 Bytes
Loading

public/discord-qr.png

11.3 KB
Loading

public/logo.png

16.2 KB
Loading

public/shirt-qr.png

45.3 KB
Loading

src/slides/splash.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,27 @@ const Splash = () => {
44
<div className="quadrants">
55
<div className="quadrant">
66
<div className="quadrant-content">
7-
<h1>Welcome to Austin JavaScript</h1>
7+
<img src="/logo.png" />
8+
<h1>Welcome to<br/>Austin JavaScript</h1>
89
<p>we’re glad you’re here :)</p>
910
</div>
1011
</div>
1112
<div className="quadrant">
1213
<div className="quadrant-content">
13-
<h2>Join us on Discord</h2>
14+
<img src="/discord-qr.png" width="300" />
15+
<h2>Join us on <img src="/discord-mark-black.png" style={ { margin: '-5px 0', height: 30 } }/> Discord</h2>
1416
</div>
1517
</div>
1618
<div className="quadrant">
1719
<div className="quadrant-content">
18-
<h3>sponsored by</h3>
20+
<img src="/shirt-qr.png" width="300" />
21+
<h2>Austin JavaScript Shirts are $25</h2>
1922
</div>
2023
</div>
2124
<div className="quadrant">
2225
<div className="quadrant-content">
23-
<h3>sponsored by</h3>
26+
<h2>Sponsored by</h2>
27+
<img src="/cloudflare.png"/>
2428
</div>
2529
</div>
2630
</div>

src/styles/exposer.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
@import "./settings.scss";
66

77
:root {
8+
--r-orange: #{$orange};
9+
--r-black: #{$black};
10+
--r-white: #{$white};
11+
--r-gray: #{$gray};
12+
--r-maroon: #{$maroon};
813
--r-background-color: #{$backgroundColor};
914
--r-main-font: #{$mainFont};
1015
--r-main-font-size: #{$mainFontSize};

src/styles/index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,8 @@
4141
.quadrant:nth-child(4) {
4242
background-color: $maroon;
4343
color: $white;
44+
45+
h2 {
46+
color: rgba(255, 255, 255, 0.59);
47+
}
4448
}

src/styles/settings.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@use "sass:color";
22

3-
$orange: rgb(232, 173, 66);
3+
$orange: #F2AC1B;
44
$black: #000;
55
$white: #fff;
6-
$gray: rgb(166, 161, 150);
7-
$maroon: rgb(148, 76, 116);
6+
$gray: #A6A194;
7+
$maroon: #9D4676;
88

99
// Base settings for all themes that can optionally be
1010
// overridden by the super-theme
@@ -14,7 +14,7 @@ $backgroundColor: $white;
1414

1515

1616
// Primary/body text
17-
$mainFont: 'Lato', sans-serif;
17+
$mainFont: 'Inter', sans-serif;
1818
$mainFontSize: 20px;
1919
$mainColor: #eee;
2020

@@ -23,7 +23,7 @@ $blockMargin: 20px;
2323

2424
// Headings
2525
$headingMargin: 0 0 $blockMargin 0;
26-
$headingFont: 'Lato', sans-serif;
26+
$headingFont: 'Inter', sans-serif;
2727
$headingColor: $black;
2828
$headingLineHeight: 1.2;
2929
$headingLetterSpacing: normal;
@@ -32,9 +32,9 @@ $headingTextShadow: none;
3232
$headingFontWeight: bold;
3333
$heading1TextShadow: $headingTextShadow;
3434

35-
$heading1Size: 3.77em;
36-
$heading2Size: 2.11em;
37-
$heading3Size: 1.55em;
35+
$heading1Size: 2em;
36+
$heading2Size: 1.6rem;
37+
$heading3Size: 1.3em;
3838
$heading4Size: 1.00em;
3939

4040
$codeFont: monospace;

src/styles/theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
*********************************************/
323323

324324
.reveal .controls {
325-
color: var(--r-link-color);
325+
color: var(--r-gray);
326326
}
327327

328328

0 commit comments

Comments
 (0)