Skip to content

Commit f4153cb

Browse files
committed
merge jekyll updates
2 parents 324904d + b2cd182 commit f4153cb

Some content is hidden

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

51 files changed

+26468
-5957
lines changed

.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"plugins": ["@babel/syntax-dynamic-import"],
3+
"presets": ["@babel/preset-react"]
4+
}

.github/workflows/jekyll.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build and deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- prod
7+
8+
jobs:
9+
github-pages:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: ruby/setup-ruby@v1
14+
with:
15+
ruby-version: 3.1
16+
bundler-cache: true
17+
- name: Setup Node
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: '18'
21+
- run: npm install
22+
- name: Build site
23+
uses: limjh16/jekyll-action-ts@v2
24+
with:
25+
enable_cache: true
26+
- name: Deploy
27+
uses: peaceiris/actions-gh-pages@v3
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_dir: ./_site

.gitignore

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
1-
.cache/
2-
dist/
3-
.parcel-cache/
4-
node_modules
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
.jekyll-cache
15+
.bundle
16+
_site
17+
18+
# Editor directories and files
19+
.vscode/*
20+
!.vscode/extensions.json
21+
.idea
22+
.DS_Store
23+
*.suo
24+
*.ntvs*
25+
*.njsproj
26+
*.sln
27+
*.sw?

Gemfile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
source "https://rubygems.org"
2+
# Hello! This is where you manage which Jekyll version is used to run.
3+
# When you want to use a different version, change it below, save the
4+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5+
#
6+
# bundle exec jekyll serve
7+
#
8+
# This will help ensure the proper Jekyll version is running.
9+
# Happy Jekylling!
10+
gem "jekyll", "~> 4.3.2"
11+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
12+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
13+
# gem "github-pages", group: :jekyll_plugins
14+
# If you have any plugins, put them here!
15+
group :jekyll_plugins do
16+
gem "jekyll-feed", "~> 0.12"
17+
gem 'jekyll-postcss'
18+
end
19+
20+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
21+
# and associated library.
22+
platforms :mingw, :x64_mingw, :mswin, :jruby do
23+
gem "tzinfo", ">= 1", "< 3"
24+
gem "tzinfo-data"
25+
end
26+
27+
# Performance-booster for watching directories on Windows
28+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
29+
30+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
31+
# do not have a Java counterpart.
32+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

Gemfile.lock

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.1)
5+
public_suffix (>= 2.0.2, < 6.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.2.2)
8+
em-websocket (0.5.3)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0)
11+
eventmachine (1.2.7)
12+
ffi (1.15.5)
13+
forwardable-extended (2.6.0)
14+
google-protobuf (3.22.0-arm64-darwin)
15+
google-protobuf (3.22.0-x86_64-linux)
16+
http_parser.rb (0.8.0)
17+
i18n (1.12.0)
18+
concurrent-ruby (~> 1.0)
19+
jekyll (4.3.2)
20+
addressable (~> 2.4)
21+
colorator (~> 1.0)
22+
em-websocket (~> 0.5)
23+
i18n (~> 1.0)
24+
jekyll-sass-converter (>= 2.0, < 4.0)
25+
jekyll-watch (~> 2.0)
26+
kramdown (~> 2.3, >= 2.3.1)
27+
kramdown-parser-gfm (~> 1.0)
28+
liquid (~> 4.0)
29+
mercenary (>= 0.3.6, < 0.5)
30+
pathutil (~> 0.9)
31+
rouge (>= 3.0, < 5.0)
32+
safe_yaml (~> 1.0)
33+
terminal-table (>= 1.8, < 4.0)
34+
webrick (~> 1.7)
35+
jekyll-feed (0.17.0)
36+
jekyll (>= 3.7, < 5.0)
37+
jekyll-postcss (0.5.0)
38+
jekyll-sass-converter (3.0.0)
39+
sass-embedded (~> 1.54)
40+
jekyll-watch (2.2.1)
41+
listen (~> 3.0)
42+
kramdown (2.4.0)
43+
rexml
44+
kramdown-parser-gfm (1.1.0)
45+
kramdown (~> 2.0)
46+
liquid (4.0.4)
47+
listen (3.8.0)
48+
rb-fsevent (~> 0.10, >= 0.10.3)
49+
rb-inotify (~> 0.9, >= 0.9.10)
50+
mercenary (0.4.0)
51+
pathutil (0.16.2)
52+
forwardable-extended (~> 2.6)
53+
public_suffix (5.0.1)
54+
rb-fsevent (0.11.2)
55+
rb-inotify (0.10.1)
56+
ffi (~> 1.0)
57+
rexml (3.2.5)
58+
rouge (4.1.0)
59+
safe_yaml (1.0.5)
60+
sass-embedded (1.58.3-arm64-darwin)
61+
google-protobuf (~> 3.21)
62+
sass-embedded (1.58.3-x86_64-linux-gnu)
63+
google-protobuf (~> 3.21)
64+
terminal-table (3.0.2)
65+
unicode-display_width (>= 1.1.1, < 3)
66+
unicode-display_width (2.4.2)
67+
webrick (1.8.1)
68+
69+
PLATFORMS
70+
arm64-darwin-22
71+
x86_64-linux
72+
73+
DEPENDENCIES
74+
http_parser.rb (~> 0.6.0)
75+
jekyll (~> 4.3.2)
76+
jekyll-feed (~> 0.12)
77+
jekyll-postcss
78+
tzinfo (>= 1, < 3)
79+
tzinfo-data
80+
wdm (~> 0.1.1)
81+
82+
BUNDLED WITH
83+
2.4.7

_config.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
#
11+
# If you need help with YAML syntax, here are some quick references for you:
12+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13+
# https://learnxinyminutes.com/docs/yaml/
14+
#
15+
# Site settings
16+
# These are used to personalize your new site. If you look in the HTML files,
17+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18+
# You can create any custom variable you would like, and they will be accessible
19+
# in the templates via {{ site.myvariable }}.
20+
21+
title: UTD Budget Breakdown
22+
23+
description: >- # this means to ignore newlines until "baseurl:"
24+
Learn how your tuition funds university departments and the services
25+
that you use, and see clear, accessible information on the university's finances.
26+
baseurl: "/sg-budget-breakdown" # the subpath of your site, e.g. /blog
27+
url: "https://utdal.github.io" # the base hostname & protocol for your site, e.g. http://example.com
28+
29+
# Build settings
30+
markdown: kramdown
31+
plugins:
32+
- jekyll-feed
33+
34+
collections:
35+
pages:
36+
output: true
37+
permalink: /:name
38+
39+
# Exclude from processing.
40+
# The following items will not be processed, by default.
41+
# Any item listed under the `exclude:` key here will be automatically added to
42+
# the internal "default list".
43+
#
44+
# Excluded items can be processed by explicitly listing the directories or
45+
# their entries' file path in the `include:` list.
46+
#
47+
exclude:
48+
- Gemfile
49+
- Gemfile.lock
50+
- node_modules/
51+
- postcss.config.js
52+
- tailwind.config.js
53+
# - .sass-cache/
54+
# - .jekyll-cache/
55+
# - gemfiles/
56+
# - vendor/bundle/
57+
# - vendor/cache/
58+
# - vendor/gems/
59+
# - vendor/ruby/

_includes/footer.html

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<footer class="py-8 px-4 lg:px-8 bg-secondary text-white">
2+
<div class="max-w-6xl mx-auto space-y-8 lg:grid lg:grid-cols-4 lg:space-y-0">
3+
<div class="lg:col-span-2">
4+
<div class="text-xl font-medium">A project by the UT Dallas Student Government</div>
5+
<div class="text-2xl font-semibold"></div>
6+
<div>
7+
Student Union 2nd Floor, <a class="underline" href="https://map.concept3d.com/?id=1772#!m/545136?ce/52325?ct/42147?mc/32.986385,-96.74868?z/19?lvl/2">SU 2.401</a>
8+
<div>
9+
Monday-Friday, 8:30am - 5:00pm
10+
</div>
11+
<div>
12+
972-883-2284
13+
</div>
14+
<a class="underline" href="mailto:[email protected]?subject=UT Dallas Budget Breakdown">
15+
16+
</a>
17+
</div>
18+
</div>
19+
<div>
20+
<div class="text-xl font-medium">University Links</div>
21+
<ul>
22+
<li class="pt-1 text-lg">
23+
<a class="underline" href="https://bursar.utdallas.edu/">
24+
Bursar Office
25+
</a>
26+
</li>
27+
<li class="pt-1 text-lg">
28+
<a class="underline" href="https://finance.utdallas.edu/">
29+
Office of Budget and Finance
30+
</a>
31+
</li>
32+
</div>
33+
<div>
34+
<div class="text-xl font-medium">Other Useful Links</div>
35+
<ul>
36+
<li class="pt-1 text-lg">
37+
See our website at
38+
<a class="underline" href="https://sg.utdallas.edu">
39+
sg.utdallas.edu
40+
</a>
41+
</li>
42+
<li class="pt-1 text-lg">
43+
See the project on
44+
<a class="underline" href="https://github.com/utdal/sg-budget-breakdown">
45+
GitHub
46+
</a>
47+
</li>
48+
<li class="pt-1 text-lg">
49+
Connect with us on
50+
<a class="underline" href="https://instagram.com/utdsg">
51+
Instagram
52+
</a>
53+
</li>
54+
</ul>
55+
</div>
56+
</div>
57+
</footer>

_includes/head.html

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<head>
2+
<meta charset="utf-8" />
3+
<meta http-equiv="x-ua-compatible" content="ie=edge" />
4+
<meta name="viewport" content="width=device-width, initial-scale=1" />
5+
6+
<title>{{ page.title }} - {{ site.title }}</title>
7+
<link rel="icon" href="{{ '/assets/favicon.ico' | relative_url }}"/>
8+
<meta property="og:site_name" content="UTD Student Government" />
9+
<meta property="og:title" content="University Budget Breakdown" />
10+
<meta property="og:type" content="article" />
11+
<meta property="article:published_time" content="article" />
12+
<meta property="article:modified_time" content="article" />
13+
<meta property="article:author" content="UT Dallas Student Government" />
14+
15+
<meta
16+
property="og:description"
17+
content="{{ site.description }}"
18+
/>
19+
<meta
20+
property="og:url"
21+
content="https://utdal.github.io/sg-budget-breakdown"
22+
/>
23+
<meta property="og:image" content="{{ '/assets/img/sg-logo.jpg' | relative_url }}" />
24+
25+
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}" />
26+
27+
{% if page.id == '/details' %}
28+
<script src="https://cdn.amcharts.com/lib/5/index.js"></script>
29+
<script src="https://cdn.amcharts.com/lib/5/xy.js"></script>
30+
<script src="https://cdn.amcharts.com/lib/5/flow.js"></script>
31+
<script src="https://cdn.amcharts.com/lib/5/hierarchy.js"></script>
32+
<script src="https://cdn.amcharts.com/lib/5/percent.js"></script>
33+
<script src="https://cdn.amcharts.com/lib/5/themes/Animated.js"></script>
34+
<script type="module" src="{{ '/assets/js/data.js' | relative_url }}"></script>
35+
{% endif %}
36+
<script src="{{ '/assets/js/main.js' | relative_url }}"></script>
37+
</head>

_includes/navbar.html

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<nav class="sticky top-0 flex flex-wrap bg-slate-700 text-white">
2+
<div class="w-full md:flex-1 md:w-auto flex justify-between">
3+
<a href="{{ '/#' | relative_url }}" class="flex-1 p-4 hover:bg-slate-900 focus:bg-slate-900 font-bold text-lg transition">
4+
UTD Budget Breakdown
5+
</a>
6+
<div class="p-2">
7+
<button type="button" class="block md:hidden p-2 rounded-lg hover:bg-slate-900 focus:bg-slate-900 focus:outline-none focus:ring-2 focus:ring-gray-200" id="navbar-open" aria-controls="navbar-open" aria-expanded="false" onClick="open_nav()">
8+
<span class="sr-only">Open menu</span>
9+
<svg class="w-6 h-6" aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd"></path></svg>
10+
</button>
11+
<button type="button" class="hidden p-2 rounded-lg hover:bg-slate-900 focus:bg-slate-900 focus:outline-none focus:ring-2 focus:ring-gray-200 text-[2rem]" id="navbar-close" aria-controls="navbar-close" aria-expanded="false" onClick="close_nav()">
12+
<span class="sr-only">Close menu</span>
13+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6" aria-hidden="false">
14+
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
15+
</svg>
16+
</button>
17+
</div>
18+
</div>
19+
<div class="hidden md:block p-4 pt-0 md:p-4" id="navbar-nav">
20+
<ul class="flex flex-col md:flex-row">
21+
<li>
22+
<a href="{{ '/#findings' | relative_url }}" class="{% if page.id == "/" %} active {% endif %}m-2 px-3 py-2 hover:bg-slate-900 focus:bg-slate-900 rounded-md font-bold text-lg transition">
23+
Findings
24+
</a>
25+
</li>
26+
<li>
27+
<a href="{{ '/#future' | relative_url }}" class="{% if page.id == "/" %} active {% endif %}m-2 px-3 py-2 hover:bg-slate-900 focus:bg-slate-900 rounded-md font-bold text-lg transition" >
28+
Future
29+
</a>
30+
</li>
31+
<li>
32+
<a href="{{ '/team' | relative_url }}" class="{% if page.id == "/team" %} active {% endif %}m-2 px-3 py-2 hover:bg-slate-900 focus:bg-slate-900 rounded-md font-bold text-lg transition" >
33+
People
34+
</a>
35+
</li>
36+
<li>
37+
<a href="{{ '/faq' | relative_url }}" class="{% if page.id == "/faq" %} active {% endif %}m-2 px-3 py-2 hover:bg-slate-900 focus:bg-slate-900 rounded-md font-bold text-lg transition" >
38+
FAQ
39+
</a>
40+
</li>
41+
<li>
42+
<a href="{{ '/search' | relative_url }}" class="{% if page.id == "/faq" %} active {% endif %}m-2 px-3 py-2 hover:bg-slate-900 focus:bg-slate-900 rounded-md font-bold text-lg transition" >
43+
Search
44+
</a>
45+
</li>
46+
<li>
47+
<a href="{{ '/details' | relative_url }}" class="{% if page.id == "/details" %} active {% endif %}m-2 px-3 py-2 hover:bg-slate-900 focus:bg-slate-900 rounded-md font-bold text-lg transition" >
48+
Full Breakdown
49+
</a>
50+
</li>
51+
</ul>
52+
</div>
53+
</nav>

0 commit comments

Comments
 (0)