양윤지

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

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