Skip to content

Commit

Permalink
Copy backend site
Browse files Browse the repository at this point in the history
  • Loading branch information
domingusj committed Apr 27, 2024
0 parents commit cb52e73
Show file tree
Hide file tree
Showing 1,659 changed files with 213,107 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
_site/
.sass-cache/
node_modules
npm-debug.log
.DS_Store
.jekyll-metadata
.idea
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
curriculum.turing.edu
12 changes: 12 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
source 'https://rubygems.org'

gem 'jekyll', '3.9.0'
gem 'kramdown', '2.3.0'
gem 'rouge', '3.3.0'
gem 'octopress', '3.0.11'
gem 'jemoji'
gem 'kramdown-parser-gfm'

group :jekyll_plugins do
gem 'jekyll-algolia', '1.4.7'
end
130 changes: 130 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.3.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
algolia_html_extractor (2.6.2)
json (~> 2.0)
nokogiri (~> 1.10.4)
algoliasearch (1.27.1)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
colorator (1.1.0)
concurrent-ruby (1.1.7)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.13.1)
filesize (0.2.0)
forwardable-extended (2.6.0)
gemoji (3.0.1)
html-pipeline (2.12.2)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.6.0)
httpclient (2.8.3)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.9.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (>= 1.17, < 3)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-algolia (1.4.7)
algolia_html_extractor (~> 2.6)
algoliasearch (~> 1.18)
filesize (~> 0.1)
jekyll (~> 3.0)
json (~> 2.0)
nokogiri (~> 1.6)
progressbar (~> 1.9)
verbal_expressions (~> 0.1.5)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.11.1)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
json (2.3.1)
kramdown (2.3.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.3.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.4.0)
minitest (5.14.1)
mini_portile2 (~> 2.4.0)
nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
octopress (3.0.11)
jekyll (>= 2.0)
mercenary (~> 0.3.2)
octopress-deploy
octopress-escape-code (~> 2.0)
octopress-hooks (~> 2.0)
redcarpet (~> 3.0)
titlecase
octopress-deploy (1.3.0)
colorator
octopress-escape-code (2.1.1)
jekyll (~> 3.0)
octopress-hooks (2.6.2)
jekyll (>= 2.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
progressbar (1.10.1)
public_suffix (4.0.6)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
redcarpet (3.5.0)
rexml (3.2.4)
rouge (3.3.0)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
thread_safe (0.3.6)
titlecase (0.1.1)
tzinfo (1.2.7)
thread_safe (~> 0.1)
verbal_expressions (0.1.5)
zeitwerk (2.3.0)

PLATFORMS
ruby

DEPENDENCIES
jekyll (= 3.9.0)
jekyll-algolia (= 1.4.7)
jemoji
kramdown (= 2.3.0)
kramdown-parser-gfm
octopress (= 3.0.11)
rouge (= 3.3.0)

BUNDLED WITH
2.1.4
23 changes: 23 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Curriculum PR Template

### Description

*Provide a brief summary of the change(s) included in this pull request*

### Why are we making this update?

*Share the reason(s) for this pull request*

### Type of update

- [ ] Minor update/fix -- no review requested
- [ ] Moderate update -- review from Mod Team requested
- [ ] Major update -- review from Instructor Team requested

### How will we measure the success of this change?

*Share any hypothesized outcomes we might observe*

### What questions do you have/what do you want feedback on? (optional)

*List any specific questions and feedback requests*
57 changes: 57 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
title: "Back-End Engineering Curriculum - Turing School of Software and Design"
description: "Open source curriculum for the Turing School of Software and Design's back end engineering program."
url: "https://curriculum.turing.edu/"

baseurl: ''
permalink: /:title

markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge
parse_block_html: true

exclude: [
'Gemfile',
'Gemfile.lock',
'README.md',
'LICENSE',
'CNAME'
]

defaults:
-
scope:
path: ""
values:
layout: "page"

assets:
root_url: '/assets'

images:
root_url: '/assets/images'

plugins_dir:
- jemoji
- jekyll-algolia

algolia:
application_id: 'OOLQ64CUYT'
index_name: 'curriculum-site'
search_only_api_key: '5b955c38c514d8e5cb906c983c8c24db'
extensions_to_index: 'html,md'
nodes_to_index: 'p,li'
settings:
attributeForDistinct: 'title'
distinct: true
files_to_exclude:
- _includes
- _layouts
- _plugins
- _sass
- _site
- _templates
- assets
- public
- stylesheets
9 changes: 9 additions & 0 deletions _includes/analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'GTM-NXLZ888', 'auto');
ga('send', 'pageview');
</script>
3 changes: 3 additions & 0 deletions _includes/dun_dun_dun.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<audio controls="controls">
<source type="audio/mp3" src="/assets/audio/dun_dun_dun.mp3"></source>
</audio>
Empty file added _includes/footer.html
Empty file.
47 changes: 47 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{{ page.title }} - {{ site.title }}</title>

<link rel="apple-touch-icon" sizes="57x57" href="assets/favicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="assets/favicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/favicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="assets/favicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/favicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="assets/favicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/favicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="assets/favicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="assets/favicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="assets/favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicons/favicon-16x16.png">
<link rel="shortcut icon" type="image/png" href="/assets/favicons/favicon-16x16.png">
<link rel="manifest" href="assets/favicons/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">

<meta content='{{ page.title }} - {{ site.title }}' name='title' />
<meta content='{{ page.title }} - {{ site.title }}' name='og:title' />

{% if page.date %}
<meta content='{{ site.url }}{{ page.url }}' property='og:url' />
<meta content="{{ page.title }} - {{ page.content | strip_html | strip_newlines | truncate: 120 }}" property='og:description' />
<meta content="article" property="og:type" />
{% else %}
<meta content='{{ site.url }}' property='og:url' />
<meta content="{{ site.description }}" property='og:description' />
<meta content="blog" property="og:type" />
{% endif %}

<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href='/stylesheets/reset.css'>
<link rel="stylesheet" type="text/css" href='/stylesheets/styles.css'>
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script type="text/javascript" src="/assets/javascript/navigation.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=GTM-NXLZ888"></script>
<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date());
gtag('config', 'GTM-NXLZ888'); </script>
Empty file added _includes/header.html
Empty file.
26 changes: 26 additions & 0 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<nav role="navigation">
<ul class="nav-links">
<li>
<a href="https://turing.edu/" class="home-logo-link">
<img src="/assets/icons/TuringSchool_LogoMark_Gray.png"
alt="Turing School of Software and Design logo">
</a>
</li>
<li class="uppercase"><a href="/">BE Home</a></li>
<li class="uppercase"><a href="/module1">Module 1</a></li>
<li class="uppercase"><a href="/module2">Module 2</a></li>
<li class="uppercase"><a href="/module3">Module 3</a></li>
<li class="uppercase"><a href="https://mod4.turing.edu">Module 4</a></li>
<li class="uppercase"><a href="/documents">Documents</a></li>
<li class="search-bar">
<label for="search">
<!-- <img class="search-icon" src="../../../../assets/icons/search.svg" alt="Search Icon" /> -->
<img class="search-icon" src="https://assets.turing.edu/icons/search.png" alt="Search Icon" />
</label>
<input id="search" type="search" placeholder="Search lessons...">
<button class="clear-search hide">
<img src="/assets/icons/x-icon.svg">
</button>
</li>
</ul>
</nav>
16 changes: 16 additions & 0 deletions _includes/search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<section class="search-results-container hide">
<h2>Lesson Search Results</h2>
<h3>Showing top 10 results</h3>
<ul class="search-results"></ul>
<img class="clear-search" src="/assets/icons/x-icon.svg">
</section>

<script src="https://cdn.jsdelivr.net/algoliasearch/3/algoliasearch.min.js"></script>
<script>
window.ALGOLIA_CONFIG = {
'applicationId': '{{ site.algolia.application_id }}',
'indexName': '{{ site.algolia.index_name }}',
'apiKey': '{{ site.algolia.search_only_api_key }}'
}
</script>
<script src="/public/js/search.js"></script>
Loading

0 comments on commit cb52e73

Please sign in to comment.