Skip to content

Commit 46e1b90

Browse files
authored
Revert "Add jsnix"
1 parent 2c084c3 commit 46e1b90

File tree

127 files changed

+1365
-97177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+1365
-97177
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ _site
44
Gemfile.lock
55
node_modules
66
env
7-
__pycache__
8-
meta.json
7+
__pycache__

_config.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
title: theo, softserve developer
1717
email: iam@theo.lol
1818
description: >- # this means to ignore newlines until "baseurl:"
19-
a Canadian software engineer living in the US
19+
blog and website of a Canadian software engineer living in the US
2020
# baseurl: https://tbrockman.github.io/
2121
# Build settings
2222
markdown: kramdown
@@ -28,11 +28,6 @@ plugins:
2828
feed:
2929
tags: true
3030
url: https://theo.lol
31-
webrick:
32-
headers:
33-
Cross-Origin-Embedder-Policy: "credentialless"
34-
Cross-Origin-Opener-Policy: "same-origin"
35-
3631
# Exclude from processing.
3732
# The following items will not be processed, by default. Create a custom list
3833
# to override the default setting.
@@ -46,4 +41,3 @@ exclude:
4641
- vendor/ruby/
4742
- scripts
4843
- tmp
49-
- jsnix

_layouts/home.html

+23-25
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
1-
<!DOCTYPE html>
2-
<!-- generated from jsnix/index.html, do not edit -->
3-
<html>
4-
<head>
5-
<meta charset="utf-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<link rel="stylesheet" type="text/css" href="assets/css/home.css">
8-
<link rel="stylesheet" type="text/css" href="font-awesome-4.7.0/css/font-awesome.min.css">
9-
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
10-
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
11-
<title>
12-
theodore brockman - home
13-
</title>
14-
{% seo %}
15-
<script type="module" crossorigin src="assets/jsnix/assets/index-DyJKRDEk.js"></script>
16-
<link rel="stylesheet" crossorigin href="assets/jsnix/assets/index-DXQFDNTa.css">
17-
</head>
18-
<body style="background-color:#252525;">
19-
{% include navbar.html %}
20-
<div class="page-container">
21-
<div id="terminal"></div>
22-
</div>
23-
<script src="assets/js/sw.min.js"></script>
24-
<body>
25-
</html>
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<link rel="preconnect" href="https://fonts.gstatic.com">
7+
<link rel="stylesheet" type="text/css" href="/assets/css/home.css">
8+
<link rel="stylesheet" type="text/css" href="font-awesome-4.7.0/css/font-awesome.min.css">
9+
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
10+
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
11+
<title>
12+
theodore brockman - home
13+
</title>
14+
{% seo %}
15+
</head>
16+
<body style="background-color:#252525;">
17+
{% include navbar.html %}
18+
<div class="page-container">
19+
<div id="terminal"></div>
20+
</div>
21+
<script src="page.js" type="module"></script>
22+
<body>
23+
</html>

_layouts/old-resume.html

+206
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
</meta>
7+
<link rel="stylesheet" type="text/css"
8+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
9+
<link rel="stylesheet" type="text/css" href="/assets/css/resume.css">
10+
<title>theodore brockman - resume</title>
11+
{% seo %}
12+
</head>
13+
14+
<body>
15+
<div class="resume-container">
16+
{% for hash in site.data.resume %}
17+
{% assign key = hash[0] %}
18+
{% unless key == "data" %}
19+
<div class="{{key}} section">
20+
<div class="section-icon-container ">
21+
<span class="pink">theo</span>
22+
<span class="pink">:</span>
23+
<span class="pink">~/resume</span>
24+
<span class="pink">$&nbsp;</span>
25+
<span class="white">{{ site.data.resume.data.section-title-map["web"][key] }}</span>
26+
</div>
27+
{% if key == "alternative_formats" %}
28+
<div class="resume-alternatives">
29+
<ul>
30+
{% for format in site.data.resume.alternative_formats %}
31+
<li id="{{format.text}}">
32+
<a class="gold" href="{{format.url}}">{{ format.icon }} {{ format.text }}</a>
33+
</li>
34+
{% endfor %}
35+
</ul>
36+
</div>
37+
{% elsif key == "about" %}
38+
<div class="resume-header-body">
39+
<div>
40+
<div class='main-banner floating-block'>
41+
<img class='banner-image' src="{{ site.data.resume.about.picture }}"></img>
42+
<div class='about-body'>
43+
<pre class="blue">{{ site.data.resume.about.name }}</pre>
44+
<pre style="overflow: auto;">{{ site.data.resume.about.description }}</pre>
45+
</div>
46+
<div class="contact-link-section">
47+
{% for contact in site.data.resume.about.contacts %}
48+
<div>
49+
<a class="contact-section-link" title="{{ contact.label }}"
50+
href="{{ contact.url }}"><span class='green'>{{
51+
contact.label }}</span> <span class="gold">{{
52+
contact.icon }} {{ contact.text }}</span></a>
53+
</div>
54+
{% endfor %}
55+
</div>
56+
</div>
57+
</div>
58+
59+
<div class="description">
60+
<div style='margin-top:0;' class="floating-block">
61+
<p>
62+
<span class="green">who is theo?</span>
63+
</p>
64+
{{ site.data.resume.about.whois | markdownify }}
65+
</div>
66+
<div class="floating-block">
67+
<p>
68+
<span class="green">what does he want to do?</span>
69+
</p>
70+
{{ site.data.resume.about.mission | markdownify }}
71+
</div>
72+
</div>
73+
</div>
74+
{% elsif key == "skills" %}
75+
<div class="skills floating-block">
76+
{% for skill in site.data.resume[key] %}
77+
{% assign name = skill[0] %}
78+
{% assign values = skill[1] %}
79+
<p class="comment-grey">// {{ site.data.resume.data.comments[key][name] }}</p>
80+
<p>
81+
<span class="blue">{{ name }}</span><span class="white">&nbsp=&nbsp</span><span
82+
class="white">[</span>
83+
{%- for value in values -%}
84+
<span class="green">"{{ value }}"{% unless forloop.last %}<span class='white'>,</span> {%
85+
endunless %}</span>
86+
{%- endfor -%}
87+
<span class="white">]</span>
88+
</p>
89+
{% unless forloop.last %}<p>&nbsp;</p>{% endunless %}
90+
{% endfor %}
91+
</div>
92+
{% elsif key == "projects" %}
93+
<div class="column-container">
94+
<div class="column">
95+
{% for project_name in site.data.resume.data.section-item-ordering.web.projects %}
96+
{% for project in site.data.resume[key] %}
97+
{% if project.name == project_name %}
98+
<div class="project floating-block">
99+
<div class="projects-header">
100+
<span class="green">{{ project.icon }} {{ project.name }}</span>
101+
</div>
102+
<div class="projects-body">
103+
{% for line in project.description %}
104+
{{ line | markdownify }}
105+
{% endfor %}
106+
<ul>
107+
{% for link in project.links %}
108+
<li><a class="gold" href="{{ link.url }}">{{ link.icon }} {{ link.text }}</a></li>
109+
{% endfor %}
110+
</ul>
111+
</div>
112+
</div>
113+
{% endif %}
114+
{% endfor %}
115+
{% endfor %}
116+
</div>
117+
</div>
118+
{% elsif key == "work" %}
119+
<div class="work-experience-container">
120+
{%- for job in site.data.resume[key] -%}
121+
<div class="work-experience-entry floating-block">
122+
<div class="work-experience-header">
123+
<span class="green">{{- job.position -}}</span><span class="white">,&nbsp;</span><span><a
124+
href="{{ job.url }}" class="gold">{{- job.organization -}}</a>&nbsp;</span><span
125+
class="comment-grey">// {{ job.start | date: "%b %Y" }} - {% if job.end %} {{ job.end
126+
|
127+
date: "%b, %Y" }} {% else %} present {% endif %}</span>
128+
</div>
129+
<div class="work-experience-body">
130+
{%- for highlight in job.highlights -%}
131+
<p class="gold">{{ highlight.icon | append: " " | append: highlight.label }}</p>
132+
{{ highlight.text | markdownify }}
133+
{%- endfor -%}
134+
</div>
135+
</div>
136+
{%- endfor -%}
137+
</div>
138+
{% elsif key == "volunteer" %}
139+
<div class="volunteer-container floating-block">
140+
<span class="comment-grey">// usually contributing fixes to small issues I encounter</span>
141+
<ul>
142+
{%- for contribution in site.data.resume[key] -%}
143+
<li><a class="gold" href="{{ contribution.links[0].url }}">{{ contribution.icon }} {{ contribution.name }}</a></li>
144+
{%- endfor -%}
145+
</ul>
146+
</div>
147+
<!-- <div class="column-container">
148+
<div class="column">
149+
{% for contribution in site.data.resume[key] %}
150+
<div class="open-source-item floating-block">
151+
<div class="open-source-header">
152+
<span class="green">{{ contribution.icon }} {{ contribution.name }}</span>
153+
</div>
154+
<div class="open-source-body">
155+
{% for line in contribution.description %}
156+
{{ line | markdownify }}
157+
{% endfor %}
158+
<p>
159+
{% for link in contribution.links %}
160+
<span><a class="gold" href="{{ link.url }}">{{ link.icon }} {{ link.text }}</a></span>
161+
{% endfor %}
162+
</p>
163+
</div>
164+
</div>
165+
{% endfor %}
166+
</div>
167+
</div> -->
168+
{% endif %}
169+
<div class="section-separator comment-grey">
170+
<span>/*&nbsp;</span>
171+
<span
172+
class="section-separator-lines">-------------------------------------------------------------------------------</span>
173+
<span>&nbsp;*/</span>
174+
</div>
175+
{% endunless %}
176+
{% endfor %}
177+
</div>
178+
</div>
179+
<!-- Cloudflare Web Analytics -->
180+
<script defer src='https://static.cloudflareinsights.com/beacon.min.js'
181+
data-cf-beacon='{"token": "5be6f51b79624ee984b67f5bd09f6f30"}'></script>
182+
<!-- End Cloudflare Web Analytics -->
183+
184+
<script>
185+
186+
function handleURLSearchParams() {
187+
188+
var query = window.location.search;
189+
let format = "resume.html"
190+
191+
if (query) {
192+
const params = new URLSearchParams(query);
193+
format = params.get('format');
194+
}
195+
196+
var element = document.getElementById(format);
197+
if (element) {
198+
element.remove();
199+
}
200+
}
201+
202+
window.addEventListener('load', handleURLSearchParams);
203+
</script>
204+
</body>
205+
206+
</html>

_sass/home.scss

+29-27
Original file line numberDiff line numberDiff line change
@@ -15,41 +15,43 @@ $font-family-primary: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono,
1515
margin-right: -0.05em;}
1616
}
1717

18+
@font-face {
19+
font-family: "Roboto";
20+
src: url("assets/fonts/Roboto/Roboto-Medium.ttf");
21+
}
22+
23+
@font-face {
24+
font-family: "RobotoMono";
25+
src: url("assets/fonts/RobotoMono/RobotoMono-pwl.ttf")
26+
}
27+
1828
.page-container {
1929
background-color:#252525 !important;
2030
max-width: initial !important;
2131
padding: initial !important;
2232
display: flex;
2333
justify-content: center;
24-
overflow: hidden;
2534
}
2635

27-
#terminal {
28-
width: 100%;
29-
text-transform: initial;
30-
font-size: 15px;
31-
32-
> .jsnix-container {
33-
display: flex;
34-
justify-content: center;
35-
}
36+
.terminal-input {
37+
display: flex;
38+
flex-direction: column;
39+
border: none;
40+
background: #252525;
41+
color: #fff;
42+
outline: none;
43+
caret-color: transparent;
44+
flex-grow: 1;
45+
padding: 2rem 2rem;
46+
font-weight: normal;
47+
font-family: $font-family-primary;
48+
white-space: pre-wrap;
49+
overflow-y: auto;
50+
overflow-x: hidden;
51+
max-width: 80ch;
52+
font-size: 1rem;
3653
}
3754

38-
body {
39-
height: 100vh;
55+
#terminal > .input-row {
56+
display: flex;
4057
}
41-
42-
:root {
43-
line-height: 1.5;
44-
font-weight: 400;
45-
font-size: 15px;
46-
47-
color-scheme: light dark;
48-
color: rgba(255, 255, 255, 0.87);
49-
background-color: #242424;
50-
51-
font-synthesis: none;
52-
text-rendering: optimizeLegibility;
53-
-webkit-font-smoothing: antialiased;
54-
-moz-osx-font-smoothing: grayscale;
55-
}

0 commit comments

Comments
 (0)