File size: 3,257 Bytes
c9cc135 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | 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>
);
} |