Skip to content

Commit

Permalink
Remove Twitter links
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioVdlC committed Aug 12, 2023
1 parent f466511 commit e2342b4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
6 changes: 0 additions & 6 deletions app/components/ErrorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ export default function ErrorPage({
className="inline-block border-l border-slate-300"
aria-hidden="true"
/>
<Link
to="https://twitter.com/fantome_ly"
className="text-sm font-medium"
>
Twitter
</Link>
</nav>
</footer>
</div>
Expand Down
6 changes: 1 addition & 5 deletions app/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ export default function Footer() {
{ name: "Licence", href: "/licence" },
];
const social: Array<{ name: SocialPlatform; href: string }> = [
{
name: "twitter",
href: "https://twitter.com/fantome_ly",
},
{
name: "github",
href: "https://github.com/AntonioVdlC/analytics-service",
Expand All @@ -22,7 +18,7 @@ export default function Footer() {

return (
<footer className="mt-24 bg-slate-900 sm:mt-12">
<div className="mx-auto max-w-md overflow-hidden py-12 px-4 sm:max-w-3xl sm:px-6 lg:max-w-7xl lg:px-8">
<div className="mx-auto max-w-md overflow-hidden px-4 py-12 sm:max-w-3xl sm:px-6 lg:max-w-7xl lg:px-8">
<nav
className="-mx-5 -my-2 flex flex-wrap justify-center"
aria-label="Footer"
Expand Down
8 changes: 1 addition & 7 deletions app/components/FooterSocial.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type SocialPlatform = "twitter" | "github";
export type SocialPlatform = "github";

type Props = {
name: SocialPlatform;
Expand All @@ -8,12 +8,6 @@ type Props = {
export default function FooterSocial({ name, href }: Props) {
const Icon = ({ name }: { name: SocialPlatform }) => {
switch (name) {
case "twitter":
return (
<svg fill="currentColor" viewBox="0 0 24 24" className="h-6 w-6">
<path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84" />
</svg>
);
case "github":
return (
<svg fill="currentColor" viewBox="0 0 24 24" className="h-6 w-6">
Expand Down

0 comments on commit e2342b4

Please sign in to comment.