forked from PayalPadmalyaPrusty/YATI_Hackathon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
163 lines (131 loc) · 4.56 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>Load Maps API dynamically</title>
<style>
html,
body,
#maps {
height: 100%;
margin: 0px;
padding: 0px
}
</style>
<script>
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition, console.log);
} else {
maps.innerHTML = "The Browser Does not Support Geolocation";
}
}
function showPosition(position) {
var lat = position.coords.latitude;
var lon = position.coords.longitude;
var c = new google.maps.LatLng(lat, lon);
var mapProp = {
zoom: 7,
center: c
};
map = new google.maps.Map(document.getElementById('maps'), mapProp);
var marker = new google.maps.Marker({position: c, map: map});
var infowindow = new google.maps.InfoWindow({
content: "Location"
});
google.maps.event.addListener(marker, 'click', (function () {
infowindow.open(map, marker);
}));
}
getLocation();
</script>
</head>
<body>
<div id="live"></div>
<div id="maps"></div>
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBSO1YKBP-QXyA_gcvA6zbbHMxLHv2K1oc&callback=myMap"></script>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Footer</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="Assets/FA/css/all.min.css" />
<link rel="stylesheet" href="Assets/css/footer.css" />
</head>
<body>
<footer>
<div class="footer-wrap">
<div class="widgetFooter">
<h4 class="uppercase" >useful links</h4>
<ul id="footerUsefulLink">
<li title="About US">
<span class="usefulLinksIcons">
<i class="far fa-id-card"></i>
</span>
<a> About us</a>
</li>
<li title="Our Team">
<span class="usefulLinksIcons">
<i class="far fa-handshake"></i>
</span>
<a> Our team</a>
</li>
<li title="Gallery">
<span class="usefulLinksIcons">
<i class="far fa-images"></i>
</span>
<a href="mailto:payalpadmalaya24@gmail.com" id="email"> Email</a>
</li>
<li title="Contact Us">
<span class="usefulLinksIcons">
<i class="far fa-envelope"></i>
</span>
<a href="tel:+918093930922" id="cont"> Contact us</a>
</li>
</ul>
</div>
<div class="widgetFooter" id="footerLogo">
<img src="https://tse2.mm.bing.net/th?id=OIP.1hvzMZj4yR1Y5tDeRBiB4AAAAA&pid=Api&P=0" alt="Logo">
</div>
<div class="widgetFooter">
<h4 class="uppercase">Social media links</h4>
<ul id="footerMediaLinks">
<li class="media1" title="Facebook">
<span class="mediaLinksIcons fb">
<i class="fab fa-facebook-square"></i>
</span>
<a href="https://www.facebook.com/profile.php?id=100072789142115" class="fb"> facebook</a>
</li>
<li class="media2" title="Twitter">
<span class="mediaLinksIcons twit">
<i class="fab fa-twitter-square"></i>
</span>
<a href="https://twitter.com/Akanksh37761987" class="twit"> Twitter</a>
</li>
<li class="media3" title="Instagram">
<span class="mediaLinksIcons insta">
<i class="fab fa-instagram"></i>
</span>
<a href="https://www.instagram.com/payalpadmalayaprusty/" class="insta"> instagram</a>
</li>
<li class="media4" title="Github">
<span class="mediaLinksIcons git">
<i class="fab fa-github-alt"></i>
</span>
<a href="https://github.com/Prasanna-spd" class="git"> Github</a>
</li>
</ul>
</div>
</div>
<div class="footerCopy">
<div class="inb">
<p>Copyrights<sup>©</sup> 2022. Developed with <i class="fas fa-heart" style="color: red;"></i> by YATI
team </p>
</div>
</div>
</footer>
</body>
</html>