sage/wwwroot/tenant/index.ui
yumoqing 73ee108cab feat: add tenant landing page with multi-tenant support
- Add /tenant/index.ui using bricks framework (no inline styles)
- Use Image widget for all images (logo, hero, case studies)
- Register /tenant and /tenant/index.ui routes as 'any' permission
- Include responsive CSS with tenant- prefix to avoid conflicts
- Login button redirects to /rbac/user/login.ui
- Support multi-tenant customization via ?tenant=xxx parameter
2026-07-20 14:41:17 +08:00

193 lines
7.6 KiB
XML

{
"widgettype": "VBox",
"options": {
"css": "tenant-landing",
"width": "100%",
"spacing": 0
},
"subwidgets": [
{
"widgettype": "HBox",
"options": {
"css": "tenant-header",
"width": "100%",
"padding": "0 40px",
"alignItems": "center",
"justifyContent": "space-between"
},
"subwidgets": [
{
"widgettype": "Image",
"options": {
"url": "{{entire_url('/tenant/imgs/logo.png')}}",
"css": "tenant-logo"
}
},
{
"widgettype": "HBox",
"options": {
"css": "tenant-nav",
"spacing": "30px",
"alignItems": "center"
},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "Home", "css": "nav-link"}},
{"widgettype": "Text", "options": {"text": "Products", "css": "nav-link"}},
{"widgettype": "Text", "options": {"text": "Use Cases", "css": "nav-link"}},
{"widgettype": "Text", "options": {"text": "News", "css": "nav-link"}}
]
},
{
"widgettype": "Button",
"options": {"label": "Login", "css": "login-btn"},
"binds": [{
"wid": "self",
"event": "click",
"actiontype": "script",
"script": "window.location.href='{{entire_url('/rbac/user/login.ui')}}';"
}]
}
]
},
{
"widgettype": "HBox",
"options": {
"css": "tenant-hero",
"width": "100%",
"padding": "100px 40px",
"alignItems": "center",
"justifyContent": "space-between"
},
"subwidgets": [
{
"widgettype": "VBox",
"options": {"css": "hero-content", "width": "50%", "spacing": "24px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "One Platform · Intelligent Leap · Across All Industries", "css": "hero-title"}},
{"widgettype": "Text", "options": {"text": "Make AI Everywhere, Make AI Easy", "css": "hero-subtitle"}},
{"widgettype": "Button", "options": {"label": "Solutions", "css": "hero-btn"}}
]
},
{
"widgettype": "Image",
"options": {
"url": "{{entire_url('/tenant/imgs/hero-bg.png')}}",
"css": "hero-image"
}
}
]
},
{
"widgettype": "VBox",
"options": {"css": "tenant-solutions", "width": "100%", "padding": "80px 40px", "spacing": "40px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "AI + Solutions", "css": "section-title"}},
{
"widgettype": "HBox",
"options": {"css": "solution-cards", "width": "100%", "spacing": "24px", "justifyContent": "center"},
"subwidgets": [
{
"widgettype": "VBox",
"options": {"css": "solution-card", "width": "30%", "padding": "24px", "spacing": "16px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "Instant Answers", "css": "card-title"}},
{"widgettype": "Text", "options": {"text": "AI-powered Q&A engine built on enterprise private knowledge bases, supporting natural language queries for business data, technical specifications, and policy documents.", "css": "card-text"}},
{
"widgettype": "VBox",
"options": {"spacing": "8px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "< 3 sec Response time", "css": "card-stat"}},
{"widgettype": "Text", "options": {"text": "100% Source traceability", "css": "card-stat"}}
]
}
]
},
{
"widgettype": "VBox",
"options": {"css": "solution-card", "width": "30%", "padding": "24px", "spacing": "16px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "Collaborative Intelligence", "css": "card-title"}},
{"widgettype": "Text", "options": {"text": "Multiple AI agents collaborate autonomously based on role specialization, completing the full workflow of information gathering, data analysis, logical reasoning, and conclusion generation.", "css": "card-text"}},
{
"widgettype": "VBox",
"options": {"spacing": "8px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "10x+ Efficiency improvement", "css": "card-stat"}},
{"widgettype": "Text", "options": {"text": "Real-time Multi-source fusion", "css": "card-stat"}}
]
}
]
},
{
"widgettype": "VBox",
"options": {"css": "solution-card", "width": "30%", "padding": "24px", "spacing": "16px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "Spatial Intelligence", "css": "card-title"}},
{"widgettype": "Text", "options": {"text": "Integrating Geographic Information Systems, satellite remote sensing imagery, and drone aerial photography, AI automatically identifies land feature boundaries and analyzes spatial relationships.", "css": "card-text"}},
{
"widgettype": "VBox",
"options": {"spacing": "8px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "Days to minutes", "css": "card-stat"}},
{"widgettype": "Text", "options": {"text": "90%+ Detection accuracy", "css": "card-stat"}}
]
}
]
}
]
}
]
},
{
"widgettype": "VBox",
"options": {"css": "tenant-cases", "width": "100%", "padding": "80px 40px", "spacing": "40px"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "Use Cases", "css": "section-title"}},
{
"widgettype": "HBox",
"options": {"css": "case-cards", "width": "100%", "spacing": "24px", "justifyContent": "center"},
"subwidgets": [
{
"widgettype": "VBox",
"options": {"css": "case-card", "width": "30%", "spacing": "16px"},
"subwidgets": [
{"widgettype": "Image", "options": {"url": "{{entire_url('/tenant/imgs/case-railway.png')}}", "css": "case-image"}},
{"widgettype": "Text", "options": {"text": "Smart Engineering", "css": "case-title"}},
{"widgettype": "Text", "options": {"text": "China Railway · Huitobid", "css": "case-company"}},
{"widgettype": "Text", "options": {"text": "Built intelligent bidding system covering the full lifecycle from document analysis to smart bid compilation.", "css": "case-desc"}}
]
},
{
"widgettype": "VBox",
"options": {"css": "case-card", "width": "30%", "spacing": "16px"},
"subwidgets": [
{"widgettype": "Image", "options": {"url": "{{entire_url('/tenant/imgs/case-forestry.png')}}", "css": "case-image"}},
{"widgettype": "Text", "options": {"text": "Smart Harvesting", "css": "case-title"}},
{"widgettype": "Text", "options": {"text": "Nanning Forestry Bureau", "css": "case-company"}},
{"widgettype": "Text", "options": {"text": "Intelligent forest harvesting spatial review system integrating GIS, satellite remote sensing, and UAV data.", "css": "case-desc"}}
]
},
{
"widgettype": "VBox",
"options": {"css": "case-card", "width": "30%", "spacing": "16px"},
"subwidgets": [
{"widgettype": "Image", "options": {"url": "{{entire_url('/tenant/imgs/case-port.png')}}", "css": "case-image"}},
{"widgettype": "Text", "options": {"text": "Digital Transformation", "css": "case-title"}},
{"widgettype": "Text", "options": {"text": "Beibu Gulf Port Big Data", "css": "case-company"}},
{"widgettype": "Text", "options": {"text": "Full-stack AI agent solution covering bidding, investment decision-making, and contract review.", "css": "case-desc"}}
]
}
]
}
]
},
{
"widgettype": "HBox",
"options": {"css": "tenant-footer", "width": "100%", "padding": "40px", "justifyContent": "center", "alignItems": "center"},
"subwidgets": [
{"widgettype": "Text", "options": {"text": "© 2024 Open Computing. All rights reserved.", "css": "footer-text"}}
]
}
]
}