Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized function calls.
This commit is contained in:
@@ -155,7 +155,7 @@ export function Hero3DRobotics() {
|
||||
</h1>
|
||||
|
||||
<p style={{ margin: 0, color: '#DEE0F0', fontSize: 'clamp(1rem, 2vw, 1.18rem)', lineHeight: 1.7, maxWidth: 600, fontWeight: 300 }}>
|
||||
YS Lootah Robotics is the exclusive UAE sales destination for selected Unitree and Pudu Robotics solutions — helping businesses explore, configure, book demos, and deploy advanced robots across Dubai and the UAE.
|
||||
YS Lootah Robotics is the exclusive UAE sales destination for selected Unitree and Pudu Robotics solutions helping businesses explore, configure, book demos, and deploy advanced robots across Dubai and the UAE.
|
||||
</p>
|
||||
<p style={{ margin: 0, color: '#BFC3E2', fontSize: '0.78rem', letterSpacing: '0.32em', textTransform: 'uppercase', fontWeight: 600 }}>
|
||||
In Tech We Innovate · In Trust We Lead
|
||||
@@ -309,7 +309,7 @@ export function Hero3DRobotics() {
|
||||
}}
|
||||
/>
|
||||
|
||||
{/* Robot image — main */}
|
||||
{/* Robot image main */}
|
||||
{FEATURED_ROBOTS.map((r, idx) => (
|
||||
<div
|
||||
key={r.id}
|
||||
@@ -416,7 +416,7 @@ export function Hero3DRobotics() {
|
||||
}}
|
||||
/>
|
||||
|
||||
{/* Edge glass glare — silver/blue rim light */}
|
||||
{/* Edge glass glare silver/blue rim light */}
|
||||
<div
|
||||
aria-hidden
|
||||
style={{
|
||||
@@ -444,7 +444,7 @@ export function Hero3DRobotics() {
|
||||
}}
|
||||
/>
|
||||
|
||||
{/* Floating labels — keyed to active robot + parallax */}
|
||||
{/* Floating labels keyed to active robot + parallax */}
|
||||
<div className="hero-labels" aria-hidden>
|
||||
{labels.map((l, i) => {
|
||||
/* labels drift opposite to tilt for parallax depth */
|
||||
|
||||
Reference in New Issue
Block a user