Skip to content

Instantly share code, notes, and snippets.

@onetdev
Last active September 23, 2021 19:30
Show Gist options
  • Save onetdev/ca52bbff077b7063b685cbb90ceacb8a to your computer and use it in GitHub Desktop.
Save onetdev/ca52bbff077b7063b685cbb90ceacb8a to your computer and use it in GitHub Desktop.
function SvgData() {
return <svg
viewBox="0 0 200 100"
width="100%"
height="auto"
>
<defs>
{/* Pink - Orange */}
<linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stopColor="#d616e2" stopOpacity="100%" />
<stop offset="100%" stopColor="#ffa626" stopOpacity="100%" />
</linearGradient>
</defs>
<SvgPath
style={{ filter: "drop-shadow(0 0 5px rgba(0, 0, 0, 0.6))" }}
fill="url(#grad1)"
transform="scale(0.9 0.9) translate(11 20)"
/>
</svg>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment