Compare commits

..

No commits in common. "gh-pages" and "master" have entirely different histories.

4 changed files with 87 additions and 155 deletions

View file

@ -6,45 +6,34 @@
} }
:root { :root {
--miami-red: #C41E3A; --primary: #2563eb;
--miami-red-dark: #9E182E; --primary-dark: #1d4ed8;
--miami-red-light: #E84C65; --secondary: #64748b;
--white: #FFFFFF; --light: #f8fafc;
--cream: #F8F5F0; --dark: #1e293b;
--light-gray: #EAE7E0; --white: #ffffff;
--medium-gray: #8A8580; --gray-50: #f1f5f9;
--dark-gray: #3A3530; --gray-100: #e2e8f0;
--text: #2A2520; --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
--shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
--shadow-hover: 0 6px 24px rgba(196, 30, 58, 0.12);
--radius: 12px;
--max-width: 1280px;
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
} }
body { body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
color: var(--text); color: var(--dark);
background-color: var(--cream); background-color: var(--white);
line-height: 1.6; line-height: 1.6;
min-height: 100vh;
} }
.container { .container {
max-width: var(--max-width); max-width: 1200px;
margin: 0 auto; margin: 0 auto;
padding: 0 1.5rem; padding: 0 20px;
} }
/* ===== Header ===== */ /* ===== Header ===== */
.site-header { .site-header {
background: linear-gradient(135deg, var(--miami-red) 0%, var(--miami-red-dark) 100%); background-color: var(--white);
color: var(--white); border-bottom: 1px solid var(--gray-100);
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 100; z-index: 100;
@ -54,69 +43,58 @@ body {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 0.75rem 1.5rem; padding: 1rem 20px;
} }
.logo { .logo {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 700; font-weight: 700;
color: var(--white); color: var(--primary);
letter-spacing: -0.02em;
} }
.nav a { .nav a {
margin-left: 2rem; margin-left: 2rem;
color: rgba(255,255,255,0.85); color: var(--dark);
text-decoration: none; text-decoration: none;
font-weight: 500; font-weight: 500;
font-size: 0.9rem;
transition: color 0.2s; transition: color 0.2s;
padding: 0.25rem 0;
border-bottom: 2px solid transparent;
} }
.nav a:hover { .nav a:hover {
color: var(--white); color: var(--primary);
border-bottom-color: rgba(255,255,255,0.5);
} }
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
color: white;
text-align: center;
padding: 0.5rem;
font-size: 0.875rem;
font-weight: 500;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
}
/* ===== Hero Section ===== */ /* ===== Hero Section ===== */
.hero { .hero {
background: linear-gradient(135deg, var(--miami-red) 0%, var(--miami-red-dark) 100%); background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
color: var(--white); color: var(--white);
padding: 5rem 0; padding: 4rem 0;
text-align: center; text-align: center;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
pointer-events: none;
} }
.hero h2 { .hero h2 {
font-size: 2.5rem; font-size: 2.5rem;
font-weight: 700;
letter-spacing: -0.02em;
margin-bottom: 1rem; margin-bottom: 1rem;
position: relative;
} }
.hero p { .hero p {
font-size: 1.125rem; font-size: 1.125rem;
opacity: 0.9; opacity: 0.9;
max-width: 720px; max-width: 600px;
margin: 0 auto; margin: 0 auto;
position: relative;
} }
/* ===== Section ===== */ /* ===== Section ===== */
@ -126,10 +104,9 @@ body {
.section h3 { .section h3 {
text-align: center; text-align: center;
font-size: 1.75rem; font-size: 1.875rem;
font-weight: 700;
margin-bottom: 3rem; margin-bottom: 3rem;
color: var(--dark-gray); color: var(--dark);
} }
/* ===== Values Grid ===== */ /* ===== Values Grid ===== */
@ -143,28 +120,22 @@ body {
.value-item { .value-item {
text-align: center; text-align: center;
padding: 2rem; padding: 2rem;
border-radius: var(--radius); border-radius: 8px;
background: var(--white); background: var(--gray-50);
box-shadow: var(--shadow);
transition: transform 0.2s, box-shadow 0.2s; transition: transform 0.2s, box-shadow 0.2s;
} }
.value-item:hover { .value-item:hover {
transform: translateY(-3px); transform: translateY(-4px);
box-shadow: var(--shadow-hover); box-shadow: var(--shadow);
} }
.value-item h4 { .value-item h4 {
color: var(--miami-red); color: var(--primary);
margin-bottom: 1rem; margin-bottom: 1rem;
font-size: 1.1rem;
} }
/* ===== How It Works ===== */ /* ===== How It Works ===== */
.how-it-works {
background: var(--white);
}
.how-it-works .steps { .how-it-works .steps {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
@ -175,33 +146,32 @@ body {
.step { .step {
text-align: center; text-align: center;
padding: 2rem; padding: 2rem;
border-radius: var(--radius); border-radius: 8px;
background: var(--cream); background: var(--white);
border: 1px solid var(--gray-100);
box-shadow: var(--shadow); box-shadow: var(--shadow);
} }
.step-number { .step-number {
width: 48px; width: 48px;
height: 48px; height: 48px;
background: linear-gradient(135deg, var(--miami-red) 0%, var(--miami-red-dark) 100%); background: var(--primary);
color: white; color: white;
border-radius: 50%; border-radius: 50%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-weight: 700; font-weight: 700;
font-size: 1.2rem;
margin: 0 auto 1rem; margin: 0 auto 1rem;
} }
.step h4 { .step h4 {
margin-bottom: 1rem; margin-bottom: 1rem;
color: var(--dark-gray);
} }
/* ===== CTA Section ===== */ /* ===== CTA Section ===== */
.cta { .cta {
background: var(--cream); background: var(--gray-50);
text-align: center; text-align: center;
padding: 4rem 0; padding: 4rem 0;
} }
@ -209,7 +179,6 @@ body {
.cta h2 { .cta h2 {
margin-bottom: 2rem; margin-bottom: 2rem;
font-size: 2rem; font-size: 2rem;
color: var(--dark-gray);
} }
.cta-buttons { .cta-buttons {
@ -230,83 +199,49 @@ body {
border: none; border: none;
cursor: pointer; cursor: pointer;
font-size: 1rem; font-size: 1rem;
font-family: inherit;
} }
.btn-primary { .btn-primary {
background: var(--miami-red); background: var(--primary);
color: white; color: white;
} }
.btn-primary:hover { .btn-primary:hover {
background: var(--miami-red-dark); background: var(--primary-dark);
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: var(--shadow-hover);
} }
.btn-secondary { .btn-secondary {
background: transparent; background: transparent;
color: var(--miami-red); color: var(--primary);
border: 2px solid var(--miami-red); border: 2px solid var(--primary);
} }
.btn-secondary:hover { .btn-secondary:hover {
background: var(--miami-red); background: var(--primary);
color: white; color: white;
transform: translateY(-2px);
}
/* ===== Page Header ===== */
.page-header {
text-align: center;
padding: 3rem 0;
}
.page-header h2 {
font-size: 2rem;
color: var(--dark-gray);
margin-bottom: 0.5rem;
}
.page-header p {
color: var(--medium-gray);
font-size: 1.1rem;
} }
/* ===== Forms ===== */ /* ===== Forms ===== */
.form-container { .form-container {
max-width: 800px; max-width: 800px;
margin: 0 auto; margin: 0 auto;
padding-bottom: 4rem;
}
.file-input {
padding: 0.5rem !important;
background: var(--white) !important;
}
.file-hint {
display: block;
font-size: 0.8rem;
color: var(--medium-gray);
margin-top: 0.25rem;
} }
.form-intro { .form-intro {
text-align: center; text-align: center;
margin-bottom: 2rem; margin-bottom: 3rem;
} }
.form-intro h3 { .form-intro h3 {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: 0.5rem; margin-bottom: 1rem;
color: var(--miami-red);
} }
.contact-form { .contact-form {
background: var(--white); background: var(--white);
padding: 2rem; padding: 2rem;
border-radius: var(--radius); border-radius: 8px;
box-shadow: var(--shadow); box-shadow: var(--shadow);
} }
@ -325,8 +260,7 @@ body {
display: block; display: block;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
font-weight: 600; font-weight: 600;
color: var(--dark-gray); color: var(--dark);
font-size: 0.9rem;
} }
.form-group input, .form-group input,
@ -334,29 +268,26 @@ body {
.form-group textarea { .form-group textarea {
width: 100%; width: 100%;
padding: 0.75rem; padding: 0.75rem;
border: 2px solid var(--light-gray); border: 1px solid var(--gray-100);
border-radius: 8px; border-radius: 6px;
font-family: inherit; font-family: inherit;
font-size: 1rem; font-size: 1rem;
background: var(--cream); transition: border-color 0.2s;
transition: border-color 0.2s, background-color 0.2s;
} }
.form-group input:focus, .form-group input:focus,
.form-group select:focus, .form-group select:focus,
.form-group textarea:focus { .form-group textarea:focus {
outline: none; outline: none;
border-color: var(--miami-red); border-color: var(--primary);
background-color: var(--white);
} }
/* ===== Footer ===== */ /* ===== Footer ===== */
.site-footer { .site-footer {
background: var(--dark-gray); background: var(--dark);
color: rgba(255,255,255,0.7); color: var(--white);
text-align: center; text-align: center;
padding: 2rem 0; padding: 2rem 0;
font-size: 0.85rem;
} }
/* ===== Responsive ===== */ /* ===== Responsive ===== */
@ -365,20 +296,10 @@ body {
font-size: 2rem; font-size: 2rem;
} }
.hero {
padding: 3rem 0;
}
.nav { .nav {
display: none; display: none;
} }
.site-header .container {
flex-direction: column;
gap: 0.5rem;
padding: 0.75rem 1rem;
}
.form-row { .form-row {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
@ -398,21 +319,26 @@ body {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.section { .site-header .container {
padding: 3rem 0; flex-direction: column;
gap: 1rem;
} }
} }
@media (max-width: 480px) { @media (max-width: 480px) {
.container { .container {
padding: 0 1rem; padding: 0 15px;
} }
.section { .section {
padding: 2rem 0; padding: 2rem 0;
} }
.hero h2 { .hero {
font-size: 1.6rem; padding: 2rem 0;
} }
}
.form-container {
padding: 0 10px;
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 487 B

After

Width:  |  Height:  |  Size: 164 B

Before After
Before After

View file

@ -14,6 +14,9 @@
<body> <body>
<!-- ===== Staging Banner ===== --> <!-- ===== Staging Banner ===== -->
<div class="staging-banner">
⚠️ STAGING SITE — RecruitmentVenture-Staging
</div>
<!-- ===== Header ===== --> <!-- ===== Header ===== -->
<header class="site-header"> <header class="site-header">
@ -82,9 +85,8 @@
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="js-resume">Upload Resume</label> <label for="js-resume">Resume/Portfolio URL</label>
<input type="file" id="js-resume" name="resume" accept=".pdf,.doc,.docx,.txt,.jpg,.png" class="file-input"> <input type="url" id="js-resume" name="resume" placeholder="https://example.com/resume.pdf">
<span class="file-hint">Accepted: PDF, Word, text, images (max 10MB)</span>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">

View file

@ -15,17 +15,18 @@ function getApiPath(formId) {
} }
async function submitForm(form, formId) { async function submitForm(form, formId) {
const formData = new FormData(form);
const data = Object.fromEntries(formData.entries());
const submitBtn = form.querySelector('button[type="submit"]'); const submitBtn = form.querySelector('button[type="submit"]');
submitBtn.disabled = true; submitBtn.disabled = true;
submitBtn.textContent = 'Submitting...'; submitBtn.textContent = 'Submitting...';
try { try {
// Use FormData (handles file uploads) - NOT JSON
const formData = new FormData(form);
const response = await fetch(PROXY_URL + getApiPath(formId), { const response = await fetch(PROXY_URL + getApiPath(formId), {
method: 'POST', method: 'POST',
body: formData headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(data)
}); });
const result = await response.json(); const result = await response.json();
@ -37,8 +38,11 @@ async function submitForm(form, formId) {
alert('There was an error submitting your information. Please try again or contact us directly.'); alert('There was an error submitting your information. Please try again or contact us directly.');
} }
} catch (err) { } catch (err) {
console.error('Submission error:', err); // Fallback for when the proxy isn't available (staging/demo mode)
alert('Error submitting form. Please try again or contact us directly.'); console.log('Proxy not available, saving locally:', data);
localStorage.setItem('form_' + Date.now(), JSON.stringify(data));
alert('Thank you! Your information has been received. (Demo mode - data saved locally)');
form.reset();
} finally { } finally {
submitBtn.disabled = false; submitBtn.disabled = false;
submitBtn.textContent = 'Submit'; submitBtn.textContent = 'Submit';