-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (49 loc) · 2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html>
<head>
<title>player card</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link rel="stylesheet" href="reset.min.css">
<link rel="stylesheet" type="text/css" href="basic.css">
<script src="https://use.fontawesome.com/b8e7fe9976.js"></script>
</head>
<body translate='no'>
<h1 id='title'>Best Footballer in the world</h1>
<h4 id='author'>Made by <a href="https://github.com/xinyzhang9" target='_blank'>Xinyang</a></h4>
<div class='wrapper' id='app'>
<div :class="['frame', isShowDetail ? 'frame-detail' : ''] ">
<div class='thumbs'>
<thumb v-for='(thumb,index) in members' key='thumb.id'
:id=`member-${thumb.id}`
:fullname='thumb.fullname'
:photo = 'thumb.photo'
:title= 'thumb.title'
@mouseover.native='changeCover(index)'
@click.native='selectMember(thumb.id)'>
</thumb>
</div> <!-- thumbs -->
<div class='cover'>
<div class='cover_photo' :style=`background-image:url(${coverPhoto});`>
</div>
</div><!-- cover -->
<div class='profile'>
<p class='profile_description'>{{members[selectedIndex].description}}</p>
<div class='profile_social'>
<a :href="members[selectedIndex].social.facebook" class="fa fa-facebook" target='_blank'></a>
<a :href="members[selectedIndex].social.twitter" class="fa fa-twitter" target='_blank'></a>
<a :href="members[selectedIndex].social.instagram" class="fa fa-instagram" target='_blank'></a>
<a :href="members[selectedIndex].social.wikipedia"class="fa fa-wikipedia-w" target='_blank'></a>
</div>
<div class='profile_footer'>
<div class='back' @click='backToMembers()'><i class="fa fa-arrow-circle-o-left" aria-hidden="true"></i>Back to Team</div>
</div>
</div><!-- profile -->
</div><!-- frame -->
</div><!-- app -->
<script src='vue.min.js'></script>
<script type="text/javascript" src='main.js'>
</script>
</body>
</html>