Add 2 files
Browse files- index.html +85 -22
- prompts.txt +2 -1
index.html
CHANGED
|
@@ -8,18 +8,19 @@
|
|
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 10 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 11 |
-
<link href="https://fonts.
|
| 12 |
-
|
| 13 |
<script>
|
| 14 |
tailwind.config = {
|
| 15 |
theme: {
|
| 16 |
extend: {
|
| 17 |
fontFamily: {
|
| 18 |
-
'
|
| 19 |
-
'
|
| 20 |
},
|
| 21 |
colors: {
|
| 22 |
'gold': '#D4AF37',
|
|
|
|
| 23 |
},
|
| 24 |
backgroundImage: {
|
| 25 |
'gold-pattern': "url(\"data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-6 60c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm29 22c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zM32 63c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm57-13c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-9-29c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM60 91c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM35 41c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 60c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E\")"
|
|
@@ -28,59 +29,82 @@
|
|
| 28 |
}
|
| 29 |
}
|
| 30 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
</head>
|
| 32 |
-
<body class="bg-
|
| 33 |
<!-- Language Button -->
|
| 34 |
-
<button id="languageBtn" class="fixed top-5 right-5 z-50 bg-
|
| 35 |
<i class="fas fa-language"></i>
|
| 36 |
<span>IT</span>
|
| 37 |
</button>
|
| 38 |
|
| 39 |
<div class="container mx-auto min-h-screen flex flex-col justify-between px-6 py-12 bg-gold-pattern">
|
| 40 |
<!-- Header -->
|
| 41 |
-
<header class="flex justify-between items-center">
|
| 42 |
-
<div class="text-2xl font-bold font-
|
|
|
|
|
|
|
| 43 |
<nav class="hidden md:flex space-x-8">
|
| 44 |
<a href="#about" class="text-white hover:text-gold transition">About</a>
|
| 45 |
<a href="#achievements" class="text-white hover:text-gold transition">Achievements</a>
|
| 46 |
<a href="#contact" class="text-white hover:text-gold transition">Contact</a>
|
| 47 |
</nav>
|
| 48 |
-
|
| 49 |
-
|
|
|
|
|
|
|
| 50 |
</button>
|
| 51 |
</header>
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
<!-- Main Content -->
|
| 54 |
<main class="flex-grow flex flex-col md:flex-row items-center justify-center gap-12">
|
| 55 |
<!-- Left Column - Portrait -->
|
| 56 |
<div class="w-full md:w-1/3 flex justify-center">
|
| 57 |
<div class="relative w-72 h-96">
|
| 58 |
-
<img src="https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=
|
| 59 |
alt="Attorney James Montgomery"
|
| 60 |
class="w-full h-full object-cover grayscale-[30%] contrast-110">
|
| 61 |
-
<div class="absolute inset-0 bg-gradient-to-t from-
|
| 62 |
<div class="absolute inset-0 flex items-end p-6">
|
| 63 |
-
<h2 class="font-
|
| 64 |
</div>
|
| 65 |
<div class="absolute -bottom-5 -right-5 w-20 h-20 bg-gold flex items-center justify-center rotate-6">
|
| 66 |
-
<span class="text-
|
| 67 |
</div>
|
| 68 |
</div>
|
| 69 |
</div>
|
| 70 |
|
| 71 |
<!-- Right Column - Info -->
|
| 72 |
<div class="w-full md:w-2/3 space-y-8">
|
| 73 |
-
<h1 class="font-
|
| 74 |
<span id="mainTitle">DISTINGUISHED</span> <span class="text-gold" id="legalText">LEGAL</span> <span id="counselText">COUNSEL</span>
|
| 75 |
</h1>
|
| 76 |
|
| 77 |
-
<p class="text-lg text-gray-300 max-w-2xl" id="descriptionText">
|
| 78 |
Specializing in corporate law, intellectual property, and high-stakes litigation with a proven track record of securing favorable outcomes for clients ranging from Fortune 500 companies to individual entrepreneurs.
|
| 79 |
</p>
|
| 80 |
|
| 81 |
<!-- Achievements -->
|
| 82 |
<div id="achievements" class="space-y-4">
|
| 83 |
-
<h3 class="text-xl font-semibold text-gold font-
|
| 84 |
<ul class="space-y-3">
|
| 85 |
<li class="relative pl-8 before:absolute before:left-0 before:top-3 before:w-4 before:h-4 before:bg-gold before:rotate-45" id="achievement1">
|
| 86 |
Successfully argued before the Supreme Court in landmark IP case (2021)
|
|
@@ -99,7 +123,7 @@
|
|
| 99 |
|
| 100 |
<!-- CTA Buttons -->
|
| 101 |
<div class="flex flex-wrap gap-4 pt-4">
|
| 102 |
-
<a href="#" class="bg-gold text-
|
| 103 |
<i class="fas fa-file-alt"></i> <span id="resumeBtnText">DOWNLOAD RESUME</span>
|
| 104 |
</a>
|
| 105 |
<a href="#contact" class="border-2 border-gold text-white font-bold px-8 py-3 rounded-sm hover:bg-gold/10 transition">
|
|
@@ -112,7 +136,7 @@
|
|
| 112 |
<!-- Footer -->
|
| 113 |
<footer id="contact" class="flex flex-col md:flex-row justify-between items-center pt-8 border-t border-gray-800">
|
| 114 |
<div class="mb-4 md:mb-0">
|
| 115 |
-
<h3 class="text-lg font-semibold text-gold font-
|
| 116 |
<p class="text-gray-400" id="footerTitle">PRINCIPAL ATTORNEY | MONTGOMERY & ASSOCIATES</p>
|
| 117 |
</div>
|
| 118 |
<div class="flex flex-col md:flex-row gap-4 md:gap-6">
|
|
@@ -127,6 +151,23 @@
|
|
| 127 |
</div>
|
| 128 |
|
| 129 |
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
const translations = {
|
| 131 |
en: {
|
| 132 |
nameTitle: "JAMES MONTGOMERY",
|
|
@@ -184,9 +225,31 @@
|
|
| 184 |
languageBtn.addEventListener('click', function() {
|
| 185 |
currentLanguage = currentLanguage === 'en' ? 'it' : 'en';
|
| 186 |
updateContent(currentLanguage);
|
| 187 |
-
this.
|
| 188 |
-
|
| 189 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 190 |
});
|
| 191 |
|
| 192 |
// Initialize with English content
|
|
|
|
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 10 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 11 |
+
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 12 |
+
|
| 13 |
<script>
|
| 14 |
tailwind.config = {
|
| 15 |
theme: {
|
| 16 |
extend: {
|
| 17 |
fontFamily: {
|
| 18 |
+
'serif': ['EB Garamond', 'serif'],
|
| 19 |
+
'sans': ['Montserrat', 'sans-serif'],
|
| 20 |
},
|
| 21 |
colors: {
|
| 22 |
'gold': '#D4AF37',
|
| 23 |
+
'dark': '#111827',
|
| 24 |
},
|
| 25 |
backgroundImage: {
|
| 26 |
'gold-pattern': "url(\"data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-6 60c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm29 22c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zM32 63c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm57-13c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-9-29c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM60 91c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM35 41c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 60c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E\")"
|
|
|
|
| 29 |
}
|
| 30 |
}
|
| 31 |
</script>
|
| 32 |
+
<style>
|
| 33 |
+
.mobile-menu {
|
| 34 |
+
max-height: 0;
|
| 35 |
+
overflow: hidden;
|
| 36 |
+
transition: max-height 0.3s ease-out;
|
| 37 |
+
}
|
| 38 |
+
.mobile-menu.open {
|
| 39 |
+
max-height: 500px;
|
| 40 |
+
}
|
| 41 |
+
</style>
|
| 42 |
</head>
|
| 43 |
+
<body class="bg-dark text-white font-serif min-h-screen overflow-x-hidden">
|
| 44 |
<!-- Language Button -->
|
| 45 |
+
<button id="languageBtn" class="fixed top-5 right-5 z-50 bg-dark/70 border border-gold text-white px-4 py-2 rounded-full flex items-center gap-2 hover:bg-gold hover:text-dark transition-all duration-300">
|
| 46 |
<i class="fas fa-language"></i>
|
| 47 |
<span>IT</span>
|
| 48 |
</button>
|
| 49 |
|
| 50 |
<div class="container mx-auto min-h-screen flex flex-col justify-between px-6 py-12 bg-gold-pattern">
|
| 51 |
<!-- Header -->
|
| 52 |
+
<header class="flex justify-between items-center mb-8">
|
| 53 |
+
<div class="text-2xl font-bold font-sans text-gold">J.MONTGOMERY</div>
|
| 54 |
+
|
| 55 |
+
<!-- Desktop Navigation -->
|
| 56 |
<nav class="hidden md:flex space-x-8">
|
| 57 |
<a href="#about" class="text-white hover:text-gold transition">About</a>
|
| 58 |
<a href="#achievements" class="text-white hover:text-gold transition">Achievements</a>
|
| 59 |
<a href="#contact" class="text-white hover:text-gold transition">Contact</a>
|
| 60 |
</nav>
|
| 61 |
+
|
| 62 |
+
<!-- Mobile Menu Button -->
|
| 63 |
+
<button id="mobileMenuButton" class="md:hidden text-white text-2xl">
|
| 64 |
+
<i class="fas fa-bars"></i>
|
| 65 |
</button>
|
| 66 |
</header>
|
| 67 |
|
| 68 |
+
<!-- Mobile Menu -->
|
| 69 |
+
<div id="mobileMenu" class="mobile-menu md:hidden bg-dark/90 rounded-lg mt-2 mb-6">
|
| 70 |
+
<div class="flex flex-col space-y-4 p-4">
|
| 71 |
+
<a href="#about" class="text-white hover:text-gold transition">About</a>
|
| 72 |
+
<a href="#achievements" class="text-white hover:text-gold transition">Achievements</a>
|
| 73 |
+
<a href="#contact" class="text-white hover:text-gold transition">Contact</a>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
|
| 77 |
<!-- Main Content -->
|
| 78 |
<main class="flex-grow flex flex-col md:flex-row items-center justify-center gap-12">
|
| 79 |
<!-- Left Column - Portrait -->
|
| 80 |
<div class="w-full md:w-1/3 flex justify-center">
|
| 81 |
<div class="relative w-72 h-96">
|
| 82 |
+
<img src="https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=800&q=80"
|
| 83 |
alt="Attorney James Montgomery"
|
| 84 |
class="w-full h-full object-cover grayscale-[30%] contrast-110">
|
| 85 |
+
<div class="absolute inset-0 bg-gradient-to-t from-dark/80 via-dark/30 to-transparent"></div>
|
| 86 |
<div class="absolute inset-0 flex items-end p-6">
|
| 87 |
+
<h2 class="font-sans text-3xl font-bold" id="nameTitle">JAMES MONTGOMERY</h2>
|
| 88 |
</div>
|
| 89 |
<div class="absolute -bottom-5 -right-5 w-20 h-20 bg-gold flex items-center justify-center rotate-6">
|
| 90 |
+
<span class="text-dark font-bold text-xs text-center" id="experienceText">15+ YEARS<br>EXPERIENCE</span>
|
| 91 |
</div>
|
| 92 |
</div>
|
| 93 |
</div>
|
| 94 |
|
| 95 |
<!-- Right Column - Info -->
|
| 96 |
<div class="w-full md:w-2/3 space-y-8">
|
| 97 |
+
<h1 class="font-sans text-4xl md:text-5xl font-bold tracking-tight leading-tight">
|
| 98 |
<span id="mainTitle">DISTINGUISHED</span> <span class="text-gold" id="legalText">LEGAL</span> <span id="counselText">COUNSEL</span>
|
| 99 |
</h1>
|
| 100 |
|
| 101 |
+
<p class="text-lg text-gray-300 max-w-2xl leading-relaxed" id="descriptionText">
|
| 102 |
Specializing in corporate law, intellectual property, and high-stakes litigation with a proven track record of securing favorable outcomes for clients ranging from Fortune 500 companies to individual entrepreneurs.
|
| 103 |
</p>
|
| 104 |
|
| 105 |
<!-- Achievements -->
|
| 106 |
<div id="achievements" class="space-y-4">
|
| 107 |
+
<h3 class="text-xl font-semibold text-gold font-sans" id="achievementsTitle">NOTABLE ACHIEVEMENTS</h3>
|
| 108 |
<ul class="space-y-3">
|
| 109 |
<li class="relative pl-8 before:absolute before:left-0 before:top-3 before:w-4 before:h-4 before:bg-gold before:rotate-45" id="achievement1">
|
| 110 |
Successfully argued before the Supreme Court in landmark IP case (2021)
|
|
|
|
| 123 |
|
| 124 |
<!-- CTA Buttons -->
|
| 125 |
<div class="flex flex-wrap gap-4 pt-4">
|
| 126 |
+
<a href="#" class="bg-gold text-dark font-bold px-8 py-3 rounded-sm flex items-center gap-2 hover:-translate-y-1 hover:shadow-lg hover:shadow-gold/30 transition-all duration-300">
|
| 127 |
<i class="fas fa-file-alt"></i> <span id="resumeBtnText">DOWNLOAD RESUME</span>
|
| 128 |
</a>
|
| 129 |
<a href="#contact" class="border-2 border-gold text-white font-bold px-8 py-3 rounded-sm hover:bg-gold/10 transition">
|
|
|
|
| 136 |
<!-- Footer -->
|
| 137 |
<footer id="contact" class="flex flex-col md:flex-row justify-between items-center pt-8 border-t border-gray-800">
|
| 138 |
<div class="mb-4 md:mb-0">
|
| 139 |
+
<h3 class="text-lg font-semibold text-gold font-sans" id="footerName">JAMES MONTGOMERY, ESQ.</h3>
|
| 140 |
<p class="text-gray-400" id="footerTitle">PRINCIPAL ATTORNEY | MONTGOMERY & ASSOCIATES</p>
|
| 141 |
</div>
|
| 142 |
<div class="flex flex-col md:flex-row gap-4 md:gap-6">
|
|
|
|
| 151 |
</div>
|
| 152 |
|
| 153 |
<script>
|
| 154 |
+
// Mobile menu functionality
|
| 155 |
+
const mobileMenuButton = document.getElementById('mobileMenuButton');
|
| 156 |
+
const mobileMenu = document.getElementById('mobileMenu');
|
| 157 |
+
|
| 158 |
+
mobileMenuButton.addEventListener('click', function() {
|
| 159 |
+
mobileMenu.classList.toggle('open');
|
| 160 |
+
const icon = this.querySelector('i');
|
| 161 |
+
if (mobileMenu.classList.contains('open')) {
|
| 162 |
+
icon.classList.remove('fa-bars');
|
| 163 |
+
icon.classList.add('fa-times');
|
| 164 |
+
} else {
|
| 165 |
+
icon.classList.remove('fa-times');
|
| 166 |
+
icon.classList.add('fa-bars');
|
| 167 |
+
}
|
| 168 |
+
});
|
| 169 |
+
|
| 170 |
+
// Language switching functionality
|
| 171 |
const translations = {
|
| 172 |
en: {
|
| 173 |
nameTitle: "JAMES MONTGOMERY",
|
|
|
|
| 225 |
languageBtn.addEventListener('click', function() {
|
| 226 |
currentLanguage = currentLanguage === 'en' ? 'it' : 'en';
|
| 227 |
updateContent(currentLanguage);
|
| 228 |
+
this.querySelector('span').textContent = currentLanguage === 'en' ? 'IT' : 'EN';
|
| 229 |
+
});
|
| 230 |
+
|
| 231 |
+
// Smooth scrolling for anchor links
|
| 232 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 233 |
+
anchor.addEventListener('click', function (e) {
|
| 234 |
+
e.preventDefault();
|
| 235 |
+
|
| 236 |
+
// Close mobile menu if open
|
| 237 |
+
if (mobileMenu.classList.contains('open')) {
|
| 238 |
+
mobileMenu.classList.remove('open');
|
| 239 |
+
mobileMenuButton.querySelector('i').classList.remove('fa-times');
|
| 240 |
+
mobileMenuButton.querySelector('i').classList.add('fa-bars');
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
+
const targetId = this.getAttribute('href');
|
| 244 |
+
if (targetId === '#') return;
|
| 245 |
+
|
| 246 |
+
const targetElement = document.querySelector(targetId);
|
| 247 |
+
if (targetElement) {
|
| 248 |
+
targetElement.scrollIntoView({
|
| 249 |
+
behavior: 'smooth'
|
| 250 |
+
});
|
| 251 |
+
}
|
| 252 |
+
});
|
| 253 |
});
|
| 254 |
|
| 255 |
// Initialize with English content
|
prompts.txt
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
I need you to create a single-screen (no scrolling) responsive website with black, gold, and white colors for a lawyer, with a brief description of their achievements and the option to download their resume.
|
| 2 |
la imagen no se ve podrías corregir? además me gustaría que utilizaras la fuente antenna y mattock
|
| 3 |
agregarías un botón de traduccion en italiano? y cambia de fuentes a "beautiful minds" y "Constantia"
|
| 4 |
-
no funciona bien ya que se ve duplicado. Además me gustaría que los estilos esten realizados con tailwind integramente
|
|
|
|
|
|
| 1 |
I need you to create a single-screen (no scrolling) responsive website with black, gold, and white colors for a lawyer, with a brief description of their achievements and the option to download their resume.
|
| 2 |
la imagen no se ve podrías corregir? además me gustaría que utilizaras la fuente antenna y mattock
|
| 3 |
agregarías un botón de traduccion en italiano? y cambia de fuentes a "beautiful minds" y "Constantia"
|
| 4 |
+
no funciona bien ya que se ve duplicado. Además me gustaría que los estilos esten realizados con tailwind integramente
|
| 5 |
+
no funionan los menús y me gustaría una fuente mucho mas legible
|