-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
180 lines (161 loc) · 5.95 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
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Your Name - Contact</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap" rel="stylesheet" />
<!-- Link to external CSS file -->
<link rel="stylesheet" href="assets/css/styles.css" />
<style>
:root {
--main-color: #997516;
--secondary-color: #e91a1a;
--bg-color: #121212;
--text-color: #ffffff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
}
.container {
width: 80%;
margin: 0 auto;
padding: 20px;
}
header {
background-color: var(--bg-color);
padding: 20px 0;
position: sticky;
top: 0;
z-index: 1000;
}
nav ul {
list-style-type: none;
display: flex;
justify-content: space-around;
}
nav ul li a {
color: var(--text-color);
text-decoration: none;
font-weight: bold;
}
h1,
h2 {
color: var(--main-color);
}
footer {
background-color: var(--bg-color);
color: var(--text-color);
text-align: center;
padding: 20px 0;
position: sticky;
bottom: 0;
}
.contact-columns {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.contact-info,
.contact-form {
width: 48%;
}
.contact-form form {
display: flex;
flex-direction: column;
}
.contact-form input,
.contact-form textarea {
margin-bottom: 15px;
padding: 10px;
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid var(--main-color);
color: var(--text-color);
}
.contact-form button {
padding: 10px;
background-color: var(--main-color);
color: var(--text-color);
border: none;
cursor: pointer;
}
.social-links a {
color: var(--secondary-color);
text-decoration: none;
margin-right: 10px;
}
@media (max-width: 768px) {
.contact-info,
.contact-form {
width: 100%;
}
}
</style>
</head>
<body>
<header>
<nav>
<div class="logo">
<a href="index.html">
<img src="https://i.ibb.co/z4QWGJZ/KTM-Edu-Tech-Logo.png" alt="KTM EduTech Logo" class="logo-large">
<img src="https://i.ibb.co/JvXkFbv/ktm-favicon.png" alt="KTM EduTech Logo" class="logo-small">
</a>
</div>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="career.html">Career</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
<div class="burger">
<div class="line1"></div>
<div class="line2"></div>
<div class="line3"></div>
</div>
</nav>
</header>
<main>
<section id="contact" class="container">
<h1>Contact</h1>
<div class="contact-columns">
<div class="contact-info">
<h2>Contact Information</h2>
<p>Phone: +66644295023</p>
<p>Email: [email protected]</p>
<p>Address: The Parkland Bangna, Bangna Trad 37, Bangna, Bangkok, Thailand</p>
<h2>Social Media</h2>
<div class="social-links">
<a href="https://github.com/KTM-EduTech" target="_blank">GitHub</a>
<a href="https://www.linkedin.com/in/kydmasong/" target="_blank">LinkedIn</a>
<a href="https://www.youtube.com/@KTMasongTV" target="_blank">YouTube</a>
</div>
</div>
<div class="contact-form">
<h2>Send a Message</h2>
<form action="mailto:[email protected]" method="post" enctype="text/plain">
<input type="text" name="name" placeholder="Your Name" required />
<input type="email" name="email" placeholder="Your Email" required />
<textarea name="message" placeholder="Your Message" required rows="5"></textarea>
<button type="submit">Send</button>
</form>
</div>
</div>
</section>
</main>
<footer>
<p>© <span id="year"></span> | KTM EduTech</p>
</footer>
<!-- Link to JS file before </body> -->
<script src="assets/js/scripts.js"></script>
</body>
</html>