Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Landing Page for DRI #1224

Merged
merged 59 commits into from
Oct 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
d9b9919
Creating dashboard structure for DRI home
matheusallein Mar 24, 2020
f2ecacc
Renamed dashboard to landing_page #1226
glaubervila Mar 24, 2020
e2ab72c
partial
glaubervila Mar 24, 2020
8f71f87
Setup landing page in docker-compose and link with other apps
glaubervila Mar 24, 2020
f7a2ee1
feat: Files, config, dependencies needed to start. #1226
fernandonicolau Mar 31, 2020
159a47f
feat: Images from the use of DRI. #1226
fernandonicolau Mar 31, 2020
ad65ffa
feat: Images of dri supporters and Linea logos. #1226
fernandonicolau Mar 31, 2020
b61eed4
feat: Home banner and moving particles. #1226
fernandonicolau Mar 31, 2020
8fd0890
feat: Creation of the home page with interfaces and supporters. #1226
fernandonicolau Mar 31, 2020
59c81f0
feat: Header creation with the route file. #1226
fernandonicolau Mar 31, 2020
2107b62
feat: menu about us. #1226
fernandonicolau Mar 31, 2020
b91de69
feat: menu Contact. #1226
fernandonicolau Mar 31, 2020
061773d
feat: menu Help. #1226
fernandonicolau Mar 31, 2020
016e5e4
feat: menu Tutorials. #1226
fernandonicolau Mar 31, 2020
c9005d3
feat: Oxanium font used in the home page. #1226
fernandonicolau Mar 31, 2020
5028199
fix: adjust image size.
fernandonicolau Mar 31, 2020
ac9faa3
feat: minor corrections to the layout.
fernandonicolau Mar 31, 2020
5b18067
fix: Layout and dependencies to api (Tutorial).
fernandonicolau Apr 2, 2020
9b3f5fb
Merge branch 'master' into feat/home_structure
matheusallein Apr 2, 2020
1abe52a
fix: responsiveness adjustments. #1226
fernandonicolau Apr 9, 2020
2e28c88
Merge branch 'feat/home_structure' of https://github.com/linea-it/dri…
fernandonicolau Apr 9, 2020
c961e23
Merge branch 'master' of https://github.com/linea-it/dri into feat/ho…
glaubervila Apr 15, 2020
29ae485
The header was changed by the appbar component.
glaubervila Apr 15, 2020
f177ef8
Merge branch 'feat/home_structure' of https://github.com/linea-it/dri…
glaubervila Apr 15, 2020
31ee7fb
feat: environment variables. #1226
fernandonicolau Apr 20, 2020
433ddbf
feat: adding breadcrumbs to navigation #1226
fernandonicolau Apr 20, 2020
ca407bb
fix: layout and interface adjustments. #1226
fernandonicolau Apr 20, 2020
62ec8a6
fix: layout and interface adjustments. #1226
fernandonicolau Apr 20, 2020
202c27f
feat: adding breadcrumbs to navigation. #1226
fernandonicolau Apr 20, 2020
3a0a4db
feat: page not found in navigation. #1226
fernandonicolau Apr 20, 2020
e85b856
feat: login service. #1226
fernandonicolau Apr 20, 2020
de61e17
feat: page navigation routes not found. #1226
fernandonicolau Apr 20, 2020
fa39332
feat: Adjust in menus and user login. #1226
fernandonicolau Apr 20, 2020
de69e2b
feat: layout alignment with science portal.
fernandonicolau Sep 14, 2020
93767a8
Fixing small bugs
matheusallein Sep 15, 2020
3b89b40
Fixing small bugs
matheusallein Sep 15, 2020
e8becd2
Validation changes
matheusallein Sep 16, 2020
a7a4488
fix: occasional adjustments for approval
fernandonicolau Sep 16, 2020
abf94ed
feat: getting interfaces through the api. #1226
fernandonicolau Sep 17, 2020
afab038
Fixing small bugs
matheusallein Sep 18, 2020
dd2d849
Fixing small bugs
matheusallein Sep 18, 2020
8a95fcb
fix: final adjustments for first delivery. #1226
fernandonicolau Oct 1, 2020
1d9e06f
Merge remote-tracking branch 'origin/feat/home_structure' into home_s…
fernandonicolau Oct 1, 2020
6455987
feat: modifications for the deploy. #1226
fernandonicolau Oct 5, 2020
ef4a469
Merge branch 'master' of https://github.com/linea-it/dri into feat/ho…
glaubervila Oct 6, 2020
d77ef17
Added parameter to order the applications.
glaubervila Oct 6, 2020
829e76b
minor fix
glaubervila Oct 6, 2020
b86b90a
feat: Insertion of the text about us. #1226
fernandonicolau Oct 6, 2020
d10b1f6
feat: alert about successful email sending. #1226
fernandonicolau Oct 6, 2020
3dff57e
Merge branch 'feat/home_structure' of https://github.com/linea-it/dri…
fernandonicolau Oct 6, 2020
cddd830
change help link in apps
glaubervila Oct 6, 2020
3a3baa2
Feat/frontend/landing page (#1242)
glaubervila Oct 6, 2020
c6a5e62
Merge branch 'feat/home_structure' of https://github.com/linea-it/dri…
glaubervila Oct 6, 2020
3156e5c
Revert "Merge branch 'feat/home_structure' of https://github.com/line…
glaubervila Oct 6, 2020
33b990e
Fix login redirect
glaubervila Oct 6, 2020
d0842d2
Merge branch 'feat/home_structure' of https://github.com/linea-it/dri…
fernandonicolau Oct 6, 2020
2e2a478
feat: adjustments to image sizes and insertion of a response to the c…
fernandonicolau Oct 6, 2020
755e6a1
fix: api base correction. #1226
fernandonicolau Oct 7, 2020
7420904
fix: api base correction. #1226
fernandonicolau Oct 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ __pycache__
/api/db
*.coverage
.env

# Diretórios do Postgresql
/pg_data
/pg_backup
Expand Down
1 change: 0 additions & 1 deletion api/common/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import django_filters
from rest_framework import filters
from rest_framework.authtoken.models import Token
from django.conf import settings
import requests
from urllib.parse import urljoin
from django_filters.rest_framework import DjangoFilterBackend
Expand Down
2 changes: 1 addition & 1 deletion api/interfaces/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ApplicationViewSet(viewsets.ModelViewSet):

filter_fields = ('id', 'app_name')

ordering_fields = ('id', 'app_name')
ordering_fields = ('id', 'app_name', 'app_order')


class TutorialFilter(django_filters.FilterSet):
Expand Down
21 changes: 15 additions & 6 deletions docker-compose-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,22 @@ services:
depends_on:
- sky

# eyeballing:
# build: ./frontend/eyeballing
# volumes:
# - ./frontend/eyeballing/:/app
# working_dir: /app
# command: yarn start
eyeballing:
image: node:10-alpine
working_dir: /app
volumes:
- ./frontend/eyeballing:/app
stdin_open: true
command: yarn start

landingpage:
image: node:10-alpine
working_dir: /app
volumes:
- ./frontend/landing_page:/app
stdin_open: true
command: yarn start

nginx:
build: ./frontend
ports:
Expand Down
14 changes: 11 additions & 3 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@ WORKDIR /code/userquery
RUN /opt/Sencha/sencha app build production

# Build ReactJS Apps
FROM node:10-alpine as react_apps
FROM node:10-alpine as eyeballing
WORKDIR /app
COPY ./eyeballing .
# RUN yarn -v && yarn --ignore-optional
RUN yarn -v && yarn
RUN yarn run build

FROM node:10-alpine as landingpage
WORKDIR /app
COPY ./landing_page .
RUN yarn -v && yarn
RUN yarn run build

Expand All @@ -59,6 +64,9 @@ RUN sed --regexp-extended --in-place=.bak 's%^pid\s+/var/run/nginx.pid;%pid /var
COPY --from=sencha_apps /code/build/production /var/www/

# Add eyeballing React App to image
COPY --from=react_apps /app/build /var/www/eyeballing
COPY --from=eyeballing /app/build /var/www/eyeballing

# Add Landing Page React App to image
COPY --from=landingpage /app/build /var/www/landing_page

USER nginx
2 changes: 2 additions & 0 deletions frontend/landing_page/.env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REACT_APP_API=//localhost
REACT_APP_INSTANCE=Developer
2 changes: 2 additions & 0 deletions frontend/landing_page/.env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REACT_APP_API=
REACT_APP_INSTANCE=Production
2 changes: 2 additions & 0 deletions frontend/landing_page/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/serviceWorker.js
src/services/api.js
28 changes: 28 additions & 0 deletions frontend/landing_page/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
parser: 'babel-eslint',
env: {
browser: true,
es6: true,
},
extends: 'airbnb',
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'react',
],
rules: {
'react/jsx-filename-extension': [1, {
extensions: ['.js', '.jsx']
}],
'react/jsx-props-no-spreading': 0,
}
};
25 changes: 25 additions & 0 deletions frontend/landing_page/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
.env
docker-compose.yml
4 changes: 4 additions & 0 deletions frontend/landing_page/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM node:10-alpine
WORKDIR /app
COPY . /app
RUN yarn -v && yarn
Loading