Skip to content

Commit

Permalink
feat: clean up the links page
Browse files Browse the repository at this point in the history
  • Loading branch information
aalemayhu committed Dec 24, 2023
1 parent 5d0e5ff commit b13063a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 53 deletions.
21 changes: 5 additions & 16 deletions src/components/Content.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
import styled from 'styled-components';
import Link from './Link';

const StyledParagraph = styled.p`
max-width: 500px;
`;

const Content = ({ links }) => {
return (
<>
<StyledParagraph>
Hei there! Welcome to my links page. I hope you find what you are
looking for below. If not feel free to contact me.
</StyledParagraph>
<div>
{links.map((link) => (
<Link {...link} key={link.title} />
))}
</div>
</>
<div>
{links.map((link) => (
<Link {...link} key={link.title} />
))}
</div>
);
};

Expand Down
38 changes: 1 addition & 37 deletions src/links.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,7 @@
"link": "https://youtube.com/c/alexanderalemayhu"
},
{
"title": "Patreon",
"link": "https://www.patreon.com/alemayhu"
},
{
"title": "Ko-Fi",
"link": "https://ko-fi.com/alemayhu"
},
{
"title": "Paypal",
"link": "https://paypal.me/alemayhu"
},
{
"title": "GitHub Sponsor",
"link": "http://github.com/sponsors/alemayhu"
},
{
"title": "SubscribeStar",
"link": "https://www.subscribestar.com/alexanderalemayhu"
},
{
"title": "Buy me a coffee",
"link": "https://buymeacoffee.com/aalemayhu"
},
{
"title": "Stream Messages",
"link": "https://streamlabs.com/alexanderalemayhu1"
},
{
"title": "Notion to Anki",
"link": "https://2anki.net/"
},
{
"title": "GitHub Profile",
"title": "GitHub",
"link": "https://github.com/aalemayhu"
},
{
"title": "Personal Website",
"link": "https://alemayhu.com"
}
]

0 comments on commit b13063a

Please sign in to comment.