Skip to content

Commit

Permalink
Huge overhaul. Looks much better.
Browse files Browse the repository at this point in the history
  • Loading branch information
RS-Coop committed Jan 1, 2024
1 parent 9699e0f commit 77514e3
Show file tree
Hide file tree
Showing 35 changed files with 532 additions and 368 deletions.
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GEM
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.8.5)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
base64 (0.2.0)
coffee-script (2.4.1)
Expand All @@ -26,7 +26,7 @@ GEM
ffi (>= 1.15.0)
eventmachine (1.2.7)
execjs (2.9.1)
faraday (2.7.12)
faraday (2.8.1)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
Expand Down Expand Up @@ -213,7 +213,7 @@ GEM
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.20.0)
nokogiri (1.15.5-x86_64-linux)
nokogiri (1.16.0-x86_64-linux)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)
Expand Down Expand Up @@ -247,7 +247,7 @@ GEM
ethon (>= 0.9.0)
tzinfo (1.2.11)
thread_safe (~> 0.1)
tzinfo-data (1.2023.3)
tzinfo-data (1.2023.4)
tzinfo (>= 1.0.0)
unf (0.1.4)
unf_ext
Expand All @@ -272,4 +272,4 @@ DEPENDENCIES
webrick (~> 1.7)

BUNDLED WITH
2.4.22
2.5.3
23 changes: 10 additions & 13 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,29 @@ markdown: kramdown
defaults:
- scope:
path: ""
type: "posts"
type: "papers"
values:
layout: "post"
featured: false
layout: "paper"
- scope:
path: ""
type: "research-projects"
type: "software"
values:
layout: "project"
noteworthy: false
layout:
- scope:
path: ""
type: "personal-projects"
type: "posts"
values:
layout: "project"
noteworthy: false
layout: "post"

collections_dir: collections

collections:
research-projects:
papers:
output: true
permalink: /projects/research/:slug
personal-projects:
permalink: /research/papers/:slug
software:
output: true
permalink: /projects/personal/:slug
permalink: /research/software/:slug

exclude:
- .sass-cache/
Expand Down
2 changes: 1 addition & 1 deletion _data/globals.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- release: False
- release: true
8 changes: 4 additions & 4 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Home
link: /
- name: Projects
link: /projects/
- name: Blog
link: /blog/
- name: Research
link: /research/
- name: News
link: /news/
24 changes: 24 additions & 0 deletions _includes/citation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<button type="button" class="paper-link-button" data-toggle="modal" data-target="#citation">
Cite
</button>

<!-- Modal -->
<div class="modal fade" id="citation" tabindex="-1" role="dialog" >
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Citation</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
{{ page.citation }}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary">Copy</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
25 changes: 0 additions & 25 deletions _includes/construction.html

This file was deleted.

2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html lang="en">
<head>
<meta charset="utf-8">
<script src="https://kit.fontawesome.com/0f1e3d1a40.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@500&display=swap">
<link rel="stylesheet" href="/assets/css/styles.css">
Expand Down
9 changes: 5 additions & 4 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{% if site.data.release == False %}
{% if site.data.release == false %}
{% include construction.html %}
{% endif %}
<header>
<nav id="nav-main">
<ul>
{% for item in site.data.navigation %}
<li {% if page.url == item.link %}class="current"{% endif %}><a href="{{ item.link }}">{{ item.name }}</a></li>
{% endfor %}
<li>Cooper Simpson</li>
{% for item in site.data.navigation %}
<li {% if page.url == item.link %}class="current"{% endif %}><a href="{{ item.link }}">{{ item.name }}</a></li>
{% endfor %}
</ul>
</nav>
</header>
24 changes: 24 additions & 0 deletions _includes/paper-list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<div class="paper-list">
<ul>
{% for paper in site.papers reversed %}
<li>
<div class="paper-details">
<h3>
<a href="{{ paper.url }}">{{ paper.title }}</a>
</h3>
<ul>
<li>
{{ paper.authors }}
</li>
<li>
({{ paper.year }}).
</li>
<li>
{{ paper.type }}
</li>
</ul>
</div>
</li>
{% endfor %}
</ul>
</div>
33 changes: 0 additions & 33 deletions _includes/project-grids.html

This file was deleted.

15 changes: 15 additions & 0 deletions _includes/software-grids.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<div class="software-grid" >
{% for item in site.software reversed %}
<div class="project-tile" onclick="redirect('{{ item.code }}')">
<div class="tile-inner">
<div class="tile-front" style="--image-path: url({{ item.image }})">
<h3>{{ item.title }}</h3>
</div>
<div class="tile-back">
<p>{{ item.summary }}</p>
<a>GitHub</a>
</div>
</div>
</div>
{% endfor %}
</div>
55 changes: 55 additions & 0 deletions _layouts/paper.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{% include head.html %}
<body>
{% include header.html %}
<section id="home-intro" class="intro">
<div class="paper-title">
<h2>{{ page.title }}</h2>
<ul>
<li>
{{ page.authors }}
</li>
<li>
({{ page.year }}).
</li>
<li>
{{ page.type }}
</li>
</ul>
</section>

<div class="paper-content">

<div class="paper-links">
<ul>
<li>
<a href="{{ page.pdf }}">
<button class="paper-link-button">PDF</button>
</a>
</li>
{% if page.arxiv %}
<li>
<a href="{{ page.arxiv }}">
<button class="paper-link-button">arXiv</button>
</a>
</li>
{% endif %}
{% if page.code %}
<li>
<a href="{{ page.code }}">
<button class="paper-link-button">Code</button>
</a>
</li>
{% endif %}
<li>
{% include citation.html %}
</li>
</ul>
</div>

{{ content }}

</div>

{% include footer.html %}
</body>
</html>
26 changes: 0 additions & 26 deletions _layouts/project.html

This file was deleted.

13 changes: 0 additions & 13 deletions _sass/components/blog.scss

This file was deleted.

Loading

0 comments on commit 77514e3

Please sign in to comment.