Skip to content

Commit

Permalink
Fixed wrong svg
Browse files Browse the repository at this point in the history
  • Loading branch information
lucfercas committed Oct 24, 2024
1 parent 6696c0d commit 07c9b05
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions frontend/src/components/UsernameForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,23 @@ export function UsernameForm({ input, setInput, avatar, setAvatar, error }) {
aria-label="default avatar image"
className="w-8 h-8"
></img>
<svg
className="w-6 h-6 text-gray-500 dark:text-gray-400"
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
fill="currentColor"
viewBox="0 0 20 20"
>
<path d="M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z" />
</svg>
<span className="absolute bottom-1 right-1 w-3.5 h-3.5 bg-blue-700 rounded-full flex items-center justify-center">
<svg
xmlns="http://www.w3.org/2000/svg"
className="w-2 h-2 text-white"
fill="none"
viewBox="0 0 64 64"
stroke="currentColor"
strokeWidth="0"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
d="M57.52 21.1111C57.5232 22.1978 57.311 23.2743 56.8956 24.2784C56.4803 25.2825 55.87 26.1943 55.1 26.9611L28.56 53.5111C28.2893 53.7779 27.9501 53.9648 27.58 54.0511L11.08 57.7411C10.7514 57.8123 10.4162 57.8492 10.08 57.8511C9.40545 57.8493 8.73969 57.6981 8.13047 57.4085C7.52125 57.1189 6.98368 56.698 6.55638 56.1761C6.12907 55.6542 5.8226 55.0441 5.65898 54.3897C5.49535 53.7353 5.47863 53.0528 5.61 52.3911L8.79002 36.5111C8.86868 36.1243 9.06003 35.7694 9.34001 35.4911L36.48 8.35113C38.0337 6.79994 40.1395 5.92871 42.335 5.92871C44.5305 5.92871 46.6363 6.79994 48.19 8.35113L55.1 15.2511C55.8694 16.0204 56.4792 16.9341 56.8945 17.9398C57.3098 18.9454 57.5223 20.0231 57.52 21.1111Z"
fill="#ffffff"
/>
</svg>
</span>
</>
)}
</span>
Expand Down

0 comments on commit 07c9b05

Please sign in to comment.