1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-12 23:33:14 +01:00

fix: link styles with underline on hover

This commit is contained in:
divlo 2021-06-10 00:17:52 +02:00
parent ea04f0f189
commit b0a34c6162
6 changed files with 715 additions and 1075 deletions

View File

@ -15,7 +15,7 @@ export const InterestParagraph: React.FC<InterestParagraphProps> = (props) => {
{title} {title}
</strong> </strong>
<br /> <br />
<span className='paragraph-color'>{htmlParser(description)}</span> <span>{htmlParser(description)}</span>
</p> </p>
</> </>
) )

View File

@ -15,7 +15,10 @@ export const ProfileItem: React.FC<ProfileItemProps> = (props) => {
</strong> </strong>
<span className='profile-list__item-info text-gray dark:text-gray-dark'> <span className='profile-list__item-info text-gray dark:text-gray-dark'>
{link != null ? ( {link != null ? (
<a className='text-gray dark:text-gray-dark' href={link}> <a
className='text-gray dark:text-gray-dark hover:underline'
href={link}
>
{value} {value}
</a> </a>
) : ( ) : (

View File

@ -19,7 +19,7 @@
}, },
{ {
"title": "Open-Source enthusiast :", "title": "Open-Source enthusiast :",
"description": "For me, everyone should work, solve problems, build things and think together. Long live open source, whenever you can share your work, do it! <br/> The website is open-source on <a href='https://github.com/Divlo/Divlo' target='_blank' rel='noopener noreferrer'>github</a>." "description": "For me, everyone should work, solve problems, build things and think together. Long live open source, whenever you can share your work, do it! <br/> The website is open-source on <a class='text-yellow dark:text-yellow-dark hover:underline' href='https://github.com/Divlo/Divlo' target='_blank' rel='noopener noreferrer'>github</a>."
} }
] ]
}, },

View File

@ -19,7 +19,7 @@
}, },
{ {
"title": "Enthousiaste de l'Open-Source :", "title": "Enthousiaste de l'Open-Source :",
"description": "Pour moi, tout le monde devrait travailler, résoudre des problèmes, construire des choses et réfléchir ensemble. Longue vie à l'open-source, chaque fois que vous pouvez partagez votre travail, faites-le! <br/> Le site est open-source sur <a href='https://github.com/Divlo/Divlo' target='_blank' rel='noopener noreferrer'>github</a>." "description": "Pour moi, tout le monde devrait travailler, résoudre des problèmes, construire des choses et réfléchir ensemble. Longue vie à l'open-source, chaque fois que vous pouvez partagez votre travail, faites-le! <br/> Le site est open-source sur <a class='text-yellow dark:text-yellow-dark hover:underline' href='https://github.com/Divlo/Divlo' target='_blank' rel='noopener noreferrer'>github</a>."
} }
] ]
}, },

1753
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -46,7 +46,7 @@
"@testing-library/react": "11.2.7", "@testing-library/react": "11.2.7",
"@types/jest": "26.0.23", "@types/jest": "26.0.23",
"@types/node": "15.12.2", "@types/node": "15.12.2",
"@types/react": "17.0.10", "@types/react": "17.0.11",
"@types/styled-jsx": "2.2.8", "@types/styled-jsx": "2.2.8",
"@typescript-eslint/eslint-plugin": "4.26.1", "@typescript-eslint/eslint-plugin": "4.26.1",
"autoprefixer": "10.2.6", "autoprefixer": "10.2.6",