Skip to content

Commit

Permalink
Merge pull request #12 from frontend-park-mail-ru/LDBR-1.19_release_s…
Browse files Browse the repository at this point in the history
…pa_layout

[РК1] LDBR-1.19: интеграционная ветка SPA
  • Loading branch information
yletamitlu authored Sep 29, 2021
2 parents 0d3a61d + b200707 commit 8c7d4b1
Show file tree
Hide file tree
Showing 55 changed files with 2,856 additions and 1,089 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.tmpl.js
26 changes: 26 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"google"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"semi": ["error", "always"],
"quotes": ["error", "single"],
"indent": ["error", 4],
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"no-duplicate-imports": "error",
"linebreak-style": "off",
"no-var": "error",
"no-redeclare": "error",
"no-unused-vars": "warn",
"max-len": ["error", { "code": 105 }],
"no-irregular-whitespace": "off"
}
}
24 changes: 24 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: 'npm'
- name: Install modules
run: npm ci
- name: Run ESLint
run: npm run lint
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
#npm modules
node_modules/*

#hbs templates
*.tmpl.js

#ds store
.DS_Store
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ Trello frontend repository for Ladno Davayte Bez Roflov team, autumn of 2021.
### Backend repository
[Link to backend repository](https://github.com/go-park-mail-ru/2021_2_LadnoDavayteBezRoflov).

### API
[Link to API](https://app.swaggerhub.com/apis/DPeshkoff/LadnoDavayteBezRoflov).

### Deploy
TBD
[Link to deploy](http://95.163.213.142).
Binary file removed assets/background.png
Binary file not shown.
Binary file removed assets/noscript.png
Binary file not shown.
17 changes: 0 additions & 17 deletions css/footer.css

This file was deleted.

100 changes: 0 additions & 100 deletions css/main.css

This file was deleted.

6 changes: 6 additions & 0 deletions handlebars.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
handlebars src/components/Navbar/Navbar.hbs -f src/components/Navbar/Navbar.tmpl.js &&
handlebars src/components/Footer/Footer.hbs -f src/components/Footer/Footer.tmpl.js &&
handlebars src/pages/RegisterPage/RegisterPage.hbs -f src/pages/RegisterPage/RegisterPage.tmpl.js &&
handlebars src/pages/LoginPage/LoginPage.hbs -f src/pages/LoginPage/LoginPage.tmpl.js &&
handlebars src/pages/BoardsPage/BoardsPage.hbs -f src/pages/BoardsPage/BoardsPage.tmpl.js
Loading

0 comments on commit 8c7d4b1

Please sign in to comment.