Last active
November 14, 2024 20:08
-
-
Save madskristensen/59f7e2a73a6eee1709d4fe1595cebb5c to your computer and use it in GitHub Desktop.
Social sharing buttons for ASP.NET Core
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Render the partial --> | |
@{await Html.RenderPartialAsync("_SocialSharing", ViewData["Title"]);} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.socialsharing { | |
text-align: center; | |
a { | |
display: inline-block; | |
padding: .7em; | |
line-height: 0; | |
margin-bottom: 2em; | |
} | |
path { | |
fill: gray; | |
} | |
svg { | |
width: 24px; | |
height: 24px; | |
} | |
} |
ty
Is it work on localhost ??
Thanks, it worked can you say how to do it for Instagram ??
The Twitter sharing link is working totally fine (on localhost as well). Thank you!
Thanks
Thanks It's Working.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tnx man