양윤지

Change the logo.png and Fix the index.ejs file

File mode changed
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
2 body{ 2 body{
3 width:100vw; 3 width:100vw;
4 height:100vh; 4 height:100vh;
5 -
6 background-size:auto; 5 background-size:auto;
7 } 6 }
8 7
...@@ -27,6 +26,7 @@ body{ ...@@ -27,6 +26,7 @@ body{
27 .center{ 26 .center{
28 width:100vw; 27 width:100vw;
29 height:50vh; 28 height:50vh;
29 + font-weight: bolder;
30 display:flex; 30 display:flex;
31 align-items:center; 31 align-items:center;
32 justify-content:space-around; 32 justify-content:space-around;
......
...@@ -9,7 +9,7 @@ var revisionDate; //수정날짜 ...@@ -9,7 +9,7 @@ var revisionDate; //수정날짜
9 var id; //소환사ID 9 var id; //소환사ID
10 var accountId; //계정Id 10 var accountId; //계정Id
11 var name; //소환사 이름 11 var name; //소환사 이름
12 -var summonerLevel; //소환사 레벨 12 +var summonerLevel; //소환사
13 13
14 app.get('/', function(req, res) { 14 app.get('/', function(req, res) {
15 res.render('main', { title: 'R U TROLL?' }); 15 res.render('main', { title: 'R U TROLL?' });
...@@ -48,7 +48,7 @@ var summonerLevel; //소환사 레벨 ...@@ -48,7 +48,7 @@ var summonerLevel; //소환사 레벨
48 var champ_pic = new Array(); 48 var champ_pic = new Array();
49 var champions_length = Object.keys(info_champ_json).length; 49 var champions_length = Object.keys(info_champ_json).length;
50 50
51 - console.log("\n\ninfo_champ_json\n\n", info_champ_json); 51 + //console.log("\n\ninfo_champ_json\n\n", info_champ_json);
52 52
53 // status code가 200이 아니면 종료. 53 // status code가 200이 아니면 종료.
54 if (info_champ_json["status"] != undefined) { 54 if (info_champ_json["status"] != undefined) {
...@@ -81,7 +81,7 @@ var summonerLevel; //소환사 레벨 ...@@ -81,7 +81,7 @@ var summonerLevel; //소환사 레벨
81 var userLeagueUrl = "https://kr.api.riotgames.com/lol/league/v4/entries/by-summoner/"+ urlenconde(id)+"?api_key=" + apikey; 81 var userLeagueUrl = "https://kr.api.riotgames.com/lol/league/v4/entries/by-summoner/"+ urlenconde(id)+"?api_key=" + apikey;
82 request(userLeagueUrl,function(error,response,body){ 82 request(userLeagueUrl,function(error,response,body){
83 var info_user_league_json = JSON.parse(body); 83 var info_user_league_json = JSON.parse(body);
84 - console.log("userLeagueUrl:", userLeagueUrl); 84 + //console.log("userLeagueUrl:", userLeagueUrl);
85 if(info_user_league_json[0] != null){ 85 if(info_user_league_json[0] != null){
86 var leagueId = info_user_league_json[0]["leagueId"]; 86 var leagueId = info_user_league_json[0]["leagueId"];
87 var wins = info_user_league_json[0]["wins"]; 87 var wins = info_user_league_json[0]["wins"];
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 <body> 22 <body>
23 <div class="imgOpacity"> 23 <div class="imgOpacity">
24 <div class="center"> 24 <div class="center">
25 - <img src="http://postfiles5.naver.net/MjAxNzA1MTRfMjYz/MDAxNDk0NjkzMzQyMjA1.q2Lr8tHc36PRcyVYhCplqB4J868vV67CQr8l1MSduCkg.sfF_kI6oJZpMdOeKzFucmZXRoQXuSOI4M1IZhMPTp30g.PNG.yoonty21/logo.png?type=w580"> 25 + <img src= "FindMelogo.png" width = 300, height = 300/>
26 </div> 26 </div>
27 <div class="center"> 27 <div class="center">
28 <input type="text" class="input_text" placeholder="소환사 이름"> 28 <input type="text" class="input_text" placeholder="소환사 이름">
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 <body> 22 <body>
23 <div class="imgOpacity"> 23 <div class="imgOpacity">
24 <div class="center"> 24 <div class="center">
25 - <img src="http://postfiles5.naver.net/MjAxNzA1MTRfMjYz/MDAxNDk0NjkzMzQyMjA1.q2Lr8tHc36PRcyVYhCplqB4J868vV67CQr8l1MSduCkg.sfF_kI6oJZpMdOeKzFucmZXRoQXuSOI4M1IZhMPTp30g.PNG.yoonty21/logo.png?type=w580"> 25 + <img src= "FindMelogo.png" width = 300, height = 300/>
26 </div> 26 </div>
27 <div class="center2"> 27 <div class="center2">
28 <input type="text" class="input_text" placeholder="소환사 이름"> 28 <input type="text" class="input_text" placeholder="소환사 이름">
......