Skip to content

Commit d215a75

Browse files
RamZallandevinmatte
authored andcommitted
Pubsite Rewrite 2019 -- Jekyll this time! (#206)
* Transfer code from CSHPublicSiteV2 repo * Remove local CSH Boostrap * Update footer with social media links + how to apply * Update sponsor image order, display, and alt text * Update and add alumni company logos, tweak descriptive text * Update eboard member names, update some images * Fix nav condensing, update welcome back photo, fix some wording * Add donation link to nav, update camping & holiday dinner pics * Tweak footer, put nav in .contaner, remove accidental file * Remove unused eboard photo js * Update eboard photos * Add Blog page, a few posts, and unique coloring for posts w/ no images * Update tour slideshow images * Update formatting, add Recent Posts section to homepage * Update footer and nav content, tweak slider styles * Update copy, replace some placeholder images * Position footer absolutely at bottom of content * Update copy, add images * Update README, add GPLv3.0 license * Update Jenkinsfile and config for staging URL * Update footer spacing * Add meta tags, remove placeholders, add links to Membership * Fix nav links, remove unused directory * Add WEBP files, functionality for many large images * Add more alumni companies to list, update old logos * Add page detailing the introductory process * Tweak various styles * Update nav, accessbility, copy * Remove old files * Update copy, html formatting * Update arcade machine photos * Update image for Collin's blog post * Add FAQ page * Move all images to S3 * Set max-height on homepage slider * Bold Computer Science House in homepage about text * Tweak slider CSS * Move Tour page to About section * Adding Firebase CI (#1) * Fix minor readme typo
1 parent 7324415 commit d215a75

File tree

277 files changed

+3503
-19147
lines changed

Some content is hidden

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

277 files changed

+3503
-19147
lines changed

.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "csh-public-site"
4+
}
5+
}

.gitignore

Lines changed: 8 additions & 170 deletions
Original file line numberDiff line numberDiff line change
@@ -1,170 +1,8 @@
1-
#################
2-
## Eclipse
3-
#################
4-
5-
*.pydevproject
6-
.project
7-
.metadata
8-
bin/
9-
tmp/
10-
*.tmp
11-
*.bak
12-
*.swp
13-
*~.nib
14-
local.properties
15-
.classpath
16-
.settings/
17-
.loadpath
18-
resources/php/key.php
19-
20-
# External tool builders
21-
.externalToolBuilders/
22-
23-
# Locally stored "Eclipse launch configurations"
24-
*.launch
25-
26-
# CDT-specific
27-
.cproject
28-
29-
# PDT-specific
30-
.buildpath
31-
32-
potential_photos/
33-
34-
#################
35-
## Jetbrains IDEs
36-
#################
37-
38-
.idea
39-
40-
#################
41-
## Visual Studio
42-
#################
43-
44-
## Ignore Visual Studio temporary files, build results, and
45-
## files generated by popular Visual Studio add-ons.
46-
47-
# User-specific files
48-
*.suo
49-
*.user
50-
*.sln.docstates
51-
52-
# Build results
53-
[Dd]ebug/
54-
[Rr]elease/
55-
*_i.c
56-
*_p.c
57-
*.ilk
58-
*.meta
59-
*.obj
60-
*.pch
61-
*.pdb
62-
*.pgc
63-
*.pgd
64-
*.rsp
65-
*.sbr
66-
*.tlb
67-
*.tli
68-
*.tlh
69-
*.vspscc
70-
.builds
71-
*.dotCover
72-
73-
## TODO: If you have NuGet Package Restore enabled, uncomment this
74-
#packages/
75-
76-
# Visual C++ cache files
77-
ipch/
78-
*.aps
79-
*.ncb
80-
*.opensdf
81-
*.sdf
82-
83-
# Visual Studio profiler
84-
*.psess
85-
*.vsp
86-
87-
# ReSharper is a .NET coding add-in
88-
_ReSharper*
89-
90-
# Installshield output folder
91-
[Ee]xpress
92-
93-
# DocProject is a documentation generator add-in
94-
DocProject/buildhelp/
95-
DocProject/Help/*.HxT
96-
DocProject/Help/*.HxC
97-
DocProject/Help/*.hhc
98-
DocProject/Help/*.hhk
99-
DocProject/Help/*.hhp
100-
DocProject/Help/Html2
101-
DocProject/Help/html
102-
103-
# Click-Once directory
104-
publish
105-
106-
# Others
107-
[Bb]in
108-
[Oo]bj
109-
sql
110-
TestResults
111-
*.Cache
112-
ClientBin
113-
stylecop.*
114-
~$*
115-
*.dbmdl
116-
Generated_Code #added for RIA/Silverlight projects
117-
118-
# Backup & report files from converting an old project file to a newer
119-
# Visual Studio version. Backup files are not needed, because we have git ;-)
120-
_UpgradeReport_Files/
121-
Backup*/
122-
UpgradeLog*.XML
123-
124-
125-
126-
############
127-
## Windows
128-
############
129-
130-
# Windows image file caches
131-
Thumbs.db
132-
133-
# Folder config file
134-
Desktop.ini
135-
136-
137-
#############
138-
## Python
139-
#############
140-
141-
*.py[co]
142-
143-
# Packages
144-
*.egg
145-
*.egg-info
146-
dist
147-
build
148-
eggs
149-
parts
150-
bin
151-
var
152-
sdist
153-
develop-eggs
154-
.installed.cfg
155-
156-
# Installer logs
157-
pip-log.txt
158-
159-
# Unit test / coverage reports
160-
.coverage
161-
.tox
162-
163-
#Translations
164-
*.mo
165-
166-
#Mr Developer
167-
.mr.developer.cfg
168-
169-
# Mac crap
170-
.DS_Store
1+
vendor/
2+
_site
3+
.sass-cache
4+
.jekyll-metadata
5+
npm-debug.log
6+
.bundle/
7+
node_modules/
8+
.firebase/

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: node_js
2+
node_js:
3+
- "12.6"
4+
before_install:
5+
- rvm install 2.6.3
6+
install:
7+
- gem install bundler
8+
- npm install
9+
before_script:
10+
- bundle install
11+
- npm install -g firebase-tools
12+
script:
13+
- bundle exec jekyll build
14+
after_success:
15+
- firebase deploy --token $FIREBASE_TOKEN --non-interactive
16+
- npm run lh --perf=85 --a11y=85 --bp=85 --seo=85 https://csh-public-site.web.app

404.html

100755100644
Lines changed: 12 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,14 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<title>CSH | 404</title>
5-
<include file="resources/templates/_header.html"></include>
6-
</head>
7-
<body>
8-
<include file="resources/templates/_navbar.html"></include>
9-
<!-- Main jumbotron for a primary marketing message or call to action -->
10-
<div class="jumbotron csh-page-header">
11-
<div class="container">
12-
<div class="row">
13-
<div class="col-xs-12 col-sm-12 col-md-12 vcenter">
14-
<div class="csh-header-text">
15-
Page Not Found
16-
</div>
17-
</div>
18-
</div>
1+
---
2+
layout: page
3+
title: "Error 404"
4+
---
5+
<div class="gray-wrapper">
6+
<div class="container spaced">
7+
<div class="row">
8+
<div class="col">
9+
<h2>Page not found :(</h2>
10+
<p>The requested page could not be found.</p>
1911
</div>
2012
</div>
21-
<div class="container csh-body">
22-
<!-- Insert Page Content In this Area -->
23-
<div class="row">
24-
<div class="col-xs-12 col-sm-6 col-md-6 vcenter">
25-
<div class="embed-responsive embed-responsive-16by9 csh-404-video">
26-
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/t3otBjVZzT0?autoplay=1" frameborder="0" allowfullscreen></iframe>
27-
</div>
28-
</div><!----><div class="col-xs-12 col-sm-6 col-md-6 vcenter">
29-
<img src="/resources/images/jr-purple.svg" class="img-responsive" style="margin:auto">
30-
<br>
31-
</div>
32-
</div>
33-
<!-- End Page Content Here -->
34-
</div>
35-
<include file="resources/templates/_footer.html"></include>
36-
<!-- Bootstrap core JavaScript
37-
================================================== -->
38-
<include file="resources/templates/_coreJS.html"></include>
39-
</body>
40-
</html>
13+
</div>
14+
</div>

Gemfile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
source "https://rubygems.org"
2+
3+
# Hello! This is where you manage which Jekyll version is used to run.
4+
# When you want to use a different version, change it below, save the
5+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
6+
#
7+
# bundle exec jekyll serve
8+
#
9+
# This will help ensure the proper Jekyll version is running.
10+
# Happy Jekylling!
11+
gem "jekyll", "~> 3.8.3"
12+
13+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
14+
gem "minima", "~> 2.0"
15+
16+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
17+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
18+
# gem "github-pages", group: :jekyll_plugins
19+
20+
# If you have any plugins, put them here!
21+
group :jekyll_plugins do
22+
gem "jekyll-feed", "~> 0.6"
23+
gem "liquid-md5"
24+
gem "jekyll-regex-replace"
25+
end
26+
27+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
28+
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
29+
30+
# Performance-booster for watching directories on Windows
31+
gem "wdm", "~> 0.1.0" if Gem.win_platform?
32+
33+
34+
gem "rake", "~> 12.3"

Gemfile.lock

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.5.2)
5+
public_suffix (>= 2.0.2, < 4.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.0.5)
8+
em-websocket (0.5.1)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
12+
ffi (1.9.25)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.6.0)
15+
i18n (0.9.5)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (3.8.3)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 0.7)
22+
jekyll-sass-converter (~> 1.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 1.14)
25+
liquid (~> 4.0)
26+
mercenary (~> 0.3.3)
27+
pathutil (~> 0.9)
28+
rouge (>= 1.7, < 4)
29+
safe_yaml (~> 1.0)
30+
jekyll-feed (0.10.0)
31+
jekyll (~> 3.3)
32+
jekyll-regex-replace (1.1.0)
33+
jekyll-sass-converter (1.5.2)
34+
sass (~> 3.4)
35+
jekyll-seo-tag (2.5.0)
36+
jekyll (~> 3.3)
37+
jekyll-watch (2.0.0)
38+
listen (~> 3.0)
39+
kramdown (1.17.0)
40+
liquid (4.0.0)
41+
liquid-md5 (0.0.3)
42+
liquid (>= 2.5, < 5.0)
43+
listen (3.1.5)
44+
rb-fsevent (~> 0.9, >= 0.9.4)
45+
rb-inotify (~> 0.9, >= 0.9.7)
46+
ruby_dep (~> 1.2)
47+
mercenary (0.3.6)
48+
minima (2.5.0)
49+
jekyll (~> 3.5)
50+
jekyll-feed (~> 0.9)
51+
jekyll-seo-tag (~> 2.1)
52+
pathutil (0.16.1)
53+
forwardable-extended (~> 2.6)
54+
public_suffix (3.0.2)
55+
rake (12.3.2)
56+
rb-fsevent (0.10.3)
57+
rb-inotify (0.9.10)
58+
ffi (>= 0.5.0, < 2)
59+
rouge (3.1.1)
60+
ruby_dep (1.5.0)
61+
safe_yaml (1.0.4)
62+
sass (3.5.7)
63+
sass-listen (~> 4.0.0)
64+
sass-listen (4.0.0)
65+
rb-fsevent (~> 0.9, >= 0.9.4)
66+
rb-inotify (~> 0.9, >= 0.9.7)
67+
68+
PLATFORMS
69+
ruby
70+
71+
DEPENDENCIES
72+
jekyll (~> 3.8.3)
73+
jekyll-feed (~> 0.6)
74+
jekyll-regex-replace
75+
liquid-md5
76+
minima (~> 2.0)
77+
rake (~> 12.3)
78+
tzinfo-data
79+
80+
BUNDLED WITH
81+
1.16.3

Jenkinsfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
node('jenkins-slave-ruby-centos7') {
2+
stage('Build') {
3+
git url: "https://github.com/ramzallan/CSHPublicSite.git"
4+
sh "bundle install"
5+
sh "bundle exec rake build:production"
6+
}
7+
8+
/*
9+
stage('Test') {
10+
sh "bundle exec rake test"
11+
}
12+
*/
13+
14+
stage('Build Image') {
15+
sh "oc start-build pubsite --from-dir=_site"
16+
}
17+
}

0 commit comments

Comments
 (0)