reza added blogs to drawer

master
Reza_ashrafi 3 years ago
parent 3b3237afee
commit 00dfe608f9
  1. 12
      blog.svg
  2. 11
      src/components/Drawer.js

@ -1,11 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" width="35.125" height="35.125" viewBox="0 0 35.125 35.125"> <svg xmlns="http://www.w3.org/2000/svg" width="24.055" height="24.055" viewBox="0 0 24.055 24.055">
<g id="vuesax_linear_note-2" data-name="vuesax/linear/note-2" transform="translate(-108 -252)"> <g id="vuesax_linear_note-2" data-name="vuesax/linear/note-2" transform="translate(-108 -252)">
<g id="note-2" transform="translate(108 252)"> <g id="note-2" transform="translate(108 252)">
<path id="Vector" d="M21.5,11.618l-1.434,6.118c-1.229,5.283-3.659,7.42-8.225,6.981a15.388,15.388,0,0,1-2.371-.4l-2.459-.585C.909,22.288-.978,19.273.456,13.155L1.89,7.023A15.33,15.33,0,0,1,2.973,3.8C4.685.261,7.6-.69,12.486.466l2.444.571C21.063,2.471,22.936,5.5,21.5,11.618Z" transform="translate(10.199 3.661)" fill="none" stroke="#292d32" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> <path id="Vector" d="M14.724,7.956l-.982,4.19c-.842,3.618-2.506,5.081-5.633,4.781a10.538,10.538,0,0,1-1.624-.274l-1.684-.4C.623,15.263-.67,13.2.312,9.009l.982-4.2A10.5,10.5,0,0,1,2.036,2.6C3.209.179,5.2-.473,8.551.319L10.225.71C14.425,1.692,15.707,3.767,14.724,7.956Z" transform="translate(6.985 2.507)" fill="none" stroke="#292d32" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<path id="Vector-2" data-name="Vector" d="M19.134,20.914A13.717,13.717,0,0,1,15.7,22.495l-2.312.761c-5.81,1.873-8.869.307-10.757-5.5L.752,11.972C-1.121,6.162.43,3.088,6.241,1.215L8.553.454A14.963,14.963,0,0,1,10.265,0,15.33,15.33,0,0,0,9.182,3.22L7.748,9.352C6.314,15.47,8.2,18.485,14.3,19.934l2.459.585A15.387,15.387,0,0,0,19.134,20.914Z" transform="translate(2.907 7.464)" fill="none" stroke="#292d32" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> <path id="Vector-2" data-name="Vector" d="M13.1,14.323a9.394,9.394,0,0,1-2.352,1.083l-1.583.521c-3.979,1.283-6.074.21-7.367-3.767L.515,8.2C-.768,4.22.294,2.115,4.274.832L5.857.311A10.247,10.247,0,0,1,7.03,0a10.5,10.5,0,0,0-.742,2.205L5.306,6.4c-.982,4.19.31,6.255,4.487,7.247l1.684.4a10.538,10.538,0,0,0,1.626.271Z" transform="translate(1.991 5.112)" fill="none" stroke="#292d32" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<path id="Vector-3" data-name="Vector" d="M0,0,7.1,1.8" transform="translate(18.499 12.484)" fill="none" stroke="#292d32" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> <path id="Vector-3" data-name="Vector" d="M0,0,4.862,1.233" transform="translate(12.669 8.549)" fill="none" stroke="#292d32" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<path id="Vector-4" data-name="Vector" d="M0,0,4.244,1.083" transform="translate(19.919 18.148)" fill="none" stroke="#292d32" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> <path id="Vector-4" data-name="Vector" d="M0,0,2.906.742" transform="translate(13.641 12.428)" fill="none" stroke="#292d32" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
<path id="Vector-5" data-name="Vector" d="M0,0H35.125V35.125H0Z" transform="translate(35.125 35.125) rotate(180)" fill="none" opacity="0"/> <path id="Vector-5" data-name="Vector" d="M0,0H24.055V24.055H0Z" transform="translate(24.055 24.055) rotate(180)" fill="none" opacity="0"/>
</g> </g>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -134,22 +134,21 @@ const Drawer = ({ position, setBoxPosition, user, mobile, theme }) => {
icon: ( icon: (
<Svg <Svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width={35.125} width={24.055}
height={35.125} height={24.055}
style={{ transform : [{scale : 0.8}] }}
> >
<G <G
fill="none" fill="none"
stroke="#292d32" stroke="#292d32"
strokeLinecap="round" strokeLinecap="round"
strokeWidth={1.5}
strokeLinejoin="round" strokeLinejoin="round"
strokeWidth={2}
data-name="vuesax/linear/note-2" data-name="vuesax/linear/note-2"
> >
<Path d="m31.699 15.279-1.434 6.118c-1.229 5.283-3.659 7.42-8.225 6.981a15.388 15.388 0 0 1-2.371-.4l-2.459-.585c-6.102-1.444-7.989-4.459-6.555-10.577l1.434-6.132a15.33 15.33 0 0 1 1.083-3.223c1.712-3.539 4.627-4.49 9.513-3.334l2.444.571c6.133 1.434 8.006 4.463 6.57 10.581Z" /> <Path d="m21.709 10.463-.982 4.19c-.842 3.618-2.506 5.081-5.633 4.781a10.538 10.538 0 0 1-1.624-.274l-1.684-.4c-4.178-.99-5.471-3.053-4.489-7.244l.982-4.2a10.5 10.5 0 0 1 .742-2.209c1.173-2.421 3.164-3.073 6.515-2.281l1.674.391c4.2.982 5.482 3.057 4.499 7.246Z" />
<Path <Path
data-name="Vector" data-name="Vector"
d="M22.041 28.378a13.717 13.717 0 0 1-3.434 1.581l-2.312.761c-5.81 1.873-8.869.307-10.757-5.5l-1.879-5.784c-1.873-5.81-.322-8.884 5.489-10.757l2.312-.761a14.963 14.963 0 0 1 1.712-.454 15.33 15.33 0 0 0-1.083 3.22l-1.434 6.132c-1.434 6.118.452 9.133 6.552 10.582l2.459.585a15.387 15.387 0 0 0 2.375.395ZM18.499 12.484l7.1 1.8M19.919 18.148l4.244 1.083" d="M15.091 19.435a9.394 9.394 0 0 1-2.352 1.083l-1.583.521c-3.979 1.283-6.074.21-7.367-3.767l-1.283-3.96c-1.283-3.98-.221-6.085 3.759-7.368l1.583-.521a10.247 10.247 0 0 1 1.173-.311 10.5 10.5 0 0 0-.742 2.205l-.982 4.195c-.982 4.19.31 6.255 4.487 7.247l1.684.4a10.538 10.538 0 0 0 1.626.271ZM12.669 8.549l4.862 1.233M13.641 12.428l2.906.742"
/> />
</G> </G>
</Svg> </Svg>

Loading…
Cancel
Save