Added rough draft of contact page

This commit is contained in:
2025-01-11 01:09:00 +00:00
parent 0f51d2160b
commit 5e433248ff
7 changed files with 326 additions and 2 deletions
+64
View File
@@ -0,0 +1,64 @@
.form-container {
input,
textarea {
transition: border-color 0.2s ease, box-shadow 0.2s ease;
&:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
&.error {
border-color: #ef4444;
&:focus {
box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
}
}
.submit-button {
width: 100%;
padding: 0.5rem 1rem;
background-color: #2563eb;
color: white;
border-radius: 0.375rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
transition: background-color 0.2s ease;
&:hover:not(:disabled) {
background-color: #1d4ed8;
}
&:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
&:disabled {
background-color: #93c5fd;
cursor: not-allowed;
}
}
// Add subtle animation for success message
.success-message {
animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
}