-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact_template.html
More file actions
157 lines (137 loc) · 6.98 KB
/
contact_template.html
File metadata and controls
157 lines (137 loc) · 6.98 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ name }} - Contact</title>
<meta name="description" content="{{ name }} - Get In Touch">
<meta name="author" content="{{ name }}">
<!-- Open Graph -->
<meta property="og:title" content="{{ name }} - Contact">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ base_url }}/contact.html">
<meta property="og:image" content="{{ base_url }}/{{ image_path }}">
<meta property="og:image:alt" content="{{ name }} Profile Image">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap"
rel="stylesheet">
<!-- Stylesheets -->
<link rel="stylesheet" href="css/modern_normalize.css">
<link rel="stylesheet" href="css/html5bp.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/contact.css">
<meta name="theme-color" content="#fafafa">
<!-- Favicon -->
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" sizes="180x180" href="/icon.png">
<link rel="manifest" href="/site.webmanifest">
<!-- Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous" referrerpolicy="no-referrer">
</head>
<body>
<header class="page-header">
<div class="container">
<div class="header-top flex-responsive">
<div class="header-info">
<h1>{{ name }}</h1>
<nav>
<ul class="inline-list flex-responsive">
<li><a href="index.html">Home</a></li>
<li><a href="resume.html">Resume</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="tech-stack.html">Tech Stack</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<div class="page-content">
<div class="container contact-container">
<main>
<section>
<h2 class="section-heading">Get In Touch</h2>
<p class="contact-intro">I'm always open to discussing new projects, creative ideas, or
opportunities to be part of an ambitious vision. Feel free to reach out.</p>
</section>
<section>
<h3 class="contact-subheading">Connect With Me On</h3>
<div class="contact-links">
{% for link in social_links %}
<a href="{{ link.url }}" class="contact-card" target="_blank" rel="noopener noreferrer">
<div class="contact-icon">
{% if link.svg_data %}
{{ link.svg_data | safe }}
{% else %}
<i class="fas fa-link"></i>
{% endif %}
</div>
<div class="contact-label">{{ link.label }}</div>
</a>
{% endfor %}
</div>
</section>
<section>
<h3 class="contact-subheading">Send Me A Message</h3>
<p class="contact-intro">Have a project idea, a question, or just want to say hi? Fill out the form
below and I'll get back to you as soon as possible.</p>
<form id="contact-form">
<div class="form-group">
<label for="contact-name">Name</label>
<input type="text" id="contact-name" name="name" placeholder="Your Name" required>
</div>
<div class="form-group">
<label for="contact-email">Email</label>
<input type="email" id="contact-email" name="email" placeholder="your.email@example.com"
required>
</div>
<div class="form-group">
<label for="contact-subject">Subject</label>
<input type="text" id="contact-subject" name="subject" placeholder="What's this about?">
</div>
<div class="form-group">
<label for="contact-message">Message</label>
<textarea id="contact-message" name="message" rows="5"
placeholder="Tell me about your project or idea..." required></textarea>
</div>
<!-- Formspree fallback honeypot -->
<input type="text" name="_gotcha" style="display:none">
<!-- Web3Forms Native hCaptcha -->
<div class="h-captcha" data-captcha="true" style="margin-bottom: 1.25rem;"></div>
<button type="submit" id="contact-submit" class="form-submit-btn">
<span class="btn-text">Send Message</span>
<span class="btn-loading" style="display:none;">
<i class="fas fa-spinner fa-spin"></i> Sending...
</span>
</button>
</form>
<div id="form-status" class="form-status" style="display:none;"></div>
<div class="email-fallback">
<p>Or reach me directly at</p>
<a href="mailto:{{ contact.email }}" class="email-button">{{ contact.email }}</a>
</div>
</section>
</main>
</div>
</div>
<footer class="page-footer">
<div class="container">
<p>© {{ current_year }} {{ name }}. All rights reserved.</p>
</div>
</footer>
<!-- Theme toggle -->
<div class="theme-toggle-container">
<div id="theme-toggle-icon" class="theme-icon"><i class="fas"></i></div>
</div>
<script src="https://web3forms.com/client/script.js" async defer></script>
<script src="js/contact.js"></script>
<script src="js/app.js"></script>
</body>
</html>