forked from madskristensen/PhotoGallery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64f562c
commit 02cb47f
Showing
9 changed files
with
43 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@model string | ||
@{ | ||
string currentUrl = Context.Request.Scheme + "://" + Context.Request.Host + Context.Request.Path; | ||
string enc = System.Net.WebUtility.UrlEncode(currentUrl); | ||
string text = System.Net.WebUtility.UrlEncode(Model); | ||
} | ||
|
||
<ul class="share-buttons"> | ||
<li> | ||
<a href="https://twitter.com/intent/tweet?source=@enc&text=@text" target="_blank" title="Tweet" rel="noreferrer noopener"> | ||
<img alt="Tweet" src="~/img/twitter.png" width="32" height="32" /> | ||
</a> | ||
</li> | ||
<li> | ||
<a href="http://pinterest.com/pin/create/button/?url=@enc&description=@text" target="_blank" title="Pin it" rel="noreferrer noopener"> | ||
<img alt="Pin it" src="~/img/pinterest.png" width="32" height="32" /> | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://www.facebook.com/sharer/sharer.php?u=@enc" title="Share on Facebook" target="_blank" rel="noreferrer noopener"> | ||
<img alt="Share on Facebook" src="~/img/facebook.png" width="32" height="32" /> | ||
</a> | ||
</li> | ||
</ul> |
This file contains 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
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.