Skip to content

Commit 2116a52

Browse files
congwang-mkclaude
andcommitted
Standardize post-hero spacing across all pages and clean up contact page
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 47bfef7 commit 2116a52

6 files changed

Lines changed: 23 additions & 184 deletions

File tree

assets/css/content-pages.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* ===== SHARED CONTENT PAGE STYLES ===== */
22

33
.content-page {
4-
padding: 80px 0;
4+
padding: var(--space-20) 0;
55
background: var(--gray-50);
66
}
77

assets/css/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ body {
650650

651651
/* ===== VALUE SECTION ===== */
652652
.value-section {
653-
padding: var(--space-24) 0;
653+
padding: var(--space-20) 0;
654654
background: var(--gray-50);
655655
}
656656

blog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
permalink: /blog/
55
---
66

7-
<main style="margin-top: 0; padding-top: 0;">
7+
<main>
88
<section class="hero">
99
<div class="hero-container">
1010
<h1>Latest Insights</h1>

contact.html

Lines changed: 18 additions & 179 deletions
Original file line numberDiff line numberDiff line change
@@ -4,174 +4,19 @@
44
permalink: /contact.html
55
---
66

7-
<style>
8-
/* Contact page specific styles */
9-
.contact-form {
10-
background: var(--background-primary);
11-
padding: var(--spacing-2xl);
12-
border-radius: var(--border-radius-xl);
13-
box-shadow: var(--shadow-md);
14-
border: 1px solid var(--border-color);
15-
}
16-
17-
.form-group {
18-
margin-bottom: var(--spacing-lg);
19-
}
20-
21-
.form-group label {
22-
display: block;
23-
margin-bottom: var(--spacing-sm);
24-
font-weight: 600;
25-
color: var(--text-primary);
26-
font-size: 0.95rem;
27-
}
28-
29-
.form-group input,
30-
.form-group textarea {
31-
width: 100%;
32-
padding: var(--spacing-md);
33-
border: 2px solid var(--border-color);
34-
border-radius: var(--border-radius-md);
35-
font-size: 1rem;
36-
font-family: inherit;
37-
transition: all 0.2s ease;
38-
background: var(--background-primary);
39-
}
40-
41-
.form-group input:focus,
42-
.form-group textarea:focus {
43-
outline: none;
44-
border-color: var(--primary-color);
45-
box-shadow: 0 0 0 3px rgba(107, 0, 182, 0.1);
46-
}
47-
48-
.form-group textarea {
49-
height: 120px;
50-
resize: vertical;
51-
}
52-
53-
.submit-btn {
54-
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
55-
color: white;
56-
padding: var(--spacing-md) var(--spacing-xl);
57-
border: none;
58-
border-radius: var(--border-radius-lg);
59-
font-size: 1rem;
60-
font-weight: 600;
61-
cursor: pointer;
62-
transition: all 0.2s ease;
63-
box-shadow: var(--shadow-md);
64-
}
65-
66-
.submit-btn:hover {
67-
transform: translateY(-2px);
68-
box-shadow: var(--shadow-lg);
69-
}
70-
71-
.submit-btn:disabled {
72-
background: var(--text-muted);
73-
cursor: not-allowed;
74-
transform: none;
75-
}
76-
77-
.contact-section {
78-
background: var(--background-accent);
79-
}
80-
81-
.contact-info {
82-
margin-top: 40px;
83-
text-align: center;
84-
}
85-
86-
.contact-info h3 {
87-
margin-bottom: 30px;
88-
color: #333;
89-
}
90-
91-
.contact-methods {
92-
display: flex;
93-
justify-content: center;
94-
gap: 40px;
95-
flex-wrap: wrap;
96-
}
97-
98-
.contact-method {
99-
text-align: center;
100-
max-width: 200px;
101-
}
102-
103-
.contact-method i {
104-
width: 48px;
105-
height: 48px;
106-
color: #007bff;
107-
margin-bottom: 15px;
108-
}
109-
110-
.contact-method h4 {
111-
margin-bottom: 10px;
112-
color: #333;
113-
}
114-
115-
.contact-method a {
116-
color: #007bff;
117-
text-decoration: none;
118-
}
119-
120-
.contact-method a:hover {
121-
text-decoration: underline;
122-
}
123-
124-
.contact-method p {
125-
color: #666;
126-
margin: 0;
127-
line-height: 1.5;
128-
}
129-
130-
@media (max-width: 768px) {
131-
.contact-form {
132-
padding: 30px 20px;
133-
margin: 0 20px;
134-
}
135-
136-
.contact-methods {
137-
flex-direction: column;
138-
align-items: center;
139-
gap: 20px;
140-
}
141-
142-
.contact-method {
143-
width: 100%;
144-
}
145-
}
146-
</style>
147-
1487
<main>
1498
<!-- Hero Section -->
1509
<section class="hero">
15110
<div class="hero-container">
15211
<h1>Contact Us</h1>
15312
<p class="subtitle">We'd love to hear from you. Reach out with questions, feedback, or partnership inquiries about multikernel technology.</p>
154-
<div class="hero-stats">
155-
<div class="hero-stat">
156-
<span class="hero-stat-number">24/7</span>
157-
<span class="hero-stat-label">Support Available</span>
158-
</div>
159-
<div class="hero-stat">
160-
<span class="hero-stat-number">&lt; 1hr</span>
161-
<span class="hero-stat-label">Response Time</span>
162-
</div>
163-
<div class="hero-stat">
164-
<span class="hero-stat-number">Global</span>
165-
<span class="hero-stat-label">Reach</span>
166-
</div>
167-
</div>
16813
</div>
16914
</section>
17015

17116
<!-- Contact Section -->
172-
<section class="contact-section">
173-
<div class="section-container">
174-
<div class="contact-form">
17+
<section class="content-page">
18+
<div class="content-container">
19+
<div class="content-card">
17520
<div class="section-header">
17621
<h2 class="section-title">Send Us a Message</h2>
17722
<p class="section-subtitle">Get in touch with our team to discuss your multikernel needs.</p>
@@ -191,21 +36,21 @@ <h2 class="section-title">Send Us a Message</h2>
19136
</div>
19237
<div class="form-group">
19338
<label for="message">Message</label>
194-
<textarea id="message" name="message" required></textarea>
39+
<textarea id="message" name="message" rows="5" required></textarea>
19540
</div>
196-
<button type="submit" class="submit-btn">
41+
<button type="submit" class="btn btn-primary">
19742
<i data-lucide="send"></i>
19843
Send Message
19944
</button>
20045
</form>
20146
</div>
20247

203-
<div class="contact-info">
48+
<div class="content-card">
20449
<div class="section-header">
205-
<h3 class="section-title">Other Ways to Connect</h3>
50+
<h2 class="section-title">Other Ways to Connect</h2>
20651
<p class="section-subtitle">Choose the method that works best for you.</p>
20752
</div>
208-
53+
20954
<div class="features-grid">
21055
<div class="feature-card">
21156
<div class="feature-icon">
@@ -216,7 +61,7 @@ <h3 class="feature-title">Email</h3>
21661
<a href="mailto:contact@multikernel.io">contact@multikernel.io</a>
21762
</p>
21863
</div>
219-
64+
22065
<div class="feature-card">
22166
<div class="feature-icon">
22267
<i data-lucide="map-pin"></i>
@@ -227,7 +72,7 @@ <h3 class="feature-title">Office</h3>
22772
San Jose, CA 95113
22873
</p>
22974
</div>
230-
75+
23176
<div class="feature-card">
23277
<div class="feature-icon">
23378
<i data-lucide="github"></i>
@@ -243,51 +88,45 @@ <h3 class="feature-title">Open Source</h3>
24388
</section>
24489
</main>
24590

246-
<!-- EmailJS SDK -->
91+
<!-- EmailJS SDK -->
24792
<script src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js"></script>
24893

24994
<script>
25095
document.addEventListener('DOMContentLoaded', function() {
25196
// Initialize EmailJS with your public key
25297
emailjs.init('NZr6o_XV6LUf2f2ht');
253-
98+
25499
// Form handling with EmailJS
255100
const contactForm = document.getElementById('contactForm');
256-
const submitBtn = document.querySelector('.submit-btn');
257-
101+
const submitBtn = contactForm ? contactForm.querySelector('button[type="submit"]') : null;
102+
258103
if (contactForm) {
259104
contactForm.addEventListener('submit', function(e) {
260105
e.preventDefault();
261-
262-
// Disable the submit button during processing
106+
263107
submitBtn.disabled = true;
264108
submitBtn.textContent = 'Sending...';
265-
266-
// Prepare template parameters
109+
267110
const templateParams = {
268111
from_name: document.getElementById('name').value,
269112
from_email: document.getElementById('email').value,
270113
subject: document.getElementById('subject').value,
271114
message: document.getElementById('message').value,
272115
to_email: 'contact@multikernel.io'
273116
};
274-
275-
// Send email using your service and template IDs
117+
276118
emailjs.send('service_tcj7ad5', 'template_gb6e5gj', templateParams)
277119
.then(function(response) {
278-
console.log('SUCCESS!', response.status, response.text);
279120
alert('Thank you for your message! We will get back to you soon.');
280121
contactForm.reset();
281122
}, function(error) {
282-
console.log('FAILED...', error);
283123
alert('Sorry, there was an error sending your message. Please try again later or email us directly at contact@multikernel.io');
284124
})
285125
.finally(function() {
286-
// Re-enable the submit button
287126
submitBtn.disabled = false;
288127
submitBtn.textContent = 'Send Message';
289128
});
290129
});
291130
}
292131
});
293-
</script>
132+
</script>

getting-started.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
}
193193
</style>
194194

195-
<main style="margin-top: 0; padding-top: 0;">
195+
<main>
196196
<section class="hero">
197197
<div class="hero-container">
198198
<h1>Getting Started with Multikernel</h1>

roadmap.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
---
66

77

8-
<main style="margin-top: 0; padding-top: 0;">
8+
<main>
99
<section class="hero">
1010
<div class="hero-container">
1111
<h1>Multikernel System Design And Roadmap</h1>

0 commit comments

Comments
 (0)