1import{x as y,w as P,ap as T,d as C,U as R,W as S,Z as I,j as e,_ as f,f as u,S as M,l as v,ay as A}from"./index-CDqgQ74g.js";import{u as E,r as l}from"./vendor-BO8c4Gey.js";import"./supabase-CFvVQE3m.js";import"./i18n-BBLh2y9V.js";import"./forms-CkyW7xJo.js";import"./date-cwXK75ha.js";function O(){const b=E(),[c,w]=l.useState("all"),[d,j]=l.useState("all"),[o,N]=l.useState(""),[n,m]=l.useState(null),r=[{id:"1",category:"investment",title:"The 1% Rule: Evaluating Rental Property Cash Flow",excerpt:"Learn how to quickly assess whether a rental property will generate positive cash flow using the proven 1% rule methodology.",content:`The 1% rule is a fundamental screening tool used by successful property investors to quickly evaluate potential rental properties. This rule states that the monthly rental income should be at least 1% of the property's purchase price. 2 3**How the 1% Rule Works:** 4 5For example, if you're considering a property that costs £200,000, the monthly rent should be at least £2,000 to meet the 1% threshold. This simple calculation helps you identify properties that are likely to generate positive cash flow. 6 7**Why the 1% Rule Matters:** 8 91. **Quick Screening**: Allows rapid evaluation of multiple properties 102. **Cash Flow Indicator**: Properties meeting this rule typically generate positive cash flow 113. **Market Comparison**: Helps compare opportunities across different areas 124. **Risk Assessment**: Properties below 1% may require higher down payments or have hidden costs 13 14**Limitations to Consider:** 15 16- Market variations: High-value areas like Central London rarely meet the 1% rule 17- Property condition: Renovation costs can impact the calculation 18- Local factors: Consider local rental demand and property taxes 19- Interest rates: Current mortgage rates affect the viability 20 21**Advanced Application:** 22 23Experienced investors often use variations like the 2% rule for higher returns or adjust for local market conditions. In expensive markets, a 0.7% rule might be more realistic while still ensuring profitability. 24 25**Action Steps:** 26 271. Calculate the 1% threshold for any property you're considering 282. Research comparable rental rates in the area 293. Factor in all costs including maintenance, insurance, and vacancy 304. Use this as a starting point, not the final decision criteria`,author:"Sarah Mitchell",authorTitle:"Senior Property Investment Advisor",readTime:8,difficulty:"beginner",tags:["cash flow","investment analysis","property evaluation"],publishDate:"2025-03-15",rating:4.8,views:2847,featured:!0},{id:"2",category:"market",title:"Reading Market Cycles: Timing Your Property Investments",excerpt:"Master the art of market timing with proven strategies for identifying optimal buying and selling opportunities in property cycles.",content:`Understanding property market cycles is crucial for maximizing investment returns. Markets move in predictable patterns, and recognizing these cycles can significantly impact your investment success. 31 32**The Four Phases of Property Cycles:** 33 34**1. Recovery Phase** 35- Prices stabilize after a downturn 36- Transaction volumes increase 37- Rental demand strengthens 38- Best time for strategic acquisitions 39 40**2. Expansion Phase** 41- Prices rise steadily 42- High demand and low supply 43- New construction increases 44- Good time for value-add strategies 45 46**3. Peak Phase** 47- Prices reach maximum levels 48- Market sentiment becomes euphoric 49- Consider profit-taking opportunities 50- Focus on cash flow over appreciation 51 52**4. Contraction Phase** 53- Prices begin to decline 54- Market sentiment turns negative 55- Opportunities for distressed purchases 56- Maintain strong cash reserves 57 58**Key Indicators to Monitor:** 59 60- **Leading Indicators**: Interest rates, employment data, government policy 61- **Coincident Indicators**: Transaction volumes, price changes, rental rates 62- **Lagging Indicators**: Construction completions, mortgage approvals 63 64**Regional Variations:** 65 66Remember that different regions can be in different cycle phases simultaneously. London might be in contraction while Manchester is in expansion. 67 68**Investment Strategies by Phase:** 69 70- **Recovery**: Buy quality properties at discounted prices
71- **Expansion**: Focus on value-add and development opportunities 72- **Peak**: Harvest gains and prepare for the next cycle 73- **Contraction**: Build cash reserves and identify future opportunities 74 75**2025 Market Context:** 76 77Current indicators suggest most UK markets are in late expansion phase, with some regional variations. Interest rate stability and government housing policies will be key factors to watch.`,author:"David Chen",authorTitle:"Market Analysis Director",readTime:12,difficulty:"intermediate",tags:["market timing","investment strategy","market analysis"],publishDate:"2025-03-12",rating:4.9,views:1923,featured:!0},{id:"3",category:"legal",title:"2025 Rental Reform Act: Complete Compliance Guide",excerpt:"Navigate the new rental regulations with confidence. Essential changes every landlord must understand and implement.",content:`The 2025 Rental Reform Act represents the most significant change to rental law in decades. This comprehensive guide covers everything you need to know to stay compliant. 78 79**Key Changes Overview:** 80 81**1. Section 21 Abolition** 82- No-fault evictions eliminated 83- Landlords must use Section 8 with valid grounds 84- Enhanced tenant security of tenure 85 86**2. Enhanced Tenant Rights** 87- Right to request pets (landlords cannot unreasonably refuse) 88- Stronger protection against retaliatory eviction 89- Improved dispute resolution processes 90 91**3. Property Standards** 92- Minimum space standards introduced 93- Enhanced energy efficiency requirements 94- Stricter safety regulations 95 96**Implementation Timeline:** 97 98**Phase 1 (Completed - June 2025):** 99- Basic tenancy agreement updates 100- Initial property standard requirements 101 102**Phase 2 (September 2025):** 103- Pet provisions come into effect 104- Enhanced dispute resolution procedures 105 106**Phase 3 (December 2025):** 107- Full Section 21 abolition 108- Complete property standard implementation 109 110**Compliance Checklist:** 111 112â **Immediate Actions:** 113- Update all tenancy agreements 114- Review pet policies 115- Implement new dispute procedures 116- Train staff on new requirements 117 118â **Ongoing Requirements:** 119- Regular property standard assessments 120- Enhanced record keeping 121- Proactive tenant communication 122- Legal compliance monitoring 123 124**Common Pitfalls to Avoid:** 125 1261. **Using outdated tenancy agreements** 1272. **Ignoring pet request procedures** 1283. **Inadequate dispute documentation** 1294. **Failing to meet property standards** 130 131**Best Practices:** 132 133- Maintain detailed records of all tenant interactions 134- Implement regular property inspections 135- Establish clear communication channels 136- Seek legal advice for complex situations 137 138**Resources for Compliance:** 139 140- Government guidance documents 141- Legal template updates 142- Professional training courses 143- Compliance monitoring tools`,author:"Emma Thompson",authorTitle:"Property Law Specialist",readTime:15,difficulty:"intermediate",tags:["legal compliance","2025 reforms","rental law"],publishDate:"2025-03-10",rating:4.9,views:3456,featured:!0},{id:"4",category:"management",title:"Tenant Retention Strategies That Actually Work",excerpt:"Reduce void periods and increase profitability with proven tenant retention techniques used by successful property managers.",content:`Tenant retention is one of the most effective ways to maximize rental property profitability. The cost of tenant turnover can be substantial, making retention strategies essential for success. 144 145**The True Cost of Tenant Turnover:** 146 147- Lost rent during void periods (average 3-6 weeks) 148- Marketing and advertising costs (£200-500) 149- Property preparation and cleaning (£300-800) 150- Administrative time and effort 151- Potential rent reductions to attract new tenants 152 153**Proven Retention Strategies:** 154 155**1. Proactive Communication** 156- Regular check-ins (quarterly property updates) 157- Prompt response to maintenance requests 158- Clear communication channels 159- Annual tenant satisfaction surveys 160 161**2. Property Maintenance Excellence** 162- Preventive maintenance programs 163- Quick response to repair requests 164- Regular property improvements 165- Seasonal maintenance schedules 166 167**3. Competitive Rent Management** 168- Annual market rent reviews 169- Gradual increases aligned with market rates 170- Value-add improvements to justify increases 171- Flexible payment options when appropriate 172 173**4. Tenant Experience Enhancement** 174- Welcome packages for new tenants 175- Local area guides and recommendations 176- Emergency contact procedures 177- Digital communication platforms 178 179**5. Incentive Programs** 180- Lease renewal bonuses 181- Referral rewards for quality tenants 182- Long-term lease discounts 183- Property improvement consultations 184 185**Advanced Retention Techniques:** 186 187**Personalized Service:** 188- Remember tenant preferences and important dates 189- Offer customization options where possible 190- Provide local community information 191- Facilitate neighbor introductions 192 193**Technology Integration:** 194- Online maintenance request systems 195- Digital rent payment options 196- Property management apps 197- Virtual property tours for renewals 198 199**Measuring Success:** 200 201Track these key metrics: 202- Tenant retention rate (aim for 80%+) 203- Average tenancy length 204- Void period duration 205- Tenant satisfaction scores 206- Renewal rate by property type 207 208**When Retention Isn't Possible:** 209 210Sometimes tenant turnover is inevitable or even beneficial: 211- Problematic tenants affecting other properties 212- Market rent significantly above current rent 213- Property requiring major renovations 214- Strategic portfolio changes 215 216**ROI of Retention:** 217 218Studies show that increasing tenant retention by just 10% can improve net operating income by 15-25%, making retention strategies one of the highest-ROI activities for property investors.`,author:"Michael Roberts",authorTitle:"Property Management Expert",readTime:10,difficulty:"intermediate",tags:["tenant retention","property management","profitability"],publishDate:"2025-03-08",rating:4.7,views:2134,featured:!1},{id:"5",category:"finance",title:"Tax Optimization Strategies for Property Investors",excerpt:"Maximize your after-tax returns with legitimate tax planning strategies and allowable deductions for property investors.",content:`Effective tax planning can significantly impact your property investment returns. Understanding allowable deductions and optimization strategies is crucial for maximizing after-tax income. 219 220**Allowable Deductions for Property Investors:** 221 222**1. Property Management Expenses** 223- Letting agent fees 224- Property management software
225- Advertising and marketing costs 226- Tenant finding fees 227 228**2. Maintenance and Repairs** 229- Routine maintenance and repairs 230- Emergency repairs 231- Decorating and refurbishment 232- Garden maintenance 233 234**3. Professional Services** 235- Accountancy fees 236- Legal fees for tenancy matters 237- Property management advice 238- Tax planning consultations 239 240**4. Insurance and Safety** 241- Buildings and contents insurance 242- Landlord liability insurance 243- Safety certificate costs 244- Security system expenses 245 246**5. Finance Costs** 247- Mortgage interest (subject to restrictions) 248- Loan arrangement fees 249- Bank charges related to property 250- Bridging finance costs 251 252**Advanced Tax Strategies:** 253 254**Incorporation Considerations:** 255- Limited company vs personal ownership 256- Corporation tax vs income tax rates 257- Dividend extraction strategies 258- Capital gains implications 259 260**Capital Allowances:** 261- Furniture and equipment 262- Integral features (kitchens, bathrooms) 263- Plant and machinery 264- Energy-efficient improvements 265 266**Timing Strategies:** 267- Expense timing optimization 268- Capital vs revenue expenditure 269- Disposal timing for capital gains 270- Pension contribution coordination 271 272**Record Keeping Best Practices:** 273 274**Essential Documentation:** 275- All receipts and invoices 276- Bank statements and payment records 277- Tenancy agreements and rent rolls 278- Property improvement records 279 280**Digital Organization:** 281- Cloud-based accounting software 282- Receipt scanning apps 283- Automated bank feed integration 284- Regular backup procedures 285 286**Common Tax Mistakes to Avoid:** 287 2881. **Poor record keeping** - Missing deductions due to lost receipts 2892. **Capital vs revenue confusion** - Incorrectly categorizing expenses 2903. **Timing errors** - Not optimizing when expenses are claimed 2914. **Incorporation timing** - Making structural changes at wrong time 292 293**2025 Tax Updates:** 294 295Recent changes affecting property investors: 296- Enhanced capital allowances for energy improvements 297- Updated mortgage interest relief rules 298- New reporting requirements for digital platforms 299- Revised capital gains tax rates 300 301**Professional Advice:** 302 303While this guide covers key strategies, tax planning should be tailored to your specific circumstances. Consider consulting with a qualified accountant specializing in property taxation.`,author:"Rachel Green",authorTitle:"Tax Planning Specialist",readTime:14,difficulty:"advanced",tags:["tax planning","deductions","property finance"],publishDate:"2025-03-05",rating:4.8,views:1876,featured:!1},{id:"6",category:"technology",title:"PropTech Revolution: Essential Tools for Modern Landlords",excerpt:"Discover how technology is transforming property management and which tools can streamline your operations and boost profitability.",content:`The property technology (PropTech) revolution is transforming how landlords and property managers operate. Embracing the right technologies can significantly improve efficiency, reduce costs, and enhance tenant satisfaction. 304 305**Essential PropTech Categories:** 306 307**1. Property Management Platforms** 308- Centralized tenant communication 309- Maintenance request tracking 310- Rent collection automation 311- Document storage and management 312 313**2. Financial Management Tools** 314- Automated accounting and bookkeeping 315- Expense tracking and categorization 316- Tax preparation assistance 317- Performance analytics and reporting 318 319**3. Tenant Screening Technology** 320- AI-powered credit assessment 321- Background check automation 322- Reference verification systems 323- Risk scoring algorithms 324 325**4. Smart Property Technology** 326- IoT sensors for monitoring 327- Smart locks and access control 328- Energy management systems 329- Predictive maintenance alerts 330 331**5. Market Intelligence Platforms** 332- Rental rate optimization
333- Market trend analysis 334- Competitive property analysis 335- Investment opportunity identification 336 337**Implementation Strategy:** 338 339**Phase 1: Foundation (Months 1-2)** 340- Implement core property management platform 341- Set up automated rent collection 342- Digitize essential documents 343- Establish tenant communication channels 344 345**Phase 2: Optimization (Months 3-6)** 346- Add financial management tools 347- Implement tenant screening technology 348- Integrate market intelligence 349- Set up performance monitoring 350 351**Phase 3: Advanced Features (Months 6+)** 352- Deploy smart property technology 353- Implement predictive analytics 354- Add AI-powered insights 355- Integrate with external services 356 357**ROI Considerations:** 358 359**Time Savings:** 360- 60-80% reduction in administrative tasks 361- Automated routine communications 362- Streamlined maintenance coordination 363- Simplified financial reporting 364 365**Cost Reductions:** 366- Lower vacancy rates through better tenant screening 367- Reduced maintenance costs via predictive monitoring 368- Decreased administrative overhead 369- Improved rent collection rates 370 371**Revenue Enhancement:** 372- Optimized rental pricing 373- Faster tenant placement 374- Improved tenant retention 375- Better property performance monitoring 376 377**Technology Selection Criteria:** 378 379**Essential Features:** 380- User-friendly interface 381- Mobile accessibility 382- Integration capabilities 383- Scalability for portfolio growth 384 385**Security Considerations:** 386- Data encryption and protection 387- GDPR compliance 388- Regular security updates 389- Backup and recovery systems 390 391**Popular PropTech Solutions:** 392 393**Property Management:** 394- Buildium, AppFolio, Rent Manager 395- Specialized UK platforms like Goodlord, OpenRent 396 397**Financial Management:** 398- QuickBooks, Xero, FreeAgent 399- Property-specific tools like PropertyRadar 400 401**Market Intelligence:** 402- Rightmove Analytics, Zoopla Pro 403- Specialized platforms like Property Data 404 405**Future Trends:** 406 407- AI-powered predictive maintenance 408- Blockchain for property transactions 409- Virtual and augmented reality for viewings 410- Advanced IoT integration 411 412**Getting Started:** 413 4141. Assess your current processes and pain points 4152. Research solutions that address your specific needs 4163. Start with core functionality and expand gradually 4174. Ensure proper training for all users 4185. Monitor ROI and adjust as needed 419 420The key to successful PropTech adoption is starting with your most pressing needs and gradually building a comprehensive technology stack that supports your business goals.`,author:"James Wilson",authorTitle:"PropTech Innovation Consultant",readTime:11,difficulty:"intermediate",tags:["technology","automation","efficiency"],publishDate:"2025-03-03",rating:4.6,views:1654,featured:!1}],g=[{value:"all",label:"All Categories",icon:y,count:r.length},{value:"investment",label:"Investment Strategies",icon:P,count:r.filter(t=>t.category==="investment").length},{value:"market",label:"Market Analysis",icon:T,count:r.filter(t=>t.category==="market").length},{value:"legal",label:"Legal & Compliance",icon:C,count:r.filter(t=>t.category==="legal").length},{value:"management",label:"Property Management",icon:R,count:r.filter(t=>t.category==="management").length},{value:"finance",label:"Finance & Tax",icon:S,count:r.filter(t=>t.category==="finance").length},{value:"technology",label:"PropTech",icon:I,count:r.filter(t=>t.category==="technology").length}],h=r.filter(t=>{const a=c==="all"||t.category===c,i=d==="all"||t.difficulty===d,s=o===""||t.title.toLowerCase().includes(o.toLowerCase())||t.excerpt.toLowerCase().includes(o.toLowerCase())||t.tags.some(k=>k.toLowerCase().includes(o.toLowerCase()));return a&&i&&s}),p=t=>{switch(t){case"beginner":return"bg-green-100 text-green-800";case"intermediate":return"bg-yellow-100 text-yellow-800";case"advanced":return"bg-red-100 text-red-800";default:return"bg-gray-100 text-gray-800"}},x=t=>{const a=g.find(i=>i.value===t);return(a==null?void 0:a.icon)||y};return n?e.jsxs("div",{className:"min-h-screen bg-brand-ghost pt-16",children:[e.jsx("div",{className:"bg-white shadow-sm",children:e.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-6",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("button",{onClick:()=>m(null),className:"text-gray-600 hover:text-gray-900 mr-4",children:e.jsx(f,{className:"w-5 h-5"})}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl font-bold text-gray-900",children:n.title}),e.jsxs("div",{className:"flex items-center space-x-4 mt-2 text-sm text-gray-600",children:[e.jsxs("span",{children:["By ",n.author]}),e.jsx("span",{children:"â¢"}),e.jsxs("span",{children:[n.readTime," min read"]}),e.jsx("span",{children:"â¢"}),e.jsx("span",{className:`px-2 py-1 rounded-full text-xs font-medium ${p(n.difficulty)}`,children:n.difficulty})]})]})]})})}),e.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-8",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsxs("div",{className:"bg-white rounded-xl shadow-sm p-8",children:[e.jsx("div",{className:"prose max-w-none",children:n.content.split(` 421 422`).map((t,a)=>t.startsWith("**")&&t.endsWith("**")?e.jsx("h3",{className:"text-xl font-bold text-gray-900 mt-8 mb-4",children:t.replace(/\*\*/g,"")},a):t.startsWith("â ")?e.jsx("div",{className:"bg-green-50 p-4 rounded-lg my-4",children:e.jsx("p",{className:"text-green-800",children:t})},a):e.jsx("p",{className:"text-gray-700 mb-4 leading-relaxed",children:t},a))}),e.jsx("div",{className:"mt-8 pt-8 border-t border-gray-200",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center space-x-4",children:[e.jsx("div",{className:"flex",children:[...Array(5)].map((t,a)=>e.jsx(u,{className:`w-5 h-5 ${a<Math.floor(n.rating)?"text-yellow-400 fill-current":"text-gray-300"}`},a))}),e.jsxs("span",{className:"text-gray-600",children:[n.rating," (",n.views.toLocaleStr
422ing()," views)"]})]}),e.jsx("div",{className:"flex items-center space-x-2",children:n.tags.map((t,a)=>e.jsx("span",{className:"bg-primary-100 text-primary-700 px-3 py-1 rounded-full text-sm",children:t},a))})]})})]})})})]}):e.jsxs(e.Fragment,{children:[e.jsx(M,{title:"Expert Property Investment Tips & Landlord Guides | Rent Fix Legals",description:"Educational articles from senior property investment advisors covering cash flow analysis, market timing, legal updates, and portfolio management strategies for UK landlords.",keywords:"property investment tips, landlord guides UK, rental property advice, buy to let strategy, property management tips, investment analysis",canonicalPath:"/property-intelligence/expert-tips"}),e.jsxs("div",{className:"min-h-screen bg-brand-ghost pt-16",children:[e.jsx("div",{className:"bg-white shadow-sm",children:e.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-6",children:e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx("button",{onClick:()=>b("/property-intelligence"),className:"text-gray-600 hover:text-gray-900 mr-4",children:e.jsx(f,{className:"w-5 h-5"})}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl font-bold text-gray-900",children:"Expert Tips & Guidance"}),e.jsx("p",{className:"text-gray-600",children:"Professional insights from industry experts and successful investors"})]})]})})})}),e.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[e.jsxs("div",{className:"mb-12",children:[e.jsx("h2",{className:"text-2xl font-bold mb-6",children:"Featured Expert Tips"}),e.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:r.filter(t=>t.featured).map(t=>{const a=x(t.category);return e.jsx("div",{className:"bg-white rounded-xl shadow-lg border border-gray-100 overflow-hidden hover:shadow-xl transition-all duration-300 hover:-translate-y-1 cursor-pointer",onClick:()=>m(t),children:e.jsxs("div",{className:"p-8",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(a,{className:"w-6 h-6 text-primary-600 mr-3"}),e.jsx("span",{className:"bg-primary-100 text-primary-700 px-3 py-1 rounded-full text-sm font-medium capitalize",children:t.category})]}),e.jsx("div",{className:"bg-yellow-100 text-yellow-700 px-3 py-1 rounded-full text-sm font-medium",children:"Featured"})]}),e.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-3",children:t.title}),e.jsx("p",{className:"text-gray-600 mb-6",children:t.excerpt}),e.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-500 mb-4",children:[e.jsxs("div",{className:"flex items-center space-x-4",children:[e.jsxs("span",{children:["By ",t.author]}),e.jsx("span",{children:"â¢"}),e.jsxs("span",{children:[t.readTime," min read"]})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex",children:[...Array(5)].map((i,s)=>e.jsx(u,{className:`w-4 h-4 ${s<Math.floor(t.rating)?"text-yellow-400 fill-current":"text-gray-300"}`},s))}),e.jsx("span",{className:"ml-2",children:t.rating})]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:`px-3 py-1 rounded-full text-sm font-medium ${p(t.difficulty)}`,children:t.difficulty}),e.jsxs("span",{className:"text-primary-600 font-semibold hover:text-primary-700 inline-flex items-center",children:["Read Full Article",e.jsx(v,{className:"w-4 h-4 ml-2"})]})]})]})},t.id)})})]}),e.jsx("div",{className:"bg-white rounded-xl shadow-sm p-6 mb-8",children:e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-4",children:[e.jsxs("div",{className:"relative",children:[e.jsx(A,{className:"w-5 h-5 absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"}),e.jsx("input",{type:"text",placeholder:"Search expert tips...",value:o,onChange:t=>N(t.target.value),className:"pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500"})]}),e.jsxs("select",{value:d,onChange:t=>j(t.target.value),className:"px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-primary-500",children:[e.jsx("option",{value:"all",children:"All Levels"}),e.jsx("option",{value:"beginner",children:"Beginner"}),e.jsx("option",{value:"intermediate",children:"Intermediate"}),e.jsx("option",{value:"advanced",children:"Advanced"})]})]}),e.jsxs("div",{className:"text-sm text-gray-600",children:[h.length," of ",r.length," articles shown"]})]})}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-7 gap-4 mb-8",children:g.map(t=>e.jsxs("button",{onClick:()=>w(t.value),className:`p-4 rounded-xl border transition-all ${c===t.value?"bg-primary-600 text-white border-primary-600":"bg-white text-gray-700 border-gray-200 hover:border-primary-300 hover:bg-primary-50"}`,children:[e.jsx(t.icon,{className:"w-6 h-6 mx-auto mb-2"}),e.jsx("div",{className:"text-sm font-medium",children:t.label}),e.jsxs("div",{className:"text-xs opacity-75",children:["(",t.count,")"]})]},t.value))}),e.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:h.map(t=>{const a=x(t.category);return e.jsx("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden hover:shadow-lg transition-all duration-300 hover:-translate-y-1 cursor-pointer",onClick:()=>m(t),children:e.jsxs("div",{className:"p-6",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(a,{className:"w-5 h-5 text-primary-600 mr-2"}),e.jsx("span",{className:"bg-primary-100 text-primary-700 px-3 py-1 rounded-full text-sm font-medium capitalize",children:t.category})]}),t.featured&&e.jsx("div",{className:"bg-yellow-100 text-yellow-700 px-2 py-1 rounded-full text-xs font-medium",children:"Featured"})]}),e.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-3",children:t.title}),e.jsx("p",{className:"text-gray-600 mb-4 text-sm",children:t.excerpt}),e.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-500 mb-4",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("span",{children:t.author}),e.jsx("span",{children:"â¢"}),e.jsxs("span",{children:[t.readTime," min"]})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"flex",children:[...Array(5)].map((i,s)=>e.jsx(u,{className:`w-3 h-3 ${s<Math.floor(t.rating)?"text-yellow-400 fill-current":"text-gray-300"}`},s))}),e.jsx("span",{className:"ml-1",children:t.rating})]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:`px-3 py-1 rounded-full text-sm font-medium ${p(t.difficulty)}`,children:t.difficulty}),e.jsxs("span",{className:"text-primary-600 font-semibold hover:text-primary-700
422inline-flex items-center",children:["Read Article",e.jsx(v,{className:"w-4 h-4 ml-1"})]})]}),e.jsx("div",{className:"mt-4 pt-4 border-t border-gray-100",children:e.jsx("div",{className:"flex flex-wrap gap-2",children:t.tags.map((i,s)=>e.jsx("span",{className:"bg-gray-100 text-gray-600 px-2 py-1 rounded text-xs",children:i},s))})})]})},t.id)})}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm p-8 mt-12",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-6",children:"Our Expert Contributors"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("img",{src:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",alt:"Sarah Mitchell",className:"w-20 h-20 rounded-full mx-auto mb-4 object-cover"}),e.jsx("h3",{className:"font-semibold text-gray-900",children:"Sarah Mitchell"}),e.jsx("p",{className:"text-gray-600 text-sm",children:"Senior Property Investment Advisor"}),e.jsx("p",{className:"text-gray-500 text-xs mt-2",children:"15+ years experience, £50M+ transactions"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("img",{src:"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",alt:"David Chen",className:"w-20 h-20 rounded-full mx-auto mb-4 object-cover"}),e.jsx("h3",{className:"font-semibold text-gray-900",children:"David Chen"}),e.jsx("p",{className:"text-gray-600 text-sm",children:"Market Analysis Director"}),e.jsx("p",{className:"text-gray-500 text-xs mt-2",children:"PhD Economics, Former RICS analyst"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("img",{src:"https://images.unsplash.com/photo-1494790108755-2616b612b786?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",alt:"Emma Thompson",className:"w-20 h-20 rounded-full mx-auto mb-4 object-cover"}),e.jsx("h3",{className:"font-semibold text-gray-900",children:"Emma Thompson"}),e.jsx("p",{className:"text-gray-600 text-sm",children:"Property Law Specialist"}),e.jsx("p",{className:"text-gray-500 text-xs mt-2",children:"Barrister, 20+ years property law"})]})]})]})]})]})]})}export{O as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.