Skip to content

Commit a2f4e3d

Browse files
Initial commit
0 parents  commit a2f4e3d

File tree

1,743 files changed

+75076
-0
lines changed

Some content is hidden

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

1,743 files changed

+75076
-0
lines changed

.github/workflows/build.yml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
name: Generate Website
2+
3+
on:
4+
push:
5+
branches: [ 'main' ]
6+
pull_request:
7+
branches: [ 'main' ]
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
concurrency:
16+
group: 'pages'
17+
cancel-in-progress: false
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
26+
- name: Setup Ruby
27+
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
28+
with:
29+
ruby-version: '3.2'
30+
bundler-cache: true
31+
cache-version: 0
32+
33+
- name: Build with Jekyll
34+
run: bundle exec jekyll build
35+
env:
36+
JEKYLL_ENV: production
37+
38+
- name: Upload artifact
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: site
42+
path: _site
43+
44+
optimize:
45+
runs-on: ubuntu-latest
46+
needs: build
47+
steps:
48+
- name: Checkout repository
49+
uses: actions/checkout@v4
50+
51+
- name: Download build artifacts
52+
uses: actions/download-artifact@v4
53+
with:
54+
name: site
55+
path: _site
56+
57+
- name: Setup Node.js
58+
uses: actions/setup-node@v4
59+
with:
60+
node-version: '18'
61+
62+
- name: Install dependencies
63+
run: |
64+
npm install terser sass
65+
66+
- name: Optimize
67+
run: |
68+
chmod +x ./scripts/optimize.sh
69+
./scripts/optimize.sh "$PWD/_site/codeplay.com-website"
70+
71+
- name: Upload Optimized Site
72+
uses: actions/upload-artifact@v4
73+
with:
74+
name: github-pages
75+
path: _site
76+
77+
deploy:
78+
if: github.ref == 'refs/heads/main'
79+
needs: optimize
80+
environment:
81+
name: github-pages
82+
url: ${{ steps.deployment.outputs.page_url }}
83+
runs-on: ubuntu-latest
84+
steps:
85+
- name: Deploy to GitHub Pages
86+
id: deployment
87+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
vendor
6+
_exporter
7+
.idea
8+
JEKYLL_ENV
9+
node_modules
10+
.DS_Store

404.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
permalink: /404.html
3+
layout: page
4+
nav_style: alt
5+
---
6+
7+
<!-- Section: 404 -->
8+
<section id="404">
9+
<div class="wrapper">
10+
<header>
11+
<h1>404 - Page Not Found</h1>
12+
</header>
13+
<p>Unfortunately the page you are accessing could not be found. Please note that we have logged this event but if
14+
you could like to contact us directly about it then <a href="{{ '/company/contact' | relative_url }}">please click here to do so</a>.</p>
15+
</div>
16+
</section>

CODE_OF_CONDUCT.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making
6+
participation in our project and our community a harassment-free experience for everyone, regardless of age, body size,
7+
disability, ethnicity, sex characteristics, gender identity and expression , level of experience, education,
8+
socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
9+
10+
## Our Standards
11+
12+
Examples of behavior that contributes to creating a positive environment include:
13+
14+
* Using welcoming and inclusive language
15+
* Being respectful of differing viewpoints and experiences
16+
* Gracefully accepting constructive criticism
17+
* Focusing on what is best for the community
18+
* Showing empathy towards other community members
19+
20+
Examples of unacceptable behavior by participants include:
21+
22+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
23+
* Trolling, insulting/derogatory comments, and personal or political attacks
24+
* Public or private harassment
25+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
26+
* Other conduct which could reasonably be considered inappropriate in a professional setting
27+
28+
## Our Responsibilities
29+
30+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take
31+
appropriate and fair corrective action in response to any instances of unacceptable behavior.
32+
33+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits,
34+
issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any
35+
contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
36+
37+
## Scope
38+
39+
This Code of Conduct applies within all project spaces, and it also applies when an individual is representing the
40+
project or its community in public spaces. Examples of representing a project or community include using an official
41+
project e-mail address, posting via an official social media account, or acting as an appointed representative at an
42+
online or offline event. Representation of a project may be further defined and clarified by project maintainers.
43+
44+
## Enforcement
45+
46+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team
47+
at <[email protected]>. All complaints will be reviewed and investigated and will result in a response that is deemed
48+
necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to
49+
the reporter of an incident. Further details of specific enforcement policies may be posted separately.
50+
51+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent
52+
repercussions as determined by other members of the project's leadership.
53+
54+
## Attribution
55+
56+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 1.4,
57+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
58+
59+
---
60+
61+
If there are any issues or suggestions relating to the current set of rules, you can reach us at <[email protected]>.

CONTRIBUTING.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Contributing to codeplay.com Website
2+
3+
## Pull requests
4+
5+
We really appreciate all pull requests to this project, but we also have a few guidelines in place to help keep the
6+
project consistent and reduce the noise in commits, pull requests and code. Hopefully these guidelines are clear and
7+
easy to follow, if not then feel free to add an issue to address this.
8+
9+
Before starting any development please make an issue to communicate your intent and ensure that you are not duplicating
10+
work.
11+
12+
### Formatting
13+
14+
Please ensure that any contributions are formatted using the following guidelines:
15+
16+
* Empty line at the end of each plaintext file
17+
* Use "LF" line endings
18+
* Use 2 character spaces as much as possible
19+
* Following the naming conventions of the files currently in the repository
20+
* For images, webp is preferred although for larger images you can use JPEG.
21+
* For source files, a line length of 120 is encouraged
22+
* Following the same formatting as currently in use
23+
24+
### Pull request guidelines
25+
26+
* Submit any pull request to the `main` branch, unless you are really sure you need to push your changes elsewhere.
27+
28+
* Unless your pull request is trivial, expect comments and suggestions on your pull request. We will provide feedback as
29+
soon as possible.
30+
31+
* We cannot accept or test any pull request with merge conflicts, so please fix these before submitting your pull
32+
request.
33+
34+
* Please ensure pull requests are small and focussed. This means that they should only address a single feature, change
35+
or bug fix. Larger pull requests trying to fix multiple things at once should be split into smaller pull requests.
36+
37+
* All tests must pass before a pull request is accepted.
38+
39+
* If your pull request adds a new feature, please make sure that you add new test cases to cover this feature.
40+
41+
### Commit guidelines
42+
43+
* In your commit messages, the first line should be a short summary of the changes. Following this should be an empty
44+
line, then the remaining commit message explaining the changes in more detail.
45+
46+
* Use the present tense to say what the commit changes.
47+
48+
* Check for any unnecessary whitespace changes with `git diff --check` before committing your changes.

Gemfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll"
4+
5+
group :jekyll_plugins do
6+
gem "jekyll-timeago"
7+
gem "jekyll-paginate-v2"
8+
gem "jekyll-redirect-from"
9+
gem "jekyll-sitemap"
10+
end
11+
12+
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
13+
gem "tzinfo"
14+
gem "tzinfo-data"
15+
end
16+
17+
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
18+
19+
gem "webrick", "~> 1.8"

Gemfile.lock

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.7)
5+
public_suffix (>= 2.0.2, < 7.0)
6+
base64 (0.2.0)
7+
bigdecimal (3.1.9)
8+
colorator (1.1.0)
9+
concurrent-ruby (1.3.5)
10+
csv (3.3.4)
11+
em-websocket (0.5.3)
12+
eventmachine (>= 0.12.9)
13+
http_parser.rb (~> 0)
14+
eventmachine (1.2.7)
15+
eventmachine (1.2.7-x64-mingw32)
16+
ffi (1.17.2)
17+
forwardable-extended (2.6.0)
18+
google-protobuf (4.31.0)
19+
bigdecimal
20+
rake (>= 13)
21+
http_parser.rb (0.8.0)
22+
i18n (1.14.7)
23+
concurrent-ruby (~> 1.0)
24+
jekyll (4.4.1)
25+
addressable (~> 2.4)
26+
base64 (~> 0.2)
27+
colorator (~> 1.0)
28+
csv (~> 3.0)
29+
em-websocket (~> 0.5)
30+
i18n (~> 1.0)
31+
jekyll-sass-converter (>= 2.0, < 4.0)
32+
jekyll-watch (~> 2.0)
33+
json (~> 2.6)
34+
kramdown (~> 2.3, >= 2.3.1)
35+
kramdown-parser-gfm (~> 1.0)
36+
liquid (~> 4.0)
37+
mercenary (~> 0.3, >= 0.3.6)
38+
pathutil (~> 0.9)
39+
rouge (>= 3.0, < 5.0)
40+
safe_yaml (~> 1.0)
41+
terminal-table (>= 1.8, < 4.0)
42+
webrick (~> 1.7)
43+
jekyll-paginate-v2 (3.0.0)
44+
jekyll (>= 3.0, < 5.0)
45+
jekyll-redirect-from (0.16.0)
46+
jekyll (>= 3.3, < 5.0)
47+
jekyll-sass-converter (3.1.0)
48+
sass-embedded (~> 1.75)
49+
jekyll-sitemap (1.4.0)
50+
jekyll (>= 3.7, < 5.0)
51+
jekyll-timeago (0.14.0)
52+
mini_i18n (>= 0.8.0)
53+
jekyll-watch (2.2.1)
54+
listen (~> 3.0)
55+
json (2.12.0)
56+
kramdown (2.5.1)
57+
rexml (>= 3.3.9)
58+
kramdown-parser-gfm (1.1.0)
59+
kramdown (~> 2.0)
60+
liquid (4.0.4)
61+
listen (3.9.0)
62+
rb-fsevent (~> 0.10, >= 0.10.3)
63+
rb-inotify (~> 0.9, >= 0.9.10)
64+
mercenary (0.4.0)
65+
mini_i18n (0.8.0)
66+
pathutil (0.16.2)
67+
forwardable-extended (~> 2.6)
68+
public_suffix (6.0.2)
69+
rake (13.2.1)
70+
rb-fsevent (0.11.2)
71+
rb-inotify (0.11.1)
72+
ffi (~> 1.0)
73+
rexml (3.4.1)
74+
rouge (4.5.2)
75+
safe_yaml (1.0.5)
76+
sass-embedded (1.89.0)
77+
google-protobuf (~> 4.31)
78+
rake (>= 13)
79+
terminal-table (3.0.2)
80+
unicode-display_width (>= 1.1.1, < 3)
81+
tzinfo (2.0.4)
82+
concurrent-ruby (~> 1.0)
83+
tzinfo-data (1.2021.3)
84+
tzinfo (>= 1.0.0)
85+
unicode-display_width (2.6.0)
86+
wdm (0.1.1)
87+
webrick (1.8.1)
88+
89+
PLATFORMS
90+
ruby
91+
x64-mingw32
92+
93+
DEPENDENCIES
94+
jekyll
95+
jekyll-paginate-v2
96+
jekyll-redirect-from
97+
jekyll-sitemap
98+
jekyll-timeago
99+
tzinfo
100+
tzinfo-data
101+
wdm (~> 0.1.1)
102+
webrick (~> 1.8)
103+
104+
BUNDLED WITH
105+
2.6.9

0 commit comments

Comments
 (0)