-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhome.php
93 lines (80 loc) · 2.32 KB
/
home.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Book Keeping</title>
<link rel="stylesheet" href="stylesforhome.css">
<style>
/* Additional styles for the animation */
.welcome-message h1, .welcome-message h2 {
display: inline-block;
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.5s ease-in-out forwards;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
nav {
position: absolute;
top: 20px;
right: 20px;
display: flex;
align-items: center;
}
nav .logo {
width: 100px;
height: auto;
margin-right: 5px; /* Adjusted margin to separate logo from links */
margin-bottom: auto; /* Added margin to push the logo a bit downwards */
margin-top:auto;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
margin-bottom:80px;
}
nav ul li {
margin-right: 15px;
}
nav ul li a {
text-decoration: none;
color: white;
}
</style>
</head>
<body>
<nav>
<img src="logo.png" alt="Logo" class="logo">
<ul>
<li><a href="#">Home</a></li>
<li><a href="About.html">About</a></li>
<li><a href="AddCustomer.php">Add Customer</a></li>
<li><a href="SearchCustomer.php"> Customer Details</a></li>
<li><a href="SearchCustomer2.php"> Search Customer</a></li>
<li><a href="login.php" onclick="logout()">Logout</a></li>
</ul>
</nav>
<div class="hero">
<div class="welcome-message animated">
<h1>WELCOME TO</h1>
<h2>BOOK KEEPING WEB APPLICATION</h2>
</div>
</div>
<script src="script.js"></script>
<script>
function logout() {
window.location.href = "logout.html";
}
</script>
</body>
</html>