cannot use svg
Answered
Blood cockle posted this in #help-forum
Blood cockleOP
i tried adding a svg logo to my website but it doesn't show
Answered by Blanc de Hotot
I'll show you an example:
Create "assets" folder.
See. They are just methods
Create "assets" folder.
See. They are just methods
14 Replies
@Blood cockle i tried adding a svg logo to my website but it doesn't show
Blanc de Hotot
That's not how you do it. Just create react components of the svg's
Blood cockleOP
and is there a tutorial on how to do it
Blanc de Hotot
I'll show you an example:
Create "assets" folder.
See. They are just methods
Create "assets" folder.
See. They are just methods
Answer
Blood cockleOP
ohhh
thank you
Blanc de Hotot
Happy to help
@Blood cockle i tried adding a svg logo to my website but it doesn't show
If you want to use a <img> tag then use this with Logo.src as the source
Logo is an object, but src is the url to that logo file
Blood cockleOP
i got it to work as component
but it makes my navbar bigger ðŸ˜
i fixed it
do you have the source of the .svg file?
@aardani do you have the source of the .svg file?
Blood cockleOP
yeah i got it to work
nicee