Djanghao's picture
data: publish Widget2Code Data V4
c9cc135
Raw History Blame Contribute Delete
3.26 kB
import { PiCamera, PiMicrophone, PiEyeglasses, PiPuzzlePiece } from "react-icons/pi";
import { SiGooglechrome, SiDeno } from "react-icons/si";
export default function Widget() {
return (
<div style={{
width: '976px',
height: '668px',
position: 'relative',
overflow: 'hidden',
boxSizing: 'border-box',
display: 'flex',
flexDirection: 'column',
gap: '8px',
backgroundColor: 'transparent'
}}>
{/* Top Search Section */}
<div style={{
width: '100%',
height: '180px',
backgroundColor: '#3E3834',
borderRadius: '90px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
boxSizing: 'border-box'
}}>
<div style={{
width: '928px',
height: '132px',
backgroundColor: '#5C4034',
borderRadius: '66px',
display: 'flex',
alignItems: 'center',
padding: '0 32px',
boxSizing: 'border-box',
justifyContent: 'space-between'
}}>
<div style={{ display: 'flex', alignItems: 'center', gap: '24px' }}>
<SiGooglechrome size={56} color="#FFB59B" />
<span style={{
color: '#FFB59B',
fontSize: '44px',
fontWeight: 400,
fontFamily: 'sans-serif',
letterSpacing: '0.5px'
}}>
Pesquisar
</span>
</div>
<div style={{ display: 'flex', alignItems: 'center', gap: '32px', paddingRight: '8px' }}>
<PiCamera weight="bold" size={56} color="#FFB59B" />
<PiMicrophone weight="bold" size={56} color="#FFB59B" />
</div>
</div>
</div>
{/* Bottom Shortcuts Section */}
<div style={{
width: '100%',
flexGrow: 1,
backgroundColor: '#5C4034',
borderRadius: '90px',
padding: '24px',
boxSizing: 'border-box',
display: 'grid',
gridTemplateColumns: '1fr 1fr',
gridTemplateRows: '1fr 1fr',
gap: '24px'
}}>
<div style={{
backgroundColor: '#3E3834',
borderRadius: '66px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
}}>
<PiEyeglasses weight="bold" size={72} color="#FFB59B" />
</div>
<div style={{
backgroundColor: '#3E3834',
borderRadius: '66px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
}}>
<SiDeno size={72} color="#FFB59B" />
</div>
<div style={{
backgroundColor: '#3E3834',
borderRadius: '66px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
}}>
<PiMicrophone weight="bold" size={72} color="#FFB59B" />
</div>
<div style={{
backgroundColor: '#3E3834',
borderRadius: '66px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
}}>
<PiPuzzlePiece weight="bold" size={72} color="#FFB59B" />
</div>
</div>
</div>
);
}