-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
140 lines (97 loc) · 4.38 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.css">
<title>Assignment 2a/b: JavaScript</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class = "ui grid stackable container">
<a href="index.html">
<img src="images/lobaLogo.png" id="logo" alt="Roma Logo">
</a>
<nav class="ui top attached tabular stackable menu">
<a class="active item" href = "index.html">Home</a>
<a class="item" href = "team.html">Team</a>
<a class="item" href = "topPlayers.html">Top Players</a>
<a class="item" href = "winAPrize.html">Win A Prize</a>
<a class="item" href = "about.html">About</a>
</nav>
<div class = "ui sixteen wide center aligned column">
<header>
<div id="nameTitle"></div>
<h1 class="ml15">
<span class="word">AS</span>
<span class="word">ROMA</span>
</h1>
</header>
</div>
<div class = "ui computer row">
<div class ="ui eight wide column"><img src="images/leftIndex.jpg" alt = "Picture of Roma Stadium" class = "ui fluid image"></div>
<div class = "ui eight wide column"><img src="images/rightIndex.jpg" alt = "Picture of Roma players celebrating" class = "ui fluid image"></div>
</div>
<div class = "ui sixteen wide row">
<blockquote id="indexQuote">This club is one of the best teams in the world. They offer more than just scoring goals and winning
matches. They play passionately for every single fan, and for this reason, this team is better than any other.</blockquote>
</div>
<main class = "ui three column center aligned stackable row">
<section class = "ui column">
<h4>TEAM</h4>
<p>AS Roma is a one of a kind team! They do their best to make their fans happy. Its history goes back to 1927 when it was founded.</p>
<a href="team.html"><button class="ui primary button">
Take me there! - <i class ="hand pointer icon"></i>
</button></a>
</section>
<section class = "ui column">
<h4>TOP PLAYERS</h4>
<p>If you wish to know who are the top strikers, midfielders, defenders, and goalkeepers of the AS Roma team. Just click on the button below.</p>
<a href="topPlayers.html"><button class="ui primary button">
Take me there! - <i class ="hand pointer icon"></i>
</button></a>
</section>
<section class = "ui column">
<h4>WIN A PRIZE</h4>
<p>Win a trip to Roma and meet the club and players for free. Fill out a quick survey and your details and you are all set.</p>
<a href="winAPrize.html"><button class="ui primary button" >
Take me there! - <i class ="hand pointer icon"></i>
</button></a>
</section>
</main>
<footer class = "sixteen wide center aligned column">
<p class="pfooter">© AS ROMA - All rights reserved</p>
<p class="pfooter"><a href="mailto:20092351@mail.wit.ie" class="indexQuoteLinks">AS Roma Email</a></p>
</footer>
</div>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.js"></script>
<script src = "js/javaScript.js"></script>
<script src = "js/rollover.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>
<script>
let name = prompt("Hi, Please enter your name: ", "")
const goodName = name.toUpperCase();
document.querySelector('#nameTitle').innerHTML = "<h1>Welcome <span style = 'color: gold';>" + goodName + "</span> to one of the great clubs in the World</h1>"
</script>
<script>
anime.timeline({loop: false})
.add({
targets: '.ml15 .word',
scale: [14,1],
opacity: [0,1],
easing: "easeOutCirc",
duration: 3000,
delay: (el, i) => 800 * i
}).add({
targets: '.ml15',
opacity: 0,
duration: 1000,
easing: "easeOutExpo",
delay: 10000000000000000
});
</script>
</body>
</html>