From 83a7d02f4f294f3ef79d0bc138a3eb222dfc8a79 Mon Sep 17 00:00:00 2001 From: Justin McBride Date: Tue, 23 Jan 2024 15:47:26 -0700 Subject: [PATCH 1/2] Use standardized bootstrap icons --- src/svg/GitHub.tsx | 7 +++---- src/svg/LinkedIn.tsx | 7 +++---- src/svg/TwitterX.tsx | 7 +++---- src/svg/color-toggle.css | 7 ------- 4 files changed, 9 insertions(+), 19 deletions(-) delete mode 100644 src/svg/color-toggle.css diff --git a/src/svg/GitHub.tsx b/src/svg/GitHub.tsx index 1ef75df..f314ec8 100644 --- a/src/svg/GitHub.tsx +++ b/src/svg/GitHub.tsx @@ -1,14 +1,13 @@ -import './color-toggle.css'; - interface Props { width?: number; height?: number; } export function GitHub({ width, height }: Props) { + // https://icons.getbootstrap.com/icons/github/ return ( - - + + ); } diff --git a/src/svg/LinkedIn.tsx b/src/svg/LinkedIn.tsx index 93b08cb..3e7e35c 100644 --- a/src/svg/LinkedIn.tsx +++ b/src/svg/LinkedIn.tsx @@ -1,14 +1,13 @@ -import './color-toggle.css'; - interface Props { width?: number; height?: number; } export function LinkedIn({ width, height }: Props) { + // https://icons.getbootstrap.com/icons/linkedin/ return ( - - + + ); } diff --git a/src/svg/TwitterX.tsx b/src/svg/TwitterX.tsx index 9d42cf0..1046c60 100644 --- a/src/svg/TwitterX.tsx +++ b/src/svg/TwitterX.tsx @@ -1,14 +1,13 @@ -import './color-toggle.css'; - interface Props { width?: number; height?: number; } export function TwitterX({ width, height }: Props) { + // https://icons.getbootstrap.com/icons/twitter-x/ return ( - - + + ); } diff --git a/src/svg/color-toggle.css b/src/svg/color-toggle.css deleted file mode 100644 index c39856c..0000000 --- a/src/svg/color-toggle.css +++ /dev/null @@ -1,7 +0,0 @@ -svg.color-toggle path { - fill: black; -} - -html[data-bs-theme="dark"] svg.color-toggle path { - fill: white; -} From 57b003a23615f27584fe509781369a5a6dbe99d1 Mon Sep 17 00:00:00 2001 From: Justin McBride Date: Tue, 23 Jan 2024 15:51:07 -0700 Subject: [PATCH 2/2] Use https --- src/svg/GitHub.tsx | 2 +- src/svg/LinkedIn.tsx | 2 +- src/svg/TwitterX.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/svg/GitHub.tsx b/src/svg/GitHub.tsx index f314ec8..163ead4 100644 --- a/src/svg/GitHub.tsx +++ b/src/svg/GitHub.tsx @@ -6,7 +6,7 @@ interface Props { export function GitHub({ width, height }: Props) { // https://icons.getbootstrap.com/icons/github/ return ( - + ); diff --git a/src/svg/LinkedIn.tsx b/src/svg/LinkedIn.tsx index 3e7e35c..f848f0b 100644 --- a/src/svg/LinkedIn.tsx +++ b/src/svg/LinkedIn.tsx @@ -6,7 +6,7 @@ interface Props { export function LinkedIn({ width, height }: Props) { // https://icons.getbootstrap.com/icons/linkedin/ return ( - + ); diff --git a/src/svg/TwitterX.tsx b/src/svg/TwitterX.tsx index 1046c60..571f84f 100644 --- a/src/svg/TwitterX.tsx +++ b/src/svg/TwitterX.tsx @@ -6,7 +6,7 @@ interface Props { export function TwitterX({ width, height }: Props) { // https://icons.getbootstrap.com/icons/twitter-x/ return ( - + );