-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
92 lines (85 loc) · 3.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Smart home Automation</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
$(window).ready(function(){
$('#room1').click(function(){
window.location.href = 'templates/room1.html';
});
$('#room2').click(function(){
window.location.href = 'templates/room2.html';
});
$('#room3').click(function(){
window.location.href = 'templates/room3.html';
});
$('#room4').click(function(){
window.location.href = 'templates/room4.html';
});
});
</script>
<style>
.roomsection{
border: 2px solid grey;
border-radius: 15px;
width: 40% !important;
margin: 20px;
}
img {
width: 150px;
height: 150px;
border-radius: 15px;
}
h3{
margin-right:20% ;
}
h3:hover{
background-color: white !important;
}
h4{
color: grey;
text-align: right;
margin-bottom: 100px;
}
h3,
h1 {
color: rgb(179, 171, 171);
}
.heading {
text-align: center;
}
body{
background-color: rgba(37,37,37,255) !important;
padding: 0px!important;
}
</style>
</head>
<body class="container">
<section class="heading">
<h1>SMART HOME AUTOMATION</h1>
<h4>Final Year Project</h4>
</section>
<section id=" homesection" class="row justify-content-around">
<section class="row justify-content-between roomsection align-items-center"><img src="static/room1image.jpg" alt="">
<h3 class="bg-success rounded-pill px-3 py-2 text-dark border border-primary" id="room1">ROOM 1</h3>
</section>
<section class="row justify-content-between roomsection align-items-center"><img src="static/imaage1.jpg" alt="">
<h3 class="bg-success rounded-pill px-3 py-2 text-dark border border-primary" id="room2">ROOM 2</h3>
</section>
<section class="row justify-content-between roomsection align-items-center"><img src="static/room3image.jpg" alt="">
<h3 class="bg-success rounded-pill px-3 py-2 text-dark border border-primary" id="room3">ROOM 3</h3>
</section>
<section class="row justify-content-between roomsection align-items-center"><img src="static/room4image.webp" alt="">
<h3 class="bg-success rounded-pill px-3 py-2 text-dark border border-primary" id="room4">ROOM 4</h3>
</section>
</section>
</body>
</html>