zonca commited on
Commit
f4327e1
·
verified ·
1 Parent(s): cb6c699

minimalistic website for real estate investment firm in san diego. the name is Quest, it should have a big hero image and 4 buttons: Investor option , previous projects, sell your property and rental properties

Browse files
Files changed (5) hide show
  1. README.md +8 -5
  2. components/navbar.js +46 -0
  3. index.html +102 -19
  4. script.js +48 -0
  5. style.css +36 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Quest Realty Ventures
3
- emoji: 📉
4
- colorFrom: indigo
5
- colorTo: red
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: Quest Realty Ventures 🏡
3
+ colorFrom: purple
4
+ colorTo: blue
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
components/navbar.js ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ transition: background-color 0.3s ease;
8
+ }
9
+ .scrolled {
10
+ background-color: rgba(15, 23, 42, 0.95);
11
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
12
+ }
13
+ a {
14
+ position: relative;
15
+ }
16
+ a::after {
17
+ content: '';
18
+ position: absolute;
19
+ width: 0;
20
+ height: 2px;
21
+ bottom: -2px;
22
+ left: 0;
23
+ background-color: white;
24
+ transition: width 0.3s ease;
25
+ }
26
+ a:hover::after {
27
+ width: 100%;
28
+ }
29
+ </style>
30
+ <nav class="fixed w-full z-50 py-4 px-6 md:px-12 flex justify-between items-center">
31
+ <a href="/" class="text-2xl font-bold text-white">QUEST</a>
32
+ <div class="hidden md:flex space-x-8">
33
+ <a href="#about" class="text-white">About</a>
34
+ <a href="#projects" class="text-white">Projects</a>
35
+ <a href="#invest" class="text-white">Invest</a>
36
+ <a href="#contact" class="text-white">Contact</a>
37
+ </div>
38
+ <button class="md:hidden text-white" aria-label="mobile menu">
39
+ <i data-feather="menu"></i>
40
+ </button>
41
+ </nav>
42
+ `;
43
+ }
44
+ }
45
+
46
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,102 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Quest | San Diego Real Estate Investments</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <style>
12
+ .hero-image {
13
+ background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('http://static.photos/cityscape/1200x630/42');
14
+ background-size: cover;
15
+ background-position: center;
16
+ }
17
+ </style>
18
+ </head>
19
+ <body class="font-sans antialiased text-gray-800">
20
+ <!-- Navigation -->
21
+ <nav class="absolute w-full z-10 py-6 px-4 md:px-12 flex justify-between items-center">
22
+ <div class="text-2xl font-bold text-white">QUEST</div>
23
+ <div class="hidden md:flex space-x-8">
24
+ <a href="#" class="text-white hover:text-gray-200 transition">About</a>
25
+ <a href="#" class="text-white hover:text-gray-200 transition">Team</a>
26
+ <a href="#" class="text-white hover:text-gray-200 transition">Contact</a>
27
+ </div>
28
+ <button class="md:hidden text-white">
29
+ <i data-feather="menu"></i>
30
+ </button>
31
+ </nav>
32
+
33
+ <!-- Hero Section -->
34
+ <section class="hero-image h-screen flex items-center justify-center text-center px-4">
35
+ <div class="max-w-4xl mx-auto">
36
+ <h1 class="text-4xl md:text-6xl font-bold text-white mb-6">San Diego Real Estate Investments</h1>
37
+ <p class="text-xl text-white mb-12">Building wealth through strategic property investments</p>
38
+
39
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
40
+ <a href="#" class="bg-white bg-opacity-90 hover:bg-opacity-100 text-gray-800 py-4 px-6 rounded-lg transition transform hover:scale-105">
41
+ <div class="flex flex-col items-center">
42
+ <i data-feather="dollar-sign" class="w-8 h-8 mb-2"></i>
43
+ <span class="font-medium">Investor Options</span>
44
+ </div>
45
+ </a>
46
+ <a href="#" class="bg-white bg-opacity-90 hover:bg-opacity-100 text-gray-800 py-4 px-6 rounded-lg transition transform hover:scale-105">
47
+ <div class="flex flex-col items-center">
48
+ <i data-feather="home" class="w-8 h-8 mb-2"></i>
49
+ <span class="font-medium">Previous Projects</span>
50
+ </div>
51
+ </a>
52
+ <a href="#" class="bg-white bg-opacity-90 hover:bg-opacity-100 text-gray-800 py-4 px-6 rounded-lg transition transform hover:scale-105">
53
+ <div class="flex flex-col items-center">
54
+ <i data-feather="tag" class="w-8 h-8 mb-2"></i>
55
+ <span class="font-medium">Sell Your Property</span>
56
+ </div>
57
+ </a>
58
+ <a href="#" class="bg-white bg-opacity-90 hover:bg-opacity-100 text-gray-800 py-4 px-6 rounded-lg transition transform hover:scale-105">
59
+ <div class="flex flex-col items-center">
60
+ <i data-feather="key" class="w-8 h-8 mb-2"></i>
61
+ <span class="font-medium">Rental Properties</span>
62
+ </div>
63
+ </a>
64
+ </div>
65
+ </div>
66
+ </section>
67
+
68
+ <!-- Footer -->
69
+ <footer class="bg-gray-900 text-white py-12 px-4 md:px-12">
70
+ <div class="max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-8">
71
+ <div>
72
+ <h3 class="text-xl font-bold mb-4">QUEST</h3>
73
+ <p class="text-gray-400">San Diego's premier real estate investment firm specializing in strategic property acquisitions and wealth building.</p>
74
+ </div>
75
+ <div>
76
+ <h4 class="font-bold mb-4">Quick Links</h4>
77
+ <ul class="space-y-2">
78
+ <li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
79
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Investment Portfolio</a></li>
80
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
81
+ </ul>
82
+ </div>
83
+ <div>
84
+ <h4 class="font-bold mb-4">Contact</h4>
85
+ <address class="text-gray-400 not-italic">
86
+ <p>123 Coastal Drive</p>
87
+ <p>San Diego, CA 92101</p>
88
+ <p class="mt-2">(619) 555-1234</p>
89
+ <p>info@questinvestments.com</p>
90
+ </address>
91
+ </div>
92
+ </div>
93
+ <div class="max-w-6xl mx-auto mt-8 pt-8 border-t border-gray-800 text-center text-gray-400">
94
+ <p>&copy; 2023 Quest Realty Ventures. All rights reserved.</p>
95
+ </div>
96
+ </footer>
97
+
98
+ <script src="script.js"></script>
99
+ <script>feather.replace();</script>
100
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
101
+ </body>
102
+ </html>
script.js ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Mobile menu toggle functionality
2
+ document.addEventListener('DOMContentLoaded', function() {
3
+ const mobileMenuButton = document.querySelector('button[aria-label="mobile menu"]');
4
+ const mobileMenu = document.querySelector('#mobile-menu');
5
+
6
+ if (mobileMenuButton) {
7
+ mobileMenuButton.addEventListener('click', function() {
8
+ mobileMenu.classList.toggle('hidden');
9
+ });
10
+ }
11
+
12
+ // Smooth scrolling for anchor links
13
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
14
+ anchor.addEventListener('click', function(e) {
15
+ e.preventDefault();
16
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
17
+ behavior: 'smooth'
18
+ });
19
+ });
20
+ });
21
+
22
+ // Add animation to hero buttons on page load
23
+ const heroButtons = document.querySelectorAll('.hero-button');
24
+ heroButtons.forEach((button, index) => {
25
+ setTimeout(() => {
26
+ button.classList.add('animate-fadeInUp');
27
+ }, index * 100);
28
+ });
29
+ });
30
+
31
+ // Intersection Observer for scroll animations
32
+ const observerOptions = {
33
+ threshold: 0.1,
34
+ rootMargin: '0px 0px -50px 0px'
35
+ };
36
+
37
+ const observer = new IntersectionObserver((entries) => {
38
+ entries.forEach(entry => {
39
+ if (entry.isIntersecting) {
40
+ entry.target.classList.add('animate-fadeIn');
41
+ observer.unobserve(entry.target);
42
+ }
43
+ });
44
+ }, observerOptions);
45
+
46
+ document.querySelectorAll('.animate-on-scroll').forEach(element => {
47
+ observer.observe(element);
48
+ });
style.css CHANGED
@@ -1,28 +1,46 @@
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Custom styles */
2
  body {
3
+ overflow-x: hidden;
 
4
  }
5
 
6
+ /* Smooth scrolling */
7
+ html {
8
+ scroll-behavior: smooth;
9
  }
10
 
11
+ /* Button hover effects */
12
+ .btn-hover-effect {
13
+ transition: all 0.3s ease;
 
 
14
  }
15
 
16
+ .btn-hover-effect:hover {
17
+ transform: translateY(-2px);
18
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 
 
 
19
  }
20
 
21
+ /* Responsive typography */
22
+ @media (max-width: 640px) {
23
+ .hero-title {
24
+ font-size: 2.5rem;
25
+ }
26
+ .hero-subtitle {
27
+ font-size: 1.25rem;
28
+ }
29
  }
30
+
31
+ /* Animation for buttons */
32
+ @keyframes pulse {
33
+ 0% {
34
+ transform: scale(1);
35
+ }
36
+ 50% {
37
+ transform: scale(1.05);
38
+ }
39
+ 100% {
40
+ transform: scale(1);
41
+ }
42
+ }
43
+
44
+ .pulse-animation:hover {
45
+ animation: pulse 1.5s infinite;
46
+ }