/* global React */
const marketingHeroSite = window.RentLensSite;
function Hero() {
const { isMobile, isTablet } = marketingHeroSite.useViewport();
return (
Used on 42,000+ deals since 2023
Is this property
actually a good investment?
Analyze rental income, ROI, and 5-year returns in seconds. Then act on what we find - inspection, refinance, management - without leaving the page.
Free, no card
·
Results in < 5 sec
·
50 states
);
}
function DashboardPreview() {
const { isMobile } = marketingHeroSite.useViewport();
const inspectionHref = marketingHeroSite.buildHref(marketingHeroSite.paths.app, 'service-inspection');
const refinanceHref = marketingHeroSite.buildHref(marketingHeroSite.paths.app, 'service-refinance');
return (
2418 Linden Ave · Austin, TX
Strong deal
{[
['Net monthly', '+$340', 'var(--good)'],
['Annual ROI', '11.4%', 'var(--ink)'],
['Cash-on-cash', '8.7%', 'var(--ink)'],
].map(([label, value, color]) => (
))}
);
}
function MiniChart() {
const points = [40, 56, 70, 88, 104, 122];
const width = 380;
const height = 120;
const pad = 8;
const max = 130;
const stepX = (width - pad * 2) / (points.length - 1);
const path = points.map((point, index) => `${index === 0 ? 'M' : 'L'} ${pad + index * stepX} ${height - pad - (point / max) * (height - pad * 2)}`).join(' ');
const area = `${path} L ${pad + (points.length - 1) * stepX} ${height - pad} L ${pad} ${height - pad} Z`;
return (
5-year projection
+$84,200 equity
{['Y0', 'Y1', 'Y2', 'Y3', 'Y4', 'Y5'].map((year) => {year})}
);
}
window.Hero = Hero;
window.DashboardPreview = DashboardPreview;
window.MiniChart = MiniChart;