-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from docker/da-871-change-twitter-icon
Update twitter icon to X
- Loading branch information
Showing
3 changed files
with
53 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,59 @@ | ||
import './App.css'; | ||
import Confetti from './Confetti'; | ||
import "./App.css"; | ||
import Confetti from "./Confetti"; | ||
|
||
const shareMessage = 'I just ran my first container using Docker' | ||
const shareLink = 'https://docker.com/' | ||
const shareMessage = "I just ran my first container using Docker"; | ||
const shareLink = "https://docker.com/"; | ||
|
||
const App = () => { | ||
return ( | ||
<div className="App"> | ||
<Confetti /> | ||
<header className="App-header"> | ||
<h1 style={{ marginBottom: "0px" }}> | ||
Congratulations!!! | ||
</h1> | ||
<h1 style={{ marginBottom: "0px" }}>Congratulations!!!</h1> | ||
<p style={{ marginTop: "10px", marginBottom: "50px" }}> | ||
You ran your first container. | ||
</p> | ||
<div> | ||
<a target="_blank" href={"https://twitter.com/intent/tweet?text=" + shareMessage + "&url=" + shareLink} class="fa fa-twitter" rel="noopener noreferrer"> </a> | ||
<a target="_blank" href={"https://www.linkedin.com/sharing/share-offsite/?url=" + shareLink} class="fa fa-linkedin" rel="noopener noreferrer"> </a> | ||
<a target="_blank" href={"https://reddit.com/submit?title=" + shareMessage + "&url=" + shareLink} class="fa fa-reddit" rel="noopener noreferrer"> </a> | ||
<a | ||
target="_blank" | ||
href={ | ||
"https://twitter.com/intent/tweet?text=" + | ||
shareMessage + | ||
"&url=" + | ||
shareLink | ||
} | ||
class="fa-brands fa-x-twitter" | ||
rel="noopener noreferrer" | ||
> | ||
{" "} | ||
</a> | ||
<a | ||
target="_blank" | ||
href={ | ||
"https://www.linkedin.com/sharing/share-offsite/?url=" + shareLink | ||
} | ||
class="fa-brands fa-linkedin" | ||
rel="noopener noreferrer" | ||
> | ||
{" "} | ||
</a> | ||
<a | ||
target="_blank" | ||
href={ | ||
"https://reddit.com/submit?title=" + | ||
shareMessage + | ||
"&url=" + | ||
shareLink | ||
} | ||
class="fa-brands fa-reddit" | ||
rel="noopener noreferrer" | ||
> | ||
{" "} | ||
</a> | ||
</div> | ||
</header> | ||
</div> | ||
); | ||
} | ||
}; | ||
|
||
export default App; |