|
| 1 | +import React from "react"; |
| 2 | +import { FaGithub, FaLinkedin } from "react-icons/fa"; |
| 3 | +import { GrInstagram } from "react-icons/gr"; |
| 4 | +import { FaXTwitter } from "react-icons/fa6"; |
| 5 | +import { IoLogoYoutube } from "react-icons/io"; |
| 6 | +import IconButton from "./IconButton"; |
| 7 | + |
| 8 | +function App() { |
| 9 | + const containerStyle = { |
| 10 | + display: "flex", |
| 11 | + alignItems: "center", |
| 12 | + justifyContent: "center", |
| 13 | + gap: "1rem" // equivalent to gap-4 |
| 14 | + }; |
| 15 | + |
| 16 | + const iconStyle = { color: "white" }; // Style for white icons |
| 17 | + |
| 18 | + return ( |
| 19 | + <div style={containerStyle}> |
| 20 | + <a href="https://github.com/DhanushNehru" target="_blank" rel="noopener noreferrer" style={{ textDecoration: "none" }}> |
| 21 | + <IconButton text="DhanushNehru"> |
| 22 | + <FaGithub size={30} style={iconStyle} /> |
| 23 | + </IconButton> |
| 24 | + </a> |
| 25 | + <a href="https://www.linkedin.com/in/dhanushnehru/" target="_blank" rel="noopener noreferrer" style={{ textDecoration: "none" }}> |
| 26 | + <IconButton text="dhanushnehru" color="#316FF6"> |
| 27 | + <FaLinkedin size={30} style={iconStyle} /> |
| 28 | + </IconButton> |
| 29 | + </a> |
| 30 | + <a href="https://www.instagram.com/dhanush_nehru/" target="_blank" rel="noopener noreferrer" style={{ textDecoration: "none" }}> |
| 31 | + <IconButton text="dhanush_nehru" color="#d62976"> |
| 32 | + <GrInstagram size={30} style={iconStyle} /> |
| 33 | + </IconButton> |
| 34 | + </a> |
| 35 | + <a href="https://x.com/Dhanush_Nehru" target="_blank" rel="noopener noreferrer" style={{ textDecoration: "none" }}> |
| 36 | + <IconButton text="Dhanush_Nehru" color="black"> |
| 37 | + <FaXTwitter size={30} style={iconStyle} /> |
| 38 | + </IconButton> |
| 39 | + </a> |
| 40 | + <a href="https://www.youtube.com/@dhanushnehru" target="_blank" rel="noopener noreferrer" style={{ textDecoration: "none" }}> |
| 41 | + <IconButton text="@dhanushnehru" color="#FF0000"> |
| 42 | + <IoLogoYoutube size={30} style={iconStyle} /> |
| 43 | + </IconButton> |
| 44 | + </a> |
| 45 | + </div> |
| 46 | + ); |
| 47 | +} |
| 48 | + |
| 49 | +export default App; |
0 commit comments