Skip to content

Commit 5cd34b6

Browse files
committed
improve the page
Signed-off-by: Piyush Itankar <pitankar@gmail.com>
1 parent f330bce commit 5cd34b6

File tree

7 files changed

+122
-37
lines changed

7 files changed

+122
-37
lines changed

cache

Submodule cache updated from e7ebcd4 to fabf1d8

content/pitch/index.md

Lines changed: 50 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@ thumbnail: "/images/pitch/model.jpeg"
66

77
sections:
88
- section:
9+
- details:
10+
type: "full"
11+
title: "Embedded Systems"
12+
subtitle: "insights and resoning from first principles"
13+
- details:
14+
type: "break"
915
- details:
1016
type: "half"
1117
title: ""
1218
subtitle: ""
1319
img: "/images/pitch/model.jpeg"
1420
- details:
1521
type: "half"
16-
title: "Embedded Systems!"
17-
subtitle: "insights and resoning from first principles"
22+
title: ""
23+
subtitle: ""
1824
texts:
1925
- text: "Historically, it has been very difficult and time consuming to learn low level details of how Computers really work. We are on a mission `to lowering the barrier to learning Embedded systems Software and Hardware`."
2026
- text: "We have organised the basics as organised courses in the **Embedded Systems Library**."
@@ -30,41 +36,35 @@ sections:
3036
link: "mailto:support@pyjamacafe.com"
3137
text: "Contact Us"
3238
- section:
39+
- details:
40+
type: "full"
41+
title: "getting started"
42+
subtitle: "there is a structured path to it..."
3343
- details:
3444
type: "half"
35-
title: "The Virtuous Circle"
36-
subtitle: "Learn a little bit of everything. Repeat!"
37-
texts:
38-
- text: "We figured, these are the topics that enables one to contribute the fastest..."
39-
- text: "Our claim is, any bit of electronics around you will almost always leverage any three of these five topics - **C**, **CPU**, **OS**, **FPGA** and **Build Tools**."
40-
- text: "The **Library** of courses we created is based on this philosophy of learning in a round-robin fashion!"
41-
img: ""
42-
video: ""
43-
ctas:
44-
- cta:
45-
primary: true
46-
link: "/library"
47-
text: "Explore the Library"
48-
- cta:
49-
primary: ""
50-
link: "mailto:support@pyjamacafe.com"
51-
text: "Contact Us"
45+
sequence:
46+
- "Pick a 32/64 Bit CPU of choice (ARM/RISC-V etc)."
47+
- "Learn the basics of Assembly/C."
48+
- "Learn how to use build tools (gcc, as, ld) and utilities (make)."
49+
- "Write baremetal bootcode and boot the CPU from scratch."
50+
- "Implement a scheduler for the CPU and later replace it with an RTOS."
51+
- "Write state-machines and develop applications."
5252
- details:
5353
type: "half"
54-
title: ""
55-
subtitle: ""
5654
img: "/images/pitch/plan.jpg"
57-
video: ""
55+
5856
- section:
5957
- details:
6058
type: "full"
61-
title: "How it works?"
62-
subtitle: "It't not magic. There is a reason to it."
59+
title: "Why it works?"
60+
subtitle: "the logical link"
61+
- details:
62+
type: "break"
63+
6364
# the CPU
64-
- section:
6565
- details:
6666
type: "half"
67-
title: "#1. The CPU"
67+
title: "The CPU"
6868
subtitle: "The one that drives the System..."
6969
texts:
7070
- text: "Digital systems have a CPU (ARM/RISC-V etc) that drives the system states. The most popular CPUs for Embedded systems on the planet at the moment are - ARM-M, RISC-V and ARM-A."
@@ -84,15 +84,15 @@ sections:
8484
video: ""
8585
- details:
8686
type: "half"
87-
title: "#2. The Languages"
87+
title: "The Languages"
8888
subtitle: "Got to program the CPU somehow..."
8989
texts:
9090
- text: "Majority of Firmware/Systems software solutions are still authored in C with a little bit of Assembly."
9191
# Tools
9292
- section:
9393
- details:
9494
type: "half"
95-
title: "#3. The Tools"
95+
title: "The Tools"
9696
subtitle: "Binary, debugging and automation"
9797
texts:
9898
- text: "CPUs don't understand Assembly or C, they only understand 0s and 1s in the memory interpreted as an instruction. There are tools compiler, debuggers and others that help go from text to binary, debug the system and automate a lot of flows."
@@ -112,7 +112,7 @@ sections:
112112
video: ""
113113
- details:
114114
type: "half"
115-
title: "#4. The Operating System"
115+
title: "The Operating System"
116116
subtitle: "Managing state-machines and resources..."
117117
texts:
118118
- text: "When you have too many state-machines to be managed an Operating System helps. Majority of embedded system solutions use an RTOS."
@@ -305,11 +305,26 @@ sections:
305305
- section:
306306
- details:
307307
type: "full"
308-
title: "stand on our shoulders!"
309-
subtitle: "basics is on us. inventing is on you..."
308+
title: "what you'll learn"
309+
subtitle: "at the end of it all, you will..."
310+
- details:
311+
type: "half"
312+
img: "/images/circle/target.png"
313+
- details:
314+
type: "half"
315+
sequence:
316+
- "C programming, converting to Assembly and machine code."
317+
- "Grasp ARM-M, ARM-A, and RISC-V memory maps and programmer's models."
318+
- "Write and debug C programs for practical use."
319+
- "Command C constructs - functions, pointers, structs, unions, enums."
320+
- "Analyze data types - integers, floats, doubles, signed/unsigned, const, volatile."
321+
- "Understand data type memory representation - 2's complement, floating-point encoding."
322+
- details:
323+
type: "full"
310324
ctas:
311-
- cta:
312-
primary: true
313-
link: "/library"
314-
text: "Join the Library!"
325+
- cta:
326+
primary: true
327+
link: "/library"
328+
text: "Join the Library!"
315329
---
330+

layouts/partials/pitch/full.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@
5858
{{ end }}
5959
{{ end }}
6060

61+
{{/* sequence */}}
62+
{{ if .sequence }}
63+
<ol class="pitch-sequence">
64+
{{ range .sequence }}
65+
<li class="pitch-sequence-item">{{ . }}</li>
66+
{{ end }}
67+
</ol>
68+
{{ end }}
69+
6170
{{ if .posttexts }}
6271
{{ range .posttexts }}
6372
<div class="pitch-text"> {{.text | markdownify }} </div>

layouts/partials/pitch/half.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@
2929
</video>
3030
{{ end }}
3131

32+
{{/* sequence */}}
33+
{{ if .sequence }}
34+
<ol class="pitch-sequence">
35+
{{ range .sequence }}
36+
<li class="pitch-sequence-item">{{ . }}</li>
37+
{{ end }}
38+
</ol>
39+
{{ end }}
3240
{{ if .ctas }}
3341
<div class="pitch-ctas">
3442
{{ range .ctas }}

layouts/partials/pitch/section.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
{{ if eq .details.type "full" }}
88
{{ partial "pitch/full.html" .details }}
99
{{ end }}
10+
{{ if eq .details.type "break" }}
11+
<div class="pitch-break"></div>
12+
{{ end }}
1013
{{ end }}
1114
</section>
1215
{{ end }}

static/css/pitch/pitch.css

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
align-items: center;
1414
/* background-color:rgb(255, 183, 138); */
1515
/* border: black 1px dotted; */
16-
margin: 120px 0 120px 0;
16+
margin: 100px 0 100px 0;
1717
}
1818

1919
.pitch-title {
@@ -37,6 +37,12 @@
3737
padding: 0px;
3838
}
3939

40+
.pitch-break {
41+
flex: 1 1 100%;
42+
text-align: center;
43+
padding: 12px;
44+
}
45+
4046
.pitch-text {
4147
flex: 1 1 100%;
4248
margin: 0px;
@@ -218,6 +224,50 @@
218224
text-align: center;
219225
}
220226

227+
.pitch-sequence {
228+
flex: 1 1 100%;
229+
list-style: none;
230+
counter-reset: step-counter;
231+
}
232+
233+
.pitch-sequence-item {
234+
text-align: left;
235+
position: relative;
236+
margin-bottom: 20px;
237+
padding-left: 30px;
238+
max-width: 85%;
239+
counter-increment: step-counter;
240+
}
241+
242+
/* Custom numbers */
243+
.pitch-sequence li::before {
244+
content: counter(step-counter);
245+
position: absolute;
246+
left: 0;
247+
top: 0;
248+
width: 20px;
249+
height: 20px;
250+
background: #ff0000;
251+
color: white;
252+
border-radius: 50%;
253+
text-align: center;
254+
font-size: 12px;
255+
line-height: 20px;
256+
z-index: 2;
257+
}
258+
259+
/* Connecting Line */
260+
.pitch-sequence li:not(:last-child)::after {
261+
content: "";
262+
position: absolute;
263+
left: 9px;
264+
top: 20px;
265+
width: 2px;
266+
height: calc(100% + 20px);
267+
background: #ccc;
268+
z-index: 1;
269+
}
270+
221271
@media screen and (max-width: 771px) {
222272
.pitch-half {
223273
max-width: 100%;

static/images/circle/target.png

342 KB
Loading

0 commit comments

Comments
 (0)