Skip to content

Commit 7637095

Browse files
authored
Blog (#503)
* Test * Team nav update * update blog tag * Add event page and update blog tag size * Update footer for blog * update lock to run git and mac
1 parent e10cee3 commit 7637095

18 files changed

+224
-87
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ end
2222
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
2323

2424
# Performance-booster for watching directories on Windows
25-
gem "wdm", "~> 0.1.0" if Gem.win_platform?
25+
# gem "wdm", "~> 0.1.0" if Gem.win_platform?
2626

2727
# Adding webrick since jekyll requires it
2828
gem 'webrick'

Gemfile.lock

Lines changed: 9 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,15 @@ GEM
2424
ethon (0.16.0)
2525
ffi (>= 1.15.0)
2626
eventmachine (1.2.7)
27-
ffi (1.17.1-aarch64-linux-gnu)
28-
ffi (1.17.1-aarch64-linux-musl)
29-
ffi (1.17.1-arm-linux-gnu)
30-
ffi (1.17.1-arm-linux-musl)
31-
ffi (1.17.1-arm64-darwin)
32-
ffi (1.17.1-x86-linux-gnu)
33-
ffi (1.17.1-x86-linux-musl)
27+
ffi (1.17.1-x64-mingw-ucrt)
3428
ffi (1.17.1-x86_64-darwin)
3529
ffi (1.17.1-x86_64-linux-gnu)
36-
ffi (1.17.1-x86_64-linux-musl)
3730
fiber-annotation (0.2.0)
3831
fiber-local (1.1.0)
3932
fiber-storage
4033
fiber-storage (1.0.0)
4134
forwardable-extended (2.6.0)
42-
google-protobuf (4.29.3)
43-
bigdecimal
44-
rake (>= 13)
45-
google-protobuf (4.29.3-aarch64-linux)
46-
bigdecimal
47-
rake (>= 13)
48-
google-protobuf (4.29.3-arm64-darwin)
49-
bigdecimal
50-
rake (>= 13)
51-
google-protobuf (4.29.3-x86-linux)
35+
google-protobuf (4.29.3-x64-mingw-ucrt)
5236
bigdecimal
5337
rake (>= 13)
5438
google-protobuf (4.29.3-x86_64-darwin)
@@ -110,26 +94,12 @@ GEM
11094
rb-inotify (~> 0.9, >= 0.9.10)
11195
mercenary (0.4.0)
11296
metrics (0.12.1)
113-
mini_portile2 (2.8.8)
114-
nokogiri (1.18.2)
115-
mini_portile2 (~> 2.8.2)
116-
racc (~> 1.4)
117-
nokogiri (1.18.2-aarch64-linux-gnu)
118-
racc (~> 1.4)
119-
nokogiri (1.18.2-aarch64-linux-musl)
120-
racc (~> 1.4)
121-
nokogiri (1.18.2-arm-linux-gnu)
122-
racc (~> 1.4)
123-
nokogiri (1.18.2-arm-linux-musl)
124-
racc (~> 1.4)
125-
nokogiri (1.18.2-arm64-darwin)
97+
nokogiri (1.18.2-x64-mingw-ucrt)
12698
racc (~> 1.4)
12799
nokogiri (1.18.2-x86_64-darwin)
128100
racc (~> 1.4)
129101
nokogiri (1.18.2-x86_64-linux-gnu)
130102
racc (~> 1.4)
131-
nokogiri (1.18.2-x86_64-linux-musl)
132-
racc (~> 1.4)
133103
pathutil (0.16.2)
134104
forwardable-extended (~> 2.6)
135105
pdf-reader (2.14.1)
@@ -149,52 +119,32 @@ GEM
149119
rouge (4.5.1)
150120
ruby-rc4 (0.1.5)
151121
safe_yaml (1.0.5)
152-
sass-embedded (1.83.4)
153-
google-protobuf (~> 4.29)
154-
rake (>= 13)
155-
sass-embedded (1.83.4-aarch64-linux-gnu)
156-
google-protobuf (~> 4.29)
157-
sass-embedded (1.83.4-aarch64-linux-musl)
158-
google-protobuf (~> 4.29)
159-
sass-embedded (1.83.4-arm-linux-gnueabihf)
160-
google-protobuf (~> 4.29)
161-
sass-embedded (1.83.4-arm-linux-musleabihf)
162-
google-protobuf (~> 4.29)
163-
sass-embedded (1.83.4-arm64-darwin)
122+
sass-embedded (1.83.4-x64-mingw-ucrt)
164123
google-protobuf (~> 4.29)
165124
sass-embedded (1.83.4-x86_64-darwin)
166125
google-protobuf (~> 4.29)
167126
sass-embedded (1.83.4-x86_64-linux-gnu)
168127
google-protobuf (~> 4.29)
169-
sass-embedded (1.83.4-x86_64-linux-musl)
170-
google-protobuf (~> 4.29)
171128
terminal-table (3.0.2)
172129
unicode-display_width (>= 1.1.1, < 3)
173130
traces (0.15.2)
174131
ttfunk (1.8.0)
175132
bigdecimal (~> 3.1)
176133
typhoeus (1.4.1)
177134
ethon (>= 0.9.0)
135+
tzinfo (2.0.6)
136+
concurrent-ruby (~> 1.0)
137+
tzinfo-data (1.2025.2)
138+
tzinfo (>= 1.0.0)
178139
unicode-display_width (2.6.0)
179140
webrick (1.9.1)
180141
yell (2.2.2)
181142
zeitwerk (2.7.1)
182143

183144
PLATFORMS
184-
aarch64-linux
185-
aarch64-linux-gnu
186-
aarch64-linux-musl
187-
arm-linux
188-
arm-linux-gnueabihf
189-
arm-linux-musleabihf
190-
arm64-darwin
191-
x86-linux
192-
x86-linux-gnu
193-
x86-linux-musl
145+
x64-mingw-ucrt
194146
x86_64-darwin
195147
x86_64-linux
196-
x86_64-linux-gnu
197-
x86_64-linux-musl
198148

199149
DEPENDENCIES
200150
html-proofer

_config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ defaults:
3939
type: "py1"
4040
values:
4141
layout: "py1-lesson"
42-
-
43-
scope:
42+
- scope:
4443
path: ""
4544
values:
4645
layout: "default"
@@ -72,6 +71,8 @@ collections:
7271
team:
7372
output: true
7473
permalink: /team/:name
74+
events:
75+
output: true
7576

7677
# Configure category pages plugin here
7778
permalink: /:year/:month/:day/:title:output_ext #gets rid of index.html from category page links (probably)
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
---
22
layout: default
33
title: "AI Ethics Speaker Series"
4-
permalink: "/ai-ethics"
4+
description: Ethical problems surrounding artificial intelligence
5+
category: ACM AI Outreach
6+
tags:
7+
- Outreach
8+
- Workshop
9+
- AI
10+
image: img/undraw/predpol.svg
11+
alt: drawing of a robot security guard and a person controlling it
12+
permalink: "event/ai-ethics"
513
---
614

715
<h1 class="title page-title">AI Ethics Speaker Series</h1>
Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
---
22
layout: default
3-
title: "Robotics BEAM page"
4-
permalink: "/beam-robotics"
3+
title: "Robotics Fun with BEAM"
4+
description: A seven-week adventure with the adorable mBot
5+
category: BEAM at UCLA Outreach
6+
tags:
7+
- Outreach
8+
- Teach
9+
- BEAM
10+
image: img/beam-robotics/dancing-robot.svg
11+
alt: robots dancing under a disco ball
12+
permalink: "event/beam-robotics"
513
---
614
<h1 class="title page-title"> Robotics Fun with BEAM </h1>
715
<p class="title text-2x no-margin">
@@ -107,7 +115,7 @@ <h2 class="title text-1.5x">
107115
<div class="row-desktop row-desktop-ratio-1-2 my-3">
108116
<div class="grid-col">
109117
<img class="img-responsive" src="{{site.baseurl}}/img/beam-robotics/assemble-robot.svg"
110-
alt="a blue mbot with wheels" />
118+
alt="a robot being assembled" />
111119
</div>
112120
<div>
113121
<h2 class="title text-1.5x">
@@ -128,7 +136,7 @@ <h2 class="title text-1.5x">
128136

129137
<div class="row-desktop row-desktop-ratio-1-2 row-desktop-reverse my-3">
130138
<div class="grid-col">
131-
<img class="img-responsive" src="{{site.baseurl}}/img/beam-robotics/mBot.svg" alt="a girl coding her robot" />
139+
<img class="img-responsive" src="{{site.baseurl}}/img/beam-robotics/mBot.svg" alt="a blue mbot with wheels" />
132140
</div>
133141
<div>
134142
<h2 class="title text-1.5x">
@@ -153,7 +161,7 @@ <h2 class="title text-1.5x">
153161
<div class="row-desktop row-desktop-ratio-1-2 my-3">
154162
<div class="grid-col">
155163
<img class="img-responsive" src="{{site.baseurl}}/img/beam-robotics/coding-robot.svg"
156-
alt="a robot being assembled" />
164+
alt="a girl coding her robot" />
157165
</div>
158166
<div>
159167
<h2 class="title text-1.5x">
@@ -178,7 +186,7 @@ <h2 class="title text-1.5x">
178186
<div class="row-desktop row-desktop-ratio-1-2 row-desktop-reverse my-3">
179187
<div class="grid-col">
180188
<img class="img-responsive" src="{{site.baseurl}}/img/beam-robotics/dancing-robot.svg"
181-
alt="a girl coding her robot" />
189+
alt="robots dancing under disco ball" />
182190
</div>
183191
<div>
184192
<h2 class="title text-1.5x">
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
---
22
layout: default
33
title: "Careers in CS"
4-
permalink: "/careers-cs"
4+
category: Teach the Tech
5+
description: Discover the paths in the tech industry
6+
tags:
7+
- Teach
8+
image: img/undraw/project-team.svg
9+
alt: drawing of two people working on a project with computer
10+
permalink: "event/careers-cs"
511
---
612

713
<h1 class="title page-title">Careers in CS</h1>
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
---
22
layout: default
33
title: "Cyber Day with CityLab: CityLab x Teach LA"
4-
permalink: "/citylab-cyber"
4+
category: CityLab Outreach
5+
description: Have a tech talk with a city walk
6+
tags:
7+
- Outreach
8+
- Teach
9+
- CityLab
10+
image: img/undraw/fingerprint-auth.svg
11+
alt: drawing related to password security
12+
permalink: "event/citylab-cyber"
513
---
614

715
<h1 class="title page-title">Cyber Day with CityLab</h1>

_includes/blog-preview-card-small.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ <h4>
1212
</h4>
1313
<h1>{{post.title}}</h1>
1414
<h2>by {{post.author}}</h2>
15+
<div class="post-card--tags">
16+
{% for tag in post.tags %}
17+
<p class="tag">{{tag}}</p>
18+
{% endfor %}
19+
</div>
1520
</div>
1621
</div>
1722
</a>

_includes/blog-preview-card.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ <h1>{{post.title}}</h1>
77
<h2>by {{post.author}}</h2>
88
<hr/>
99
<p>{{post.excerpt}}</p>
10+
<div class="post-card--tags">
11+
{% for tag in post.tags %}
12+
<p class="tag">{{tag}}</p>
13+
{% endfor %}
14+
</div>
1015
</div>
1116
</div>
1217
</a>

_includes/event-preview-card.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<a href={{event.url}}>
2+
<div class="event-card">
3+
<img
4+
class="event-card--image"
5+
src="{{site.baseurl}}/{{event.image}}"
6+
alt="{{event.alt}}"
7+
/>
8+
<div class="event-card--description" type="small">
9+
<h4>
10+
<span>{{event.category}}</span>
11+
</h4>
12+
<h1>{{event.title}}</h1>
13+
<h2>{{event.description}}</h2>
14+
<div class="event-card--tags">
15+
{% for tag in event.tags %}
16+
<p class="tag">{{tag}}</p>
17+
{% endfor %}
18+
</div>
19+
</div>
20+
</div>
21+
</a>

0 commit comments

Comments
 (0)