Skip to content

Commit 0b9e810

Browse files
authored
Merge branch 'main' into feature-Dark-mode
2 parents 239af39 + 18d3afb commit 0b9e810

File tree

13 files changed

+73
-17
lines changed

13 files changed

+73
-17
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,15 @@
200200
"code",
201201
"doc"
202202
]
203+
},
204+
{
205+
"login": "aryanpingle",
206+
"name": "Aryan Pingle",
207+
"avatar_url": "https://avatars.githubusercontent.com/u/49340972?v=4",
208+
"profile": "https://github.com/aryanpingle",
209+
"contributions": [
210+
"code"
211+
]
203212
}
204213
],
205214
"contributorsPerLine": 7,

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Coding Train Website
22

33
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
4-
[![All Contributors](https://img.shields.io/badge/all_contributors-21-orange.svg?style=flat-square)](#contributors-)
4+
[![All Contributors](https://img.shields.io/badge/all_contributors-22-orange.svg?style=flat-square)](#contributors-)
55
<!-- ALL-CONTRIBUTORS-BADGE:END -->
66

77
This repo holds the website for [thecodingtrain.com](https://thecodingtrain.com/). The website is built with:
@@ -70,6 +70,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
7070
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kvashchuka"><img src="https://avatars.githubusercontent.com/u/12686827?v=4?s=100" width="100px;" alt="Anna Kvashchuk"/><br /><sub><b>Anna Kvashchuk</b></sub></a><br /><a href="https://github.com/CodingTrain/thecodingtrain.com/commits?author=kvashchuka" title="Documentation">📖</a></td>
7171
<td align="center" valign="top" width="14.28%"><a href="http://silvestristefano.github.io/"><img src="https://avatars.githubusercontent.com/u/18087952?v=4?s=100" width="100px;" alt="Stefano Silvestri"/><br /><sub><b>Stefano Silvestri</b></sub></a><br /><a href="#ideas-SilvestriStefano" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/CodingTrain/thecodingtrain.com/commits?author=SilvestriStefano" title="Code">💻</a> <a href="https://github.com/CodingTrain/thecodingtrain.com/commits?author=SilvestriStefano" title="Documentation">📖</a></td>
7272
</tr>
73+
<tr>
74+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aryanpingle"><img src="https://avatars.githubusercontent.com/u/49340972?v=4?s=100" width="100px;" alt="Aryan Pingle"/><br /><sub><b>Aryan Pingle</b></sub></a><br /><a href="https://github.com/CodingTrain/thecodingtrain.com/commits?author=aryanpingle" title="Code">💻</a></td>
75+
</tr>
7376
</tbody>
7477
</table>
7578

content/pages/homepage/index.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
"description": "Watch Dan take on Coding Challenges in p5.js and Processing. The challenge topics include algorithmic art, machine learning, simulation, generative poetry, and more.",
3333
"featured": [
3434
"182-apollonian-gasket",
35-
"145-ray-casting-2d",
36-
"50-animated-circle-packing",
37-
"35-traveling-salesperson",
38-
"c4-worley-noise",
39-
"165-slide-puzzle"
35+
"17-fractal-trees-space-colonization",
36+
"173-snake-applesoft-basic",
37+
"83-p5-sketch-chrome-extension",
38+
"78-simple-particle-system",
39+
"87-3d-knots"
4040
],
4141
"challengesCta": {
4242
"text": "ready to explore? try a challenge!",
@@ -47,14 +47,14 @@
4747
"passengerShowcase": {
4848
"title": "Passenger showcase highlights",
4949
"featured": [
50-
"challenges/182-apollonian-gasket/showcase/contribution-1711110753.json",
51-
"challenges/182-apollonian-gasket/showcase/contribution-1711767675.json",
52-
"challenges/182-apollonian-gasket/showcase/contribution-1711308188.json",
53-
"challenges/166-image-to-ascii/showcase/contribution-1711741187.json",
54-
"challenges/154-tic-tac-toe-minimax/showcase/contribution-1710990124.json",
55-
"challenges/96-visualizing-digits-of-pi/showcase/contribution-1711590403.json",
56-
"challenges/52-random-walker/showcase/contribution-1710758696.json",
57-
"challenges/179-wolfram-ca/showcase/contribution-1710949601.json"
50+
"code/2-variables/5-map/showcase/contribution-1713120295.json",
51+
"challenges/180-falling-sand/showcase/contribution-1713541543.json",
52+
"noc/4-particles/2-particle-emitters/showcase/contribution-1711836756.json",
53+
"challenges/90-dithering/showcase/contribution-1711892032.json",
54+
"challenges/4-purple-rain/showcase/contribution-1687374037.json",
55+
"challenges/171-wave-function-collapse/showcase/contribution-1688140264.json",
56+
"challenges/43-context-free-grammar/showcase/contribution1.json",
57+
"webgl/2-3d-geometries/showcase/contribution-1710194669.json"
5858
],
5959
"showcaseCta": {
6060
"text": "Want to see more?",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"title": "Sudoku Solver",
3+
"author": {
4+
"name": "Nathan Rudasill"
5+
},
6+
"url": "https://editor.p5js.org/nrudasill/sketches/A0ANL-Q8U",
7+
"submittedOn": "2024-02-09T21:02:54.373Z"
8+
}
98.7 KB
Loading
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"title": "Voice Pong! Pong game control via voice input",
3+
"author": {
4+
"name": "Peyman Majidi",
5+
"url": "https://www.youtube.com/@peymanx/",
6+
"instagram": "https://www.instagram.com/peymanmajidi.ir/"
7+
},
8+
"url": "https://editor.p5js.org/peymanx/sketches/vbKUCSozU",
9+
"submittedOn": "2024-02-07T11:27:25.448Z"
10+
}
202 KB
Loading

src/components/TimestampTimeline.module.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
display: flex;
1212
padding: 0;
1313
cursor: pointer;
14+
15+
&:first-child {
16+
/* border-top will be set by the variant */
17+
border-top: none !important;
18+
}
19+
1420
& span {
1521
display: flex;
1622
align-items: center;
@@ -66,6 +72,10 @@
6672
& .time {
6773
color: var(--red);
6874
}
75+
76+
& .timestamp {
77+
border-top: var(--border-red-light);
78+
}
6979
}
7080

7181
.cyan {
@@ -81,6 +91,10 @@
8191
& .time {
8292
color: var(--cyan);
8393
}
94+
95+
& .timestamp {
96+
border-top: var(--border-cyan-light);
97+
}
8498
}
8599

86100
@media (--reduced) {

src/components/challenges/VideoSection.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@
150150
color: var(--cyan);
151151
font-size: var(--maru-small);
152152
font-family: var(--maru-mono);
153+
154+
background-color: var(--red-lightest);
153155
}
154156

155157
.partTimeline.hide,

src/components/tracks/OverviewTimeline.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const ChapterSection = memo(
9696
return (
9797
<ul className={css.chapterList}>
9898
{chapter.title && (
99-
<li>
99+
<li className={css.chapterListItem}>
100100
<button
101101
className={cn(
102102
css.chapterTitle,
@@ -129,7 +129,7 @@ const ChapterSection = memo(
129129
return (
130130
<li
131131
key={`${video.slug}-${partIndex}`}
132-
className={cn(css.videoItem, {
132+
className={cn(css.videoItem, css.chapterListItem, {
133133
[css.seen]: hasSeenPart,
134134
[css.last]: isLastVideo && partIndex === currentPartIndex
135135
})}>
@@ -146,7 +146,7 @@ const ChapterSection = memo(
146146
) : (
147147
<li
148148
key={video.slug}
149-
className={cn(css.videoItem, {
149+
className={cn(css.videoItem, css.chapterListItem, {
150150
[css.seen]: hasSeenVideo,
151151
[css.last]: isLastVideo
152152
})}>

0 commit comments

Comments
 (0)