diff options
| author | schererleander <leander@schererleander.de> | 2025-06-25 16:31:58 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-06-25 16:31:58 +0200 |
| commit | a865055c1f7c26ccafb78b27b069d74647067472 (patch) | |
| tree | 9fec92b9959e883ea986ec5a9421bdd980b07e1a /src/components | |
| parent | d7ad157ef1a3010cb482220b0c1a544eb1ef9f15 (diff) | |
remove extra icon class
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Footer.tsx | 27 | ||||
| -rw-r--r-- | src/components/GitHubIcon.tsx | 12 | ||||
| -rw-r--r-- | src/components/MailIcon.tsx | 12 |
3 files changed, 25 insertions, 26 deletions
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 2caf39d..63ddd9a 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,5 +1,28 @@ -import GitHubIcon from "./GitHubIcon"; -import MailIcon from "./MailIcon"; +function GitHubIcon() { + return ( + <svg + viewBox="0 0 24 24" + fill="currentColor" + className="w-4 h-4" + aria-hidden="true" + > + <path d="M12 0a12 12 0 0 0-3.79 23.4c.6.11.82-.26.82-.58v-2.02c-3.34.73-4.04-1.61-4.04-1.61-.55-1.4-1.34-1.77-1.34-1.77-1.1-.75.08-.74.08-.74 1.22.09 1.86 1.25 1.86 1.25 1.08 1.85 2.84 1.31 3.53 1 .11-.78.42-1.31.76-1.61-2.67-.3-5.47-1.33-5.47-5.9 0-1.3.47-2.36 1.24-3.19-.12-.3-.54-1.51.12-3.15 0 0 1.01-.32 3.3 1.22a11.48 11.48 0 0 1 6 0c2.28-1.54 3.29-1.22 3.29-1.22.66 1.64.24 2.85.12 3.15.77.83 1.23 1.89 1.23 3.19 0 4.58-2.81 5.59-5.5 5.89.43.37.81 1.11.81 2.24v3.32c0 .32.21.7.82.58A12 12 0 0 0 12 0Z" /> + </svg> + ); +} + +function MailIcon() { + return ( + <svg + viewBox="0 0 24 24" + fill="currentColor" + className="w-4 h-4" + aria-hidden="true" + > + <path d="M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 2-8 6-8-6h16Zm0 12H4V8l8 6 8-6v10Z" /> + </svg> + ); +} export default function Footer() { const year = new Date().getFullYear(); diff --git a/src/components/GitHubIcon.tsx b/src/components/GitHubIcon.tsx deleted file mode 100644 index c93dbc7..0000000 --- a/src/components/GitHubIcon.tsx +++ /dev/null @@ -1,12 +0,0 @@ -export default function GitHubIcon() { - return ( - <svg - viewBox="0 0 24 24" - fill="currentColor" - className="w-4 h-4" - aria-hidden="true" - > - <path d="M12 0a12 12 0 0 0-3.79 23.4c.6.11.82-.26.82-.58v-2.02c-3.34.73-4.04-1.61-4.04-1.61-.55-1.4-1.34-1.77-1.34-1.77-1.1-.75.08-.74.08-.74 1.22.09 1.86 1.25 1.86 1.25 1.08 1.85 2.84 1.31 3.53 1 .11-.78.42-1.31.76-1.61-2.67-.3-5.47-1.33-5.47-5.9 0-1.3.47-2.36 1.24-3.19-.12-.3-.54-1.51.12-3.15 0 0 1.01-.32 3.3 1.22a11.48 11.48 0 0 1 6 0c2.28-1.54 3.29-1.22 3.29-1.22.66 1.64.24 2.85.12 3.15.77.83 1.23 1.89 1.23 3.19 0 4.58-2.81 5.59-5.5 5.89.43.37.81 1.11.81 2.24v3.32c0 .32.21.7.82.58A12 12 0 0 0 12 0Z" /> - </svg> - ); -}
\ No newline at end of file diff --git a/src/components/MailIcon.tsx b/src/components/MailIcon.tsx deleted file mode 100644 index e710b77..0000000 --- a/src/components/MailIcon.tsx +++ /dev/null @@ -1,12 +0,0 @@ -export default function MailIcon() { - return ( - <svg - viewBox="0 0 24 24" - fill="currentColor" - className="w-4 h-4" - aria-hidden="true" - > - <path d="M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 2-8 6-8-6h16Zm0 12H4V8l8 6 8-6v10Z" /> - </svg> - ); -}
\ No newline at end of file |
