sdy
...@@ -9,7 +9,7 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI ...@@ -9,7 +9,7 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI
9 && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ 9 && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
10 && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz 10 && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
11 11
12 -ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "120s" ] 12 +ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "10s" ]
13 13
14 COPY package*.json ./ 14 COPY package*.json ./
15 COPY prisma ./prisma/ 15 COPY prisma ./prisma/
......
...@@ -9,7 +9,7 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI ...@@ -9,7 +9,7 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI
9 && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ 9 && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
10 && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz 10 && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz
11 11
12 -ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "120s" ] 12 +ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "10s" ]
13 13
14 COPY ./ ./prisma/ 14 COPY ./ ./prisma/
15 15
......
...@@ -11,6 +11,7 @@ import { ...@@ -11,6 +11,7 @@ import {
11 import useInput from "../../Hooks/useInput"; 11 import useInput from "../../Hooks/useInput";
12 import { toast } from "react-toastify"; 12 import { toast } from "react-toastify";
13 13
14 +
14 export default withRouter(({ location }) => { 15 export default withRouter(({ location }) => {
15 const [messageArr, setMessageArr] = useState([]); 16 const [messageArr, setMessageArr] = useState([]);
16 const { pathname } = location; 17 const { pathname } = location;
......
1 +
2 +a:visited{color:black;}
3 +a:active {color: black;}
4 +a:hover {color:black;}
5 +a:link {color:black;}
6 +a{text-decoration: none;color: black;}
7 +
8 +.banner{
9 + display:block;
10 +}
11 +
12 +#khu-logo{
13 + font-size: 0;
14 + padding: 0;
15 + border:none;
16 +
17 +}
18 +
19 +#khu-logo-font{
20 + font-family: 'Black Han Sans', sans-serif;
21 + align-content: center;
22 + font-size:20px;
23 + line-height: inherit;
24 + display: inline-block;
25 + padding: 5;
26 + border:none;
27 +}
28 +
29 +.khu-nav{
30 + padding:20px;
31 + height:center;
32 + background-color: white;
33 + border-bottom: 1px solid #ebeaeb;
34 +}
35 +.khu-nav-row{
36 + height: 100%;
37 + display:flex;
38 + justify-content: space-between;
39 + padding-left: 200px;
40 + padding-right: 200px;
41 +}
42 +
43 +
44 +#khu-start-button{
45 + font-family: 'Black Han Sans', sans-serif;
46 + -webkit-appearance: none;
47 + -moz-appearance: none;
48 + appearance: none;
49 + background: 0 0;
50 + border: none;
51 + cursor: pointer;
52 + border-radius: 4px;
53 + text-align: center;
54 + background-color: #611f69;
55 + color: #fff;
56 + fill: #fff;
57 + padding: 10px;
58 +
59 +}
60 +
61 +@media screen and (min-width:0) and (max-width:767px)
62 +{
63 + .khu-nav-row{padding:0 4vw;}
64 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import ChatContainer_CSS from ChatContainer_CSS.css