Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ehasa-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WIMMA Lab 2019
Overflow
ehasa-frontend
Commits
4ce70bff
Commit
4ce70bff
authored
5 years ago
by
Ronnie Friman
Browse files
Options
Downloads
Patches
Plain Diff
testing hotfix
parent
c7341c17
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#65498
failed
5 years ago
Stage: purge
Stage: build
Stage: rf-test
Stage: push-results
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Dockerfile
+2
-0
2 additions, 0 deletions
Dockerfile
default.conf
+10
-0
10 additions, 0 deletions
default.conf
src/App.css
+2
-1
2 additions, 1 deletion
src/App.css
src/components/GameCard.js
+3
-1
3 additions, 1 deletion
src/components/GameCard.js
with
17 additions
and
2 deletions
Dockerfile
+
2
−
0
View file @
4ce70bff
...
...
@@ -3,11 +3,13 @@ WORKDIR /usr/src/app
ENV
PATH /usr/src/app/node_modules/.bin:$PATH
COPY
package*.json ./
RUN
npm
install
RUN
npm
install
react-scripts@3.0.1
-g
COPY
. .
RUN
npm run build
# production environment
FROM
nginx:1.16.0-alpine
COPY
--from=build /usr/src/app/build /usr/share/nginx/html
COPY
default.conf /etc/nginx/conf.d/default.conf
EXPOSE
80
CMD
["nginx", "-g", "daemon off;"]
This diff is collapsed.
Click to expand it.
default.conf
0 → 100644
+
10
−
0
View file @
4ce70bff
server
{
listen
80
;
server_name
localhost
;
location
/ {
try_files
$
uri
/
index
.
html
;
root
/
usr
/
share
/
nginx
/
html
;
index
index
.
html
index
.
htm
;
}
error_page
500
502
503
504
/
50
x
.
html
;
}
This diff is collapsed.
Click to expand it.
src/App.css
+
2
−
1
View file @
4ce70bff
body
{
margin
:
0
;
padding
:
0
;
overflow
:
hidden
;
background-color
:
#1d1d1b
;
color
:
#ffffff
;
overflow-y
:
scroll
;
overflow-x
:
hidden
;
}
.hidden
{
...
...
This diff is collapsed.
Click to expand it.
src/components/GameCard.js
+
3
−
1
View file @
4ce70bff
...
...
@@ -54,7 +54,9 @@ export default class GameCard extends React.Component {
<
Link
to
=
{{
pathname
:
"
/game
"
,
search
:
"
?id=
"
+
this
.
state
.
gameInfo
.
id
}}
>
<
button
type
=
"
button
"
>
Select
<
/button
>
<
button
id
=
{
`select
${
this
.
state
.
gameInfo
.
name
}
`
}
type
=
"
button
"
>
Select
<
/button
>
<
/Link
>
<
/div
>
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment