Skip to content

Commit

Permalink
Update dependencies, fix layout, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
agcrisbp committed Jan 8, 2025
1 parent 3d16d05 commit 2dca8d8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A perfect custom landing page for your links on the world wide web.

### Support
<a href="https://www.buymeacoffee.com/agcrisbp" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" height="32px" width="114px"></a>
<a href="https://saweria.co/agcrisbp" target="_blank"><img src="https://bio.aghea.biz.id/saweria-button.png" alt="Saweria" height="32px" width="114px"></a>
<a href="https://saweria.co/agcrisbp" target="_blank"><img src="/public/saweria-button.png" alt="Saweria" height="32px" width="114px"></a>
<a href="https://github.com/sponsors/agcrisbp" target="_blank"><img src="public/sponsor-badge.svg" alt="Github Sponsor" height="32px" width="114px"></a>

---
Expand All @@ -40,7 +40,7 @@ yarn create next-app app -e https://github.com/agcrisbp/ADLink
---

### Start Development
> Use any editor to work on editing. See: [App To Use](https://adlink.aghea.biz.id/en/app-to-use).
> Use any editor to work on editing. See: [App To Use](https://ad-link-docs.vercel.app/app-to-use).
- First, run the development server:

Expand Down
10 changes: 6 additions & 4 deletions components/WebLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,14 @@ const Links = () => {
<img
src={avatarImg}
className={avatarShape}
onContextMenu={(e) => e.preventDefault()}
/>
</AvatarWrap>
</Avatar>
<Title>
{/* Using titleimg flag to use image as title or text */}
{titleImg ?
<img src={titleImage} className="handle" /> :
<img src={titleImage} className="handle" onContextMenu={(e) => e.preventDefault()} /> :
<h1>{name}</h1>
}
{/* if your remove username from data it will not appear */}
Expand All @@ -121,7 +122,7 @@ const Links = () => {
return (
<a href={i.url} key={i.title} target="_blank" rel="noreferrer">
<LinkBox className="socialIcon">
<Icon icon={i.icon} height={20} width={20} style={{ filter: 'var(--icon)'}} />
<Icon icon={i.icon} height={20} width={20} style={{ filter: 'var(--icon)'}} onContextMenu={(e) => e.preventDefault()} />
</LinkBox>
</a>
)
Expand All @@ -135,6 +136,7 @@ const Links = () => {
<img
src={`${spotifyImg}`}
className="custom"
onContextMenu={(e) => e.preventDefault()}
/>
</a> : ''
}
Expand All @@ -147,7 +149,7 @@ const Links = () => {
<a href={i.url} key={i.title} target="_blank" rel="noreferrer">
<LinkBox>
<LinkTitle>
<Icon icon={i.icon} height={20} width={20} style={{ filter: 'var(--icon)', marginRight: '10px' }} /> {i.title}</LinkTitle> <NewUp />
<Icon icon={i.icon} height={20} width={20} style={{ filter: 'var(--icon)', marginRight: '10px' }} onContextMenu={(e) => e.preventDefault()}/> {i.title}</LinkTitle> <NewUp />
</LinkBox>
</a>
)
Expand Down Expand Up @@ -211,7 +213,7 @@ const Links = () => {
return (
<a href={i.url} key={i.title} target="_blank" rel="noreferrer">
<LinkBox>
<LinkTitle><img src={i.icon} style={{ filter: 'var(--img)' }} /> {i.title}</LinkTitle> <NewUp />
<LinkTitle><img src={i.icon} style={{ filter: 'var(--img)' }} onContextMenu={(e) => e.preventDefault()} /> {i.title}</LinkTitle> <NewUp />
</LinkBox>
</a>
)
Expand Down
Binary file added public/saweria-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2dca8d8

Please sign in to comment.