Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
home page (#18)
Browse files Browse the repository at this point in the history
* home page implementation 

* Bug Fixes, Build Config Fixes & Polishing up the styling
 - Polished up the styling on index & register pages
 - Fixed the webpack config to support fonts & images
 - Fixed the travis build config to support dev & prod builds
  • Loading branch information
NishanWijethunga authored and nmasnadithya committed Oct 31, 2018
1 parent 2c25818 commit f42b37c
Show file tree
Hide file tree
Showing 35 changed files with 1,258 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/website.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
language: node_js
node_js:
- "lts/*"
cache:
directories:
- "node_modules"
branches:
only:
- master
- develop
script: npm run build
script:
- if [ "$TRAVIS_BRANCH" == "master" ]; then npm run build:prod; else npm run build:dev; fi
deploy:
- provider: pages
skip-cleanup: true
Expand Down
206 changes: 187 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 20 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "slioi-website",
"version": "0.1.1",
"version": "0.2.0",
"description": "The Official Website of Sri Lankan Olympiad in Informatics",
"main": "dist/bundle.js",
"scripts": {
"test": "echo \\\"Error: no test specified\\\" && exit 1",
"start": "webpack-dev-server",
"build": "npm run clean; webpack",
"start": "webpack-dev-server --inline --hot --env dev",
"build:dev": "npm run clean; webpack --env dev --progress --profile --colors",
"build:prod": "npm run clean; webpack --env prod --progress --profile --colors",
"clean": "rm -rf dist"
},
"repository": {
Expand All @@ -21,18 +22,22 @@
],
"author": "SLIOI",
"maintainers": [
"Adithya Narasinghe"
"Adithya Narasinghe",
"Pasindu Wijesena",
"NishanWijethunga",
"Ravindu Ramesh"
],
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/SLIOI/website/issues"
},
"homepage": "https://github.com/SLIOI/website#readme",
"devDependencies": {
"@material/button": "^0.39.3",
"@material/layout-grid": "^0.39.0",
"@material/button": "^0.41.0",
"@material/ripple": "^0.39.3",
"@material/typography": "^0.39.0",
"@material/card": "^0.41.0",
"@material/elevation": "^0.41.0",
"@types/material-components-web": "^0.35.0",
"autoprefixer": "^9.1.5",
"babel-core": "^6.26.3",
Expand All @@ -51,6 +56,14 @@
"ts-loader": "^3.3.1",
"typescript": "^3.0.3",
"webpack": "^3.12.0",
"webpack-dev-server": "^2.11.3"
"webpack-dev-server": "^2.11.3",
"@types/webpack": "^4.4.17",
"@types/gsap": "^1.20.0",
"@types/jquery": "^3.3.22"
},
"dependencies": {
"gsap": "^2.0.2",
"jquery": "^3.3.1",
"smooth-scroll": "^14.2.1"
}
}
Binary file added src/fonts/AvenirNext-Bold.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-BoldItalic.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-DemiBold.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-DemiBoldItalic.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-Heavy.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-HeavyItalic.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-Italic.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-Medium.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-MediumItalic.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-Regular.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-UltraLight.ttf
Binary file not shown.
Binary file added src/fonts/AvenirNext-UltraLightItalic.ttf
Binary file not shown.
Loading

0 comments on commit f42b37c

Please sign in to comment.