Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.env
4 changes: 4 additions & 0 deletions org-mcb-sdc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.hugo_build.lock
/node_modules/
/public/
/resources/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions org-mcb-sdc/assets/custom-images/site-logo/site-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
75 changes: 75 additions & 0 deletions org-mcb-sdc/assets/custom-theme/02-variables/colors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
@mixin light-palette {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This theming is currently in the org-mcb-sdc site.

When we pull a second site in here (e.g. itp), we probably want to move them into a module where they can be shared between both sites.

But for now, they're only used in here, so I've left them in-line.

// these brand colours are set and then everything else is derived from the key
--theme-color--brand: rgb(21, 212, 190);
--theme-color--brand-shade: rgba(21, 212, 190, .05);
--theme-color--accent: rgb(21, 212, 190);
--theme-color--accent-shade: hsla(146, 100%, 46%, 0.5);
--theme-color--pop: hsla(262, 100%, 62%, 1);
// key
--hue: 210;
--sat: 35%;
--lum: 90%;
--alpha: 0.95;
--hsl: var(--hue), var(--sat), var(--lum);
// now build all the shades
--theme-color--paper: hsla(
var(--hue),
calc(var(--sat) * 1.2),
calc(var(--lum) * 1.06),
var(--alpha)
);
--theme-color--ink: hsla(
var(--hue),
calc(var(--sat) * 2.2),
calc(var(--lum) * 0.3),
var(--alpha)
);
--theme-color--ink-fade: hsla(
var(--hue),
calc(var(--sat) * 2.2),
calc(var(--lum) * 0.3),
calc(var(--alpha) * 0.3)
);
--theme-color--paper-fade: hsla(
var(--hue),
calc(var(--sat) * 1.2),
calc(var(--lum) * 1.06),
0.9
);
--theme-color--contrast-max: hsl(
var(--hue),
calc(var(--sat) / 100),
calc(var(--lum) * 2) var(--alpha)
);

// backdrop
--theme-color--block: hsla(var(--hsl), var(--alpha));
--theme-color--outline: hsl(var(--hsl), 1);
--theme-color--backdrop-from: hsl(var(--hsl) / 0.25);
--theme-color--backdrop-to: hsl(var(--hsl) / 0.2);
}

@mixin dark-palette {
--hue: 270;
--sat: 8%;
--lum: 20%;
--alpha: 0.99;
--theme-color--ink: hsla(
calc(var(--hue) * 1.1),
calc(var(--sat) + 60%),
calc(var(--lum) * 4.4),
var(--alpha)
);
--theme-color--accent: rgb(21, 212, 190);
--theme-color--pop: hsl(321, 100%, 46%);
}

:root {
@include light-palette();
@media (prefers-color-scheme: dark) {
@include dark-palette();
}
}

// see states for classes that toggle these
// no classes in the variables folder
7 changes: 7 additions & 0 deletions org-mcb-sdc/assets/custom-theme/02-variables/fonts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
:root {
--theme-font--display: "Jura", serif;
--theme-font--copy: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif;
--theme-font--system: 100 100%/2 "Monaco", "Menlo", "Space Grotesk", monospace;
}
4 changes: 4 additions & 0 deletions org-mcb-sdc/assets/custom-theme/states/dark.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.is-dark-mode,
:root:has(.is-dark-mode) {
@include dark-palette;
}
4 changes: 4 additions & 0 deletions org-mcb-sdc/assets/custom-theme/states/light.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.is-light-mode,
:root:has(.is-light-mode) {
@include light-palette;
}
6 changes: 6 additions & 0 deletions org-mcb-sdc/content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+++
title = "Software Development Course"
menus_to_map = ["start here", "SDC"]
description = "Practical, employment-focused training in foundational software concepts."
emoji = "🧑🏾‍🔧"
+++
22 changes: 22 additions & 0 deletions org-mcb-sdc/content/blocks/decomposition-sprint1-overview/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
+++
title = "Overview"
emoji = "🌐"
time = 5
hide_from_overview = true
[build]
render = "never"
list = "local"
publishResources = false
+++

<!--
TODO: Consider rewriting this block - it's currently specific to CYF's pacing.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This intro is currently not shared from the upstream repo.

Upstream it is CYF-specific (we can tell this because it's in https://github.com/CodeYourFuture/curriculum/blob/main/org-cyf-sdc/content/blocks/decomposition-sprint1-overview/index.md which has org-cyf in its directory name, not in https://github.com/CodeYourFuture/curriculum/blob/main/common-content)

You probably want to rewrite this block to describe how you break things up yourselves into different days and weeks. For now, I copy it over verbatim as a placeholder.

-->

This sprint we're going to focus on why and how we break up software into different components, such as a frontend and backend.

We will do this through a worked example. We will build a quote website, which lets people get quotes, or add quotes to a list.

We will supply most of the code for you. You should read the code and make sure you understand it. Then you should copy it onto your computer, run it, and experiment with it. Later, you will need to deploy it to the internet, and you will need to modify the code yourself.

Next sprint, you will be building your own website. It will be similar, but not the same. You will build an interactive chat room, where multiple users can chat in real-time. We will not supply the code. You will need to apply all of the skills you're learning this sprint to write and deploy the code yourself.
8 changes: 8 additions & 0 deletions org-mcb-sdc/content/complexity/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
title = "Complexity"
description = "Efficiency, optimisation, and trade-offs"
layout = "module"
emoji = "🪆"
menu = ["syllabus", "core", "SDC"]
weight = "6"
+++
12 changes: 12 additions & 0 deletions org-mcb-sdc/content/complexity/prep/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
+++
title = "Prep"
description = "Prepare to succeed in this module"
layout = "prep"
emoji = "🧰"
menu_level = ["module"]
weight = 1
[[blocks]]
title = "Introduction"
src = "module/complexity/introduction"
time = 10
+++
9 changes: 9 additions & 0 deletions org-mcb-sdc/content/complexity/sprints/1/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
+++
title = "Sprint 1"
description = "The plan for this sprint"
layout = "sprint"
emoji = "⏱️"
menu_level = ["module"]
weight = 2
theme = "Memory and CPU"
+++
9 changes: 9 additions & 0 deletions org-mcb-sdc/content/complexity/sprints/1/backlog/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
+++
title = "Backlog"
layout = "backlog"
emoji = "🥞"
menu_level = ["sprint"]
weight = 2
backlog = "Module-Complexity"
backlog_filter = "📅 Sprint 1"
+++
49 changes: 49 additions & 0 deletions org-mcb-sdc/content/complexity/sprints/1/day-plan/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
+++
title = "Day Plan"
layout = "day-plan"
emoji = "🧑🏾‍🤝‍🧑🏾"
menu_level = ["sprint"]
weight = 3
[[blocks]]
name = "Morning orientation"
src = "blocks/morning-orientation"
[[blocks]]
name = "Sorting Cards Workshop"
src = "https://github.com/CodeYourFuture/CYF-Workshops/readme/sorting-cards"
time = "90"
[[blocks]]
name = "Morning break"
src = "blocks/morning-break"
[[blocks]]
name = "Discussion: Technical Interviews"
src = "blocks/discuss-technical-interviews"
[[blocks]]
name = "Games, rules, logic and strategy"
src = "blocks/games"
time = "25"
[[blocks]]
name = "lunch"
src = "blocks/lunch"
[[blocks]]
name = "demo"
src = "blocks/demo"
time = "30"
[[blocks]]
name = "Study Group"
src = "blocks/study-group"
time = "45"
[[blocks]]
name = "Code Review"
src = "https://github.com/CodeYourFuture/Module-Complexity/pulls"
time = "0"
[[blocks]]
name = "Afternoon break"
src = "blocks/afternoon-break"
[[blocks]]
name = "Study Group"
src = "blocks/study-group"
time = "60"
[[blocks]]
name = "Retro"
src = "blocks/retro"
+++
29 changes: 29 additions & 0 deletions org-mcb-sdc/content/complexity/sprints/1/prep/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
+++
title = "Prep"
description = "Examining the cost of computation"
layout = "prep"
emoji = "🧑🏾‍💻"
menu_level = ["sprint"]
weight = 1
[[blocks]]
name = "Space: Memory consumption"
src = "module/complexity/memory-consumption"
[[blocks]]
name = "Time: Big-O"
src = "module/complexity/big-o"
[[blocks]]
name = "Worked example"
src = "module/complexity/worked-example-duplicate-encoder"
[[blocks]]
name = "'Expensive' Operations"
src = "module/complexity/operations"
[[blocks]]
name = "Network as a bottleneck"
src = "module/complexity/network-as-a-bottleneck"
[[blocks]]
name = "n+1"
src = "module/complexity/n+1"
[[blocks]]
name = "Memory, Cache Locality, and why arrays are fast"
src = "https://www.youtube.com/watch?v=247cXLkYt2M"
+++
7 changes: 7 additions & 0 deletions org-mcb-sdc/content/complexity/sprints/1/success/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "Success"
layout = "success"
emoji = ""
menu_level = ["sprint"]
weight = 4
+++
9 changes: 9 additions & 0 deletions org-mcb-sdc/content/complexity/sprints/2/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
+++
title = "Sprint 2"
description = "The plan for this sprint"
layout = "sprint"
emoji = "⏱️"
menu_level = ["module"]
weight = 2
theme = "Caches and trade-offs"
+++
9 changes: 9 additions & 0 deletions org-mcb-sdc/content/complexity/sprints/2/backlog/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
+++
title = "Backlog"
layout = "backlog"
emoji = "🥞"
menu_level = ["sprint"]
weight = 2
backlog = "Module-Complexity"
backlog_filter = "📅 Sprint 2"
+++
50 changes: 50 additions & 0 deletions org-mcb-sdc/content/complexity/sprints/2/day-plan/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
+++
title = "Day Plan"
layout = "day-plan"
emoji = "🧑🏾‍🤝‍🧑🏾"
menu_level = ["sprint"]
weight = 3
[[blocks]]
name = "Morning orientation"
src = "blocks/morning-orientation"
[[blocks]]
name = "User Needs and Acceptance Criteria Workshop"
src = "https://github.com/CodeYourFuture/CYF-Workshops/readme/user-needs-and-acceptance-criteria"
time = "60"
[[blocks]]
name = "Morning break"
src = "blocks/morning-break"
[[blocks]]
name = "Clean Code Workshop"
src = "module/complexity/clean-code-workshop"
time = "45"
[[blocks]]
name = "Study Group"
src = "blocks/study-group"
time = "40"
[[blocks]]
name = "lunch"
src = "blocks/lunch"
[[blocks]]
name = "demo"
src = "blocks/demo"
time = "30"
[[blocks]]
name = "Study Group"
src = "blocks/study-group"
time = "45"
[[blocks]]
name = "Code Review"
src = "https://github.com/CodeYourFuture/Module-Complexity/pulls"
time = "0"
[[blocks]]
name = "Afternoon break"
src = "blocks/afternoon-break"
[[blocks]]
name = "Study Group"
src = "blocks/study-group"
time = "60"
[[blocks]]
name = "Retro"
src = "blocks/retro"
+++
Loading