-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
112 lines (103 loc) · 3.34 KB
/
contact.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact</title>
<!-- Link to Font Awesome for icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
}
.container {
max-width: 800px;
margin: auto;
padding: 20px;
}
.card {
background-color: hsl(185, 79%, 35%);
color:#fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
}
.card h2 {
font-size: 24px;
margin-bottom: 10px;
}
.contact-item {
display: flex;
align-items: center;
margin-bottom: 10px;
cursor: pointer;
}
.contact-item i {
margin-right: 10px;
}
.contact-item p {
font-size: 18px;
margin: 0;
}
.btn-back {
display: inline-block;
padding: 10px 20px;
background-color: #4CAF50;
color: #fff;
text-decoration: none;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
margin-top: 20px;
}
.btn-back:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<button id="mode">change mode</button>
<div class="container">
<div class="card">
<h2>Contact Information</h2>
<!-- Phone -->
<div class="contact-item" onclick="window.location.href='tel:123456789'">
<i class="fas fa-phone"></i>
<p>Phone: 6367272003</p>
</div>
<!-- Instagram -->
<div class="contact-item" onclick="window.open('https://www.instagram.com/ankitmaurya897/', '_blank')">
<i class="fab fa-instagram"></i>
<p>Instagram: ankitmaurya897</p>
</div>
<!-- LinkedIn -->
<div class="contact-item" onclick="window.open('https://www.linkedin.com/in/ankit-mourya-821aa223b/', '_blank')">
<i class="fab fa-linkedin"></i>
<p>ankit-mourya-821aa223b</p>
</div>
<!-- GitHub -->
<div class="contact-item" onclick="window.open('https://github.com/AnkitMourya12', '_blank')">
<i class="fab fa-github"></i>
<p>GitHub: AnkitMourya12</p>
</div>
<!-- Email -->
<div class="contact-item" onclick="window.location.href='mailto:[email protected]'">
<i class="fas fa-envelope"></i>
<p>Email: [email protected]</p>
</div>
<!-- Back Button -->
<a href="index.html" class="btn-back">Back to Homepage</a>
</div>
</div>
</body>
<script src="cngMode.js"></script>
</html>