add new categories
· 1 year ago
8e10feae672e3598af376a497567bef2083bff96
Parent:
f2537c644
2 files changed +247 −174
- housing-comparison-data.json +224 −169
- housing-comparison.html +23 −5
Diff
--- a/housing-comparison-data.json +++ b/housing-comparison-data.json @@ -43,33 +43,38 @@ ] }, { - "category": "Architectural & Structural", - "icon": "bi-bricks", - "items": [ - { - "title": "Basic Construction", - "description": "Older building, possibly with poor insulation leading to high utility bills. Thin walls with poor soundproofing.", - "brands": "Basic wood frame, vinyl or aluminum siding" - }, - { - "title": "Doors & Windows", - "description": "Hollow-core interior doors, single-pane windows that may be drafty. Basic lock on the front door.", - "brands": "Generic, mass-produced hardware" - } - ] + "category": "Architectural & Structural", + "icon": "bi-bricks", + "items": [ + { + "title": "Basic Construction", + "description": "Older building, possibly with poor insulation leading to high utility bills. Thin walls with poor soundproofing.", + "brands": "Basic wood frame, vinyl or aluminum siding" + }, + { + "title": "Doors & Windows", + "description": "Hollow-core interior doors, single-pane windows that may be drafty. Basic lock on the front door.", + "brands": "Generic, mass-produced hardware" + } + ] }, { - "category": "Security & Privacy", - "icon": "bi-lock", - "items": [ - { - "title": "Minimal Security", - "description": "A lock on the front door. Individual bedroom doors may not have locks. No formal security system.", - "brands": "Basic deadbolt (e.g., Kwikset)" - } - ] + "category": "Security & Privacy", + "icon": "bi-lock", + "items": [ + { + "title": "Minimal Security", + "description": "A lock on the front door. Individual bedroom doors may not have locks. No formal security system.", + "brands": "Basic deadbolt (e.g., Kwikset)" + } + ] } - ] + ], + "socialHostingCapacity": "Hosting is not feasible. The living space is shared and not suitable for guests.", + "powerRedundancy": "None. A power outage means no light, no heat/cooling, and no way to charge devices.", + "maintenancePhilosophy": "Reactive & Self-reliant. Issues are often ignored unless critical. Major problems may not be fixed by an absentee landlord.", + "waterSystem": "Shared Municipal. Water quality is dependent on the city's infrastructure. Hot water may be limited by a small, shared water heater.", + "householdStaff": "None. All cleaning and maintenance are done by the tenants." }, { "budget": 800, @@ -112,29 +117,34 @@ "brands": "Commercial machines from Speed Queen or Maytag" }, { - "title": "Mailbox", - "description": "A designated mailbox for the unit, typically in a shared lobby area.", - "brands": "Standard USPS-approved mailboxes" + "title": "Mailbox", + "description": "A designated mailbox for the unit, typically in a shared lobby area.", + "brands": "Standard USPS-approved mailboxes" } ] }, { - "category": "Systems & Utilities", - "icon": "bi-lightning-charge", - "items": [ - { - "title": "Individual Meter", - "description": "Utilities are typically metered and paid for by the tenant. Internet is self-provisioned.", - "brands": "Standard local utilities" - }, - { - "title": "Window AC Unit", - "description": "Basic cooling provided by a tenant-supplied or landlord-provided window or wall unit.", - "brands": "Frigidaire, LG basic models, Midea" - } - ] + "category": "Systems & Utilities", + "icon": "bi-lightning-charge", + "items": [ + { + "title": "Individual Meter", + "description": "Utilities are typically metered and paid for by the tenant. Internet is self-provisioned.", + "brands": "Standard local utilities" + }, + { + "title": "Window AC Unit", + "description": "Basic cooling provided by a tenant-supplied or landlord-provided window or wall unit.", + "brands": "Frigidaire, LG basic models, Midea" + } + ] } - ] + ], + "socialHostingCapacity": "One or two close friends for a very casual get-together in a single room.", + "powerRedundancy": "None. Reliant on the grid. A power outage is a significant disruption.", + "maintenancePhilosophy": "Reactive. The tenant reports issues to the landlord, who fixes them on their own schedule.", + "waterSystem": "Municipal. Standard city water. The tenant pays for their own usage.", + "householdStaff": "None. The tenant is responsible for all cleaning." }, { "budget": 1200, @@ -182,29 +192,34 @@ "brands": "Standard parking facilities" }, { - "title": "Property Management", - "description": "Managed by a company rather than a single landlord, which can mean more standardized service.", - "brands": "Local or regional property management groups" + "title": "Property Management", + "description": "Managed by a company rather than a single landlord, which can mean more standardized service.", + "brands": "Local or regional property management groups" } ] }, { - "category": "Architectural & Structural", - "icon": "bi-bricks", - "items": [ - { - "title": "Standard Finishes", - "description": "Builder-grade carpet in bedrooms, vinyl or laminate flooring elsewhere. Laminate countertops.", - "brands": "Shaw carpeting, Formica countertops" - }, - { - "title": "Basic Insulation", - "description": "Meets basic code requirements, but may not be efficient. Double-pane windows are common.", - "brands": "Standard fiberglass insulation" - } - ] + "category": "Architectural & Structural", + "icon": "bi-bricks", + "items": [ + { + "title": "Standard Finishes", + "description": "Builder-grade carpet in bedrooms, vinyl or laminate flooring elsewhere. Laminate countertops.", + "brands": "Shaw carpeting, Formica countertops" + }, + { + "title": "Basic Insulation", + "description": "Meets basic code requirements, but may not be efficient. Double-pane windows are common.", + "brands": "Standard fiberglass insulation" + } + ] } - ] + ], + "socialHostingCapacity": "A small dinner party for 3-4 people in the living room.", + "powerRedundancy": "None. A building-wide outage affects everyone. No backup systems.", + "maintenancePhilosophy": "Reactive via Property Management. A formal work order system is in place for repairs. Response time can vary.", + "waterSystem": "Municipal. Standard city water with a dedicated water heater for the unit, ensuring consistent hot water.", + "householdStaff": "None. All cleaning is self-performed." }, { "budget": 1800, @@ -253,24 +268,29 @@ "brands": "Standard construction with a sliding glass door" }, { - "title": "Community Amenities", - "description": "Access to a shared community swimming pool and possibly a small, basic fitness room.", - "brands": "Standard pool and gym maintenance" + "title": "Community Amenities", + "description": "Access to a shared community swimming pool and possibly a small, basic fitness room.", + "brands": "Standard pool and gym maintenance" } ] }, { - "category": "Security & Access", - "icon": "bi-key", - "items": [ - { - "title": "Controlled Access", - "description": "Key fob or intercom system for building entry, enhancing security.", - "brands": "Generic security systems" - } - ] + "category": "Security & Access", + "icon": "bi-key", + "items": [ + { + "title": "Controlled Access", + "description": "Key fob or intercom system for building entry, enhancing security.", + "brands": "Generic security systems" + } + ] } - ] + ], + "socialHostingCapacity": "Comfortably host a dinner party for 4-6 people, or a casual gathering of up to 10.", + "powerRedundancy": "None for the unit. The building may have backup power for emergency lights in hallways.", + "maintenancePhilosophy": "Proactive by Tenant, Reactive by Landlord. Tenants may perform minor preventative tasks. Landlord handles all significant repairs.", + "waterSystem": "Municipal. Standard city water, possibly with a faucet-mounted filter for drinking water.", + "householdStaff": "None. A bi-weekly or monthly cleaning service may be affordable for some." }, { "budget": 2800, @@ -319,9 +339,9 @@ "brands": "High-quality pool construction and maintenance" }, { - "title": "Clubhouse & Package Room", - "description": "A residents' lounge for events and a secure package room or locker system.", - "brands": "Luxer One or Amazon Hub package lockers" + "title": "Clubhouse & Package Room", + "description": "A residents' lounge for events and a secure package room or locker system.", + "brands": "Luxer One or Amazon Hub package lockers" } ] }, @@ -335,13 +355,18 @@ "brands": "Nest, Ecobee thermostats; August, Schlage smart locks" }, { - "title": "High-Speed Internet Ready", - "description": "Building is wired for fiber-optic internet, offering top-tier speeds.", - "brands": "AT&T Fiber, Google Fiber, Verizon Fios" + "title": "High-Speed Internet Ready", + "description": "Building is wired for fiber-optic internet, offering top-tier speeds.", + "brands": "AT&T Fiber, Google Fiber, Verizon Fios" } ] } - ] + ], + "socialHostingCapacity": "Host a dinner party for 8-10, or a backyard BBQ for a larger group.", + "powerRedundancy": "Option for a portable generator. The owner might have a small gasoline generator for essentials like the refrigerator and a few outlets.", + "maintenancePhilosophy": "Preventative. The owner follows a maintenance schedule for key systems like HVAC and gutters. Uses professional services.", + "waterSystem": "Municipal with Basic Filtration. A whole-house carbon filter or a reverse osmosis system under the sink is common.", + "householdStaff": "Part-time housekeeper. A cleaning service every 1-2 weeks is typical." }, { "budget": 4500, @@ -390,9 +415,9 @@ "brands": "High-end outdoor furniture from brands like RH Outdoor" }, { - "title": "Valet Parking & EV Charging", - "description": "Convenient valet service for residents and guests, and dedicated EV charging stations.", - "brands": "Third-party valet services, Tesla or ChargePoint chargers" + "title": "Valet Parking & EV Charging", + "description": "Convenient valet service for residents and guests, and dedicated EV charging stations.", + "brands": "Third-party valet services, Tesla or ChargePoint chargers" } ] }, @@ -406,13 +431,18 @@ "brands": "Lutron lighting, Sonos audio, smart shades from Hunter Douglas" }, { - "title": "High-Efficiency Systems", - "description": "Multi-zone HVAC for personalized climate control, and a tankless water heater for endless hot water.", - "brands": "High-end Carrier or Trane systems, Rinnai tankless heaters" + "title": "High-Efficiency Systems", + "description": "Multi-zone HVAC for personalized climate control, and a tankless water heater for endless hot water.", + "brands": "High-end Carrier or Trane systems, Rinnai tankless heaters" } ] } - ] + ], + "socialHostingCapacity": "Host a sophisticated dinner party for 12, or a catered cocktail party for 25-30 people.", + "powerRedundancy": "Automatic Whole-Home Backup. A natural gas or propane generator that automatically powers the entire house during an outage.", + "maintenancePhilosophy": "Preventative with Service Contracts. Annual service contracts are in place for HVAC, security, and landscaping.", + "waterSystem": "Municipal with Multi-Stage Filtration. A whole-house system with filtration and a water softener is standard.", + "householdStaff": "Weekly Housekeeper & Landscaper. A regular cleaning service and a professional landscaping crew." }, { "budget": 7500, @@ -463,33 +493,38 @@ ] }, { - "category": "Architectural & Finishes", - "icon": "bi-gem", - "items": [ - { - "title": "Premium Materials", - "description": "Use of natural stone slabs (marble, quartzite), exotic woods for flooring and cabinetry, and designer hardware.", - "brands": "Plumbing fixtures from Waterworks or Dornbracht; hardware from Rocky Mountain Hardware" - }, - { - "title": "Floor-to-Ceiling Windows", - "description": "Expansive glass walls and floor-to-ceiling windows to maximize views and natural light.", - "brands": "High-end window systems from brands like Pella Architectural or Andersen E-Series" - } - ] + "category": "Architectural & Finishes", + "icon": "bi-gem", + "items": [ + { + "title": "Premium Materials", + "description": "Use of natural stone slabs (marble, quartzite), exotic woods for flooring and cabinetry, and designer hardware.", + "brands": "Plumbing fixtures from Waterworks or Dornbracht; hardware from Rocky Mountain Hardware" + }, + { + "title": "Floor-to-Ceiling Windows", + "description": "Expansive glass walls and floor-to-ceiling windows to maximize views and natural light.", + "brands": "High-end window systems from brands like Pella Architectural or Andersen E-Series" + } + ] }, { "category": "Outdoor Living", "icon": "bi-brightness-high-fill", "items": [ { - "title": "Outdoor Kitchen", - "description": "A fully equipped outdoor kitchen with a high-end grill, refrigerator, sink, and stone countertops.", - "brands": "Grills from Viking, Lynx, or Kalamazoo Outdoor Gourmet" + "title": "Outdoor Kitchen", + "description": "A fully equipped outdoor kitchen with a high-end grill, refrigerator, sink, and stone countertops.", + "brands": "Grills from Viking, Lynx, or Kalamazoo Outdoor Gourmet" } ] } - ] + ], + "socialHostingCapacity": "Host an elegant, catered event for 50+ guests, utilizing indoor and outdoor entertainment spaces.", + "powerRedundancy": "Automatic Whole-Home Backup. A robust natural gas generator capable of running the home for several days without interruption.", + "maintenancePhilosophy": "Proactive Management. A property manager or a dedicated household assistant schedules and oversees all preventative maintenance.", + "waterSystem": "Advanced Purification. A whole-house water filtration and softening system, often with a secondary reverse osmosis system for drinking and cooking water.", + "householdStaff": "Household Manager/Assistant & Team. A part-time household manager may coordinate a team of regular cleaners, landscapers, and pool service." }, { "budget": 12000, @@ -538,29 +573,34 @@ "brands": "Endless Pools, custom gunite pool construction" }, { - "title": "Entertainment Wing", - "description": "A dedicated area with a billiards room, a golf simulator, and a wet bar.", - "brands": "Brunswick tables, TrackMan or Golfzon simulators" + "title": "Entertainment Wing", + "description": "A dedicated area with a billiards room, a golf simulator, and a wet bar.", + "brands": "Brunswick tables, TrackMan or Golfzon simulators" } ] }, { - "category": "Systems & Structure", - "icon": "bi-gear-wide-connected", - "items": [ - { - "title": "Advanced Climate & Air", - "description": "Geothermal heating and cooling, radiant floor heating, and a hospital-grade HEPA air filtration system.", - "brands": "Systems designed by engineering firms" - }, - { - "title": "Power & Water Redundancy", - "description": "A backup generator capable of powering the entire home and a whole-house water filtration system.", - "brands": "Generac or Kohler whole-home generators" - } - ] + "category": "Systems & Structure", + "icon": "bi-gear-wide-connected", + "items": [ + { + "title": "Advanced Climate & Air", + "description": "Geothermal heating and cooling, radiant floor heating, and a hospital-grade HEPA air filtration system.", + "brands": "Systems designed by engineering firms" + }, + { + "title": "Power & Water Redundancy", + "description": "A backup generator capable of powering the entire home and a whole-house water filtration system.", + "brands": "Generac or Kohler whole-home generators" + } + ] } - ] + ], + "socialHostingCapacity": "Host a formal charity event or a large reception for 75-100 people with separate zones for catering staff.", + "powerRedundancy": "Redundant Power Systems. A high-capacity generator plus potential for a solar array with battery storage (like Tesla Powerwalls) for seamless, long-term power.", + "maintenancePhilosophy": "Proactive Asset Management. The home is treated like a portfolio asset. Systems are monitored electronically and replaced before they show signs of failure.", + "waterSystem": "Dual Source with Advanced Treatment. May have both a municipal connection and a private well, with a commercial-grade purification, UV sterilization, and softening system.", + "householdStaff": "Full-Time Housekeeper & Part-Time Staff. At least one full-time, live-out housekeeper, plus a regular team for grounds and pool." }, { "budget": 20000, @@ -604,29 +644,34 @@ "brands": "Custom cellars by Sommi Wine Cellars, Coravin wine preservation systems" }, { - "title": "Smart Window Technology", - "description": "Electrochromic smart glass that tints on demand for privacy and energy efficiency, and acoustically insulated windows.", - "brands": "SageGlass or View smart glass" + "title": "Smart Window Technology", + "description": "Electrochromic smart glass that tints on demand for privacy and energy efficiency, and acoustically insulated windows.", + "brands": "SageGlass or View smart glass" } ] }, { - "category": "Lifestyle & Services", - "icon": "bi-person-rolodex", - "items": [ - { - "title": "On-Site Staff Offices", - "description": "Dedicated office space for a full-time estate manager and other administrative staff.", - "brands": "Equipped with business-grade technology" - }, - { - "title": "Catering & Event Infrastructure", - "description": "A dedicated service entrance, a large catering kitchen, and storage for event supplies, designed to host large functions seamlessly.", - "brands": "Commercial-grade equipment" - } - ] + "category": "Lifestyle & Services", + "icon": "bi-person-rolodex", + "items": [ + { + "title": "On-Site Staff Offices", + "description": "Dedicated office space for a full-time estate manager and other administrative staff.", + "brands": "Equipped with business-grade technology" + }, + { + "title": "Catering & Event Infrastructure", + "description": "A dedicated service entrance, a large catering kitchen, and storage for event supplies, designed to host large functions seamlessly.", + "brands": "Commercial-grade equipment" + } + ] } - ] + ], + "socialHostingCapacity": "Host a large, fully-catered party or a political fundraiser for 100-150 guests, with valet parking and dedicated event spaces.", + "powerRedundancy": "Near Off-Grid Capability. A large generator, extensive battery storage, and significant solar power generation. Can operate independently for a week or more.", + "maintenancePhilosophy": "Full-Time Estate Management. A live-in or full-time estate manager oversees all aspects of the property, its systems, and staff, with a significant annual budget for upkeep.", + "waterSystem": "Private & Purified. A private well with an industrial-grade, multi-stage purification system is common, providing complete water autonomy. Water quality is tested regularly.", + "householdStaff": "Full-Time Estate Manager & Staff. An estate manager directs a team that may include a full-time chef, multiple housekeepers, and groundskeepers." }, { "budget": 35000, @@ -677,22 +722,27 @@ ] }, { - "category": "Unique Structures", - "icon": "bi-building-add", - "items": [ - { - "title": "Equestrian Facilities", - "description": "For properties with extensive grounds, a state-of-the-art stable, paddocks, and private riding trails.", - "brands": "Custom-built stables by companies like Morton Buildings" - }, - { - "title": "Private Observatory", - "description": "For estates in low light-pollution areas, a private observatory with a research-grade telescope.", - "brands": "Telescopes from PlaneWave Instruments" - } - ] + "category": "Unique Structures", + "icon": "bi-building-add", + "items": [ + { + "title": "Equestrian Facilities", + "description": "For properties with extensive grounds, a state-of-the-art stable, paddocks, and private riding trails.", + "brands": "Custom-built stables by companies like Morton Buildings" + }, + { + "title": "Private Observatory", + "description": "For estates in low light-pollution areas, a private observatory with a research-grade telescope.", + "brands": "Telescopes from PlaneWave Instruments" + } + ] } - ] + ], + "socialHostingCapacity": "Host a multi-day event or a gala for 200+ guests, utilizing separate structures like a ballroom or guest house. Requires professional event planning.", + "powerRedundancy": "Complete Energy Independence. The property can operate off-grid indefinitely through a combination of geothermal, solar, battery, and redundant generators.", + "maintenancePhilosophy": "Dedicated Engineering Team. The estate has its own maintenance and engineering staff, similar to a small hotel. They follow a rigorous asset management plan.", + "waterSystem": "On-Site Water Treatment Plant. The estate has its own self-contained water source and a treatment facility that provides purified water for all uses, including irrigation.", + "householdStaff": "Full Household Staff. A complete, live-in staff including an estate director, private chef, butlers, housekeepers, nannies, and a full-time security detail." }, { "budget": 60000, @@ -725,9 +775,9 @@ "brands": "Equipment from Gharieni, KLAFS, and other top-tier spa outfitters" }, { - "title": "IMAX Private Theatre", - "description": "A certified, private IMAX theatre for the ultimate cinematic experience.", - "brands": "IMAX Private Theatre division" + "title": "IMAX Private Theatre", + "description": "A certified, private IMAX theatre for the ultimate cinematic experience.", + "brands": "IMAX Private Theatre division" } ] }, @@ -741,9 +791,9 @@ "brands": "A unique creation by architects like Norman Foster, Kengo Kuma, or the estate of Zaha Hadid" }, { - "title": "Rare & Exotic Materials", - "description": "Use of materials so rare they are almost unattainable, such as book-matched marble from a single quarry block or exotic wood from protected sources.", - "brands": "Sourced by specialists from around the world" + "title": "Rare & Exotic Materials", + "description": "Use of materials so rare they are almost unattainable, such as book-matched marble from a single quarry block or exotic wood from protected sources.", + "brands": "Sourced by specialists from around the world" } ] }, @@ -757,18 +807,23 @@ "brands": "Custom-built by elite global security contractors" }, { - "title": "Independent Infrastructure", - "description": "The estate can operate completely off-grid with its own power generation (solar + battery + generator), water purification, and waste treatment facilities.", - "brands": "Industrial-grade systems from companies like Tesla, Caterpillar" + "title": "Independent Infrastructure", + "description": "The estate can operate completely off-grid with its own power generation (solar + battery + generator), water purification, and waste treatment facilities.", + "brands": "Industrial-grade systems from companies like Tesla, Caterpillar" }, { - "title": "Biometric & Anti-Drone Security", - "description": "Biometric access control for all sensitive areas and anti-drone detection and defense systems.", - "brands": "Systems from companies like Dedrone" + "title": "Biometric & Anti-Drone Security", + "description": "Biometric access control for all sensitive areas and anti-drone detection and defense systems.", + "brands": "Systems from companies like Dedrone" } ] } - ] + ], + "socialHostingCapacity": "Hosting capacity is limited only by imagination. Can accommodate international delegations, corporate retreats, or concerts. Features industrial-scale catering facilities.", + "powerRedundancy": "Triple Redundancy & Hardened. The estate's independent power grid is hardened against physical and cyber threats, with multiple redundant sources ensuring 100% uptime.", + "maintenancePhilosophy": "Predictive & Automated. AI-driven systems monitor all infrastructure, predicting failures before they happen. A full-time engineering team manages the fully automated systems.", + "waterSystem": "Closed-Loop Water System. The property sources, purifies, uses, treats, and recycles its own water on-site, making it completely independent and ecologically neutral.", + "householdStaff": "Corporate-Level Staffing. The household is run like a 5-star hotel, with a formal hierarchy of staff including a Chief of Staff or Director of Residences, security team, and specialized curators." } ], "designThemes": [ --- a/housing-comparison.html +++ b/housing-comparison.html @@ -723,12 +723,10 @@ sqftDisplayEl.textContent = tier.sqft; locationDisplayEl.textContent = tier.location; - // Update title icon if (tier.icon) { titleIconEl.textContent = getIconEmoji(tier.icon); } - // Show/hide home price based on ownership type if (tier.ownershipType === 'own' && tier.homePrice) { homePriceDisplayEl.textContent = tier.homePrice; homePriceSpecEl.style.display = 'block'; @@ -736,9 +734,30 @@ homePriceSpecEl.style.display = 'none'; } - // Update features const oldHTML = housingFeaturesContainer.innerHTML; - const featuresHTML = tier.features.map((category, categoryIdx) => { + + // --- MODIFICATION START --- + // Create a new category for operational/lifestyle features from the new JSON fields. + const operationalCategory = { + category: 'Lifestyle & Operations', + icon: 'bi-clipboard-check', + items: [] + }; + + if (tier.socialHostingCapacity) operationalCategory.items.push({ title: 'Social Hosting Capacity', description: tier.socialHostingCapacity }); + if (tier.powerRedundancy) operationalCategory.items.push({ title: 'Power Redundancy', description: tier.powerRedundancy }); + if (tier.maintenancePhilosophy) operationalCategory.items.push({ title: 'Maintenance Philosophy', description: tier.maintenancePhilosophy }); + if (tier.waterSystem) operationalCategory.items.push({ title: 'Water System', description: tier.waterSystem }); + if (tier.householdStaff) operationalCategory.items.push({ title: 'Household Staff', description: tier.householdStaff }); + + // Create a combined list of features to render. + let featuresToRender = [...tier.features]; + if (operationalCategory.items.length > 0) { + featuresToRender.push(operationalCategory); + } + // --- MODIFICATION END --- + + const featuresHTML = featuresToRender.map((category, categoryIdx) => { const itemsHTML = category.items.map((item, itemIdx) => { const brandsHTML = item.brands ? `<div class="item-brands">${item.brands}</div>` : ''; return ` @@ -783,7 +802,6 @@ slider.addEventListener('input', updateHousingDisplay); - // Initial fade-in animation for categories setTimeout(() => { const categories = document.querySelectorAll('.housing-category.fade-in'); categories.forEach((category, index) => {