-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.html
More file actions
131 lines (124 loc) · 5.59 KB
/
Copy pathmain.html
File metadata and controls
131 lines (124 loc) · 5.59 KB
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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="font.css">
<link rel="stylesheet" href="mainstyle.css">
<link rel="stylesheet" href="Buttons.css">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<meta charset="utf-8" />
<title>Dog Days</title>
</head>
<body>
<div class=border>
<p>
<a>
<button id="signoutbtn" type="button">Sign-out</button>
</a>
</p>
<p>
<a>
<button onclick="location.href='index.html'" type="button">Main</button>
</a>
</p>
<h1>Dog Days</h1>
<p>
<img src="Dog Days Logo.png" alt="Woof" width="306" height="211">
</p>
<div class=slideshow-container>
<div class="mySlides fade">
<p class = "center-cropped"
style="background-image: url('https://images.pexels.com/photos/1851164/pexels-photo-1851164.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=190&w=300');">
<img src="https://images.pexels.com/photos/1851164/pexels-photo-1851164.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=190&w=300"></img>
</p>
<div class="text">Linus</div>
</div>
<div class="mySlides fade">
<p class = "center-cropped"
style="background-image: url('https://images.pexels.com/photos/1562983/pexels-photo-1562983.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=300&w=450');">
<img src="https://images.pexels.com/photos/1562983/pexels-photo-1562983.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=300&w=450">
</p>
<div class="text">Charlotte</div>
</div>
<div class="mySlides fade">
<p class = "center-cropped"
style="background-image: url('https://images.pexels.com/photos/4668425/pexels-photo-4668425.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=300&w=450');">
<img src="https://images.pexels.com/photos/4668425/pexels-photo-4668425.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=300&w=450">
</p>
<div class="text">Phil</div>
</div>
<div class="mySlides fade">
<p class = "center-cropped"
style="background-image: url('https://images.pexels.com/photos/3357026/pexels-photo-3357026.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');">
<img src="https://images.pexels.com/photos/3357026/pexels-photo-3357026.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500">
</p>
<div class="text">John</div>
</div>
<div class="mySlides fade">
<p class = "center-cropped"
style="background-image: url('https://images.pexels.com/photos/4040656/pexels-photo-4040656.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');">
<img src="https://images.pexels.com/photos/4040656/pexels-photo-4040656.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500">
</p>
<div class="text">Guy</div>
</div>
<div class="mySlides fade">
<p class = "center-cropped"
style="background-image: url('https://images.pexels.com/photos/1805164/pexels-photo-1805164.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260');">
<img src="https://images.pexels.com/photos/1805164/pexels-photo-1805164.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260">
</p>
<div class="text">Kate</div>
</div>
<div class="mySlides fade">
<p class = "center-cropped"
style="background-image: url('https://images.pexels.com/photos/755380/pexels-photo-755380.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');">
<img src="https://images.pexels.com/photos/755380/pexels-photo-755380.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500">
</p>
<div class="text">Mike</div>
</div>
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<br>
<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
<span class="dot" onclick="currentSlide(4)"></span>
<span class="dot" onclick="currentSlide(5)"></span>
<span class="dot" onclick="currentSlide(6)"></span>
<span class="dot" onclick="currentSlide(7)"></span>
</div>
<script src ="Card.js"></script>
</div>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.6.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.6.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.0/firebase-analytics.js"></script>
<script>
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyAzjL9l25mAmgOqy1PuNhNkQAhFGEGkUEA",
authDomain: "dog-days-51554.firebaseapp.com",
databaseURL: "https://dog-days-51554-default-rtdb.firebaseio.com",
projectId: "dog-days-51554",
storageBucket: "dog-days-51554.appspot.com",
messagingSenderId: "223722049182",
appId: "1:223722049182:web:3b421b741498663a88758f",
measurementId: "G-QYD9PCSK45"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
//auth and firestore references
const auth = firebase.auth();
const db = firebase.firestore();
//update database
db.settings({ timestampsInSnapshots: true });
</script>
<script type="text/javascript" src="auth.js" charset="utf-8"></script>
<script src = index.js></script>
</body>
</html>