added contact form, css class name clarification
This commit is contained in:
48
src/components/Contact/Page.astro
Normal file
48
src/components/Contact/Page.astro
Normal file
@@ -0,0 +1,48 @@
|
||||
---
|
||||
import TitleCard from '../TitleCard.astro';
|
||||
import ContactForm from './ContactForm.astro';
|
||||
|
||||
---
|
||||
|
||||
<div id="container">
|
||||
<section class="contact-section" aria-label="Contact">
|
||||
<TitleCard title="Contact" description="Neem gerust contact met me op!"/>
|
||||
<ContactForm/>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
#container {
|
||||
font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
|
||||
position: relative;
|
||||
margin: 10px;
|
||||
padding: clamp(1.5rem, 3vw, 2.5rem);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
|
||||
rgb(74, 74, 74);
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 24px 60px rgba(16, 14, 12, 0.18);
|
||||
overflow: hidden;
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.5rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.contact-section {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Mobile: collapse to one column,
|
||||
so "Kennis" ends up fully under contact */
|
||||
@media (max-width: 768px) {
|
||||
#container {
|
||||
margin: 5px;
|
||||
padding: 1rem;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user