aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/about/About.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-16 16:22:42 +0800
committercrupest <crupest@outlook.com>2020-06-16 16:22:42 +0800
commite86881f789079e661fd2c37e3bee61ff2450b4f7 (patch)
tree0fada4faecc8d93fe2bec9d0c9a2192693890d66 /Timeline/ClientApp/src/app/about/About.tsx
parent8ec86937ce4f8073a1cf49652533a1b65bf630af (diff)
downloadtimeline-e86881f789079e661fd2c37e3bee61ff2450b4f7.tar.gz
timeline-e86881f789079e661fd2c37e3bee61ff2450b4f7.tar.bz2
timeline-e86881f789079e661fd2c37e3bee61ff2450b4f7.zip
feat(front): Use bootstrap icons.
Diffstat (limited to 'Timeline/ClientApp/src/app/about/About.tsx')
-rw-r--r--Timeline/ClientApp/src/app/about/About.tsx26
1 files changed, 9 insertions, 17 deletions
diff --git a/Timeline/ClientApp/src/app/about/About.tsx b/Timeline/ClientApp/src/app/about/About.tsx
index bce4c06e..841ec6fe 100644
--- a/Timeline/ClientApp/src/app/about/About.tsx
+++ b/Timeline/ClientApp/src/app/about/About.tsx
@@ -2,18 +2,17 @@ import React from 'react';
import { useTranslation, Trans } from 'react-i18next';
import authorAvatarUrl from './author-avatar.png';
+import githubLogoUrl from './github.png';
import AppBar from '../common/AppBar';
const frontendCredits: {
name: string;
url: string;
- icon?: string;
}[] = [
{
name: 'reactjs',
url: 'https://reactjs.org',
- icon: 'react',
},
{
name: 'typescript',
@@ -22,7 +21,6 @@ const frontendCredits: {
{
name: 'bootstrap',
url: 'https://getbootstrap.com',
- icon: 'bootstrap',
},
{
name: 'reactstrap',
@@ -39,12 +37,6 @@ const frontendCredits: {
{
name: 'sass',
url: 'https://sass-lang.com',
- icon: 'sass',
- },
- {
- name: 'fontawesome',
- url: 'https://fontawesome.com',
- icon: 'font-awesome-flag',
},
{
name: 'eslint',
@@ -58,12 +50,15 @@ const frontendCredits: {
name: 'pepjs',
url: 'https://github.com/jquery/PEP',
},
+ {
+ name: 'react-inlinesvg',
+ url: 'https://github.com/gilbarbara/react-inlinesvg',
+ },
];
const backendCredits: {
name: string;
url: string;
- icon?: string;
}[] = [
{
name: 'ASP.NET Core',
@@ -113,7 +108,10 @@ const About: React.FC = () => {
target="_blank"
rel="noopener noreferrer"
>
- <i className="fab fa-github about-link-icon text-body" />
+ <img
+ src={githubLogoUrl}
+ className="about-link-icon text-body"
+ />
</a>
</p>
</div>
@@ -145,9 +143,6 @@ const About: React.FC = () => {
return (
<li key={index}>
<a href={item.url} target="_blank" rel="noopener noreferrer">
- {item.icon != null && (
- <i className={'fab fa-' + item.icon + ' mx-2'} />
- )}
{item.name}
</a>
</li>
@@ -161,9 +156,6 @@ const About: React.FC = () => {
return (
<li key={index}>
<a href={item.url} target="_blank" rel="noopener noreferrer">
- {item.icon != null && (
- <i className={'fab fa-' + item.icon + ' mx-2'} />
- )}
{item.name}
</a>
</li>