From 488a47792139eb39170a4d559fdda26781e0fed6 Mon Sep 17 00:00:00 2001 From: Damian Stasik <920747+damianstasik@users.noreply.github.com> Date: Thu, 7 Sep 2023 16:00:41 +0200 Subject: [PATCH] Remove noise from PR --- src/components/Goals/index.tsx | 4 ++-- src/components/Hero/index.tsx | 2 +- src/components/Supporters/index.tsx | 2 +- src/components/TextContent/index.tsx | 2 +- src/theme/BlogArchivePage/index.tsx | 6 ------ src/theme/BlogLastPost/index.tsx | 2 +- src/theme/BlogPostItem/index.tsx | 6 ------ src/theme/ColorModeToggle/index.tsx | 24 ------------------------ 8 files changed, 6 insertions(+), 42 deletions(-) delete mode 100644 src/theme/BlogArchivePage/index.tsx delete mode 100644 src/theme/BlogPostItem/index.tsx delete mode 100644 src/theme/ColorModeToggle/index.tsx diff --git a/src/components/Goals/index.tsx b/src/components/Goals/index.tsx index 18ec1e9c..ac5dc475 100644 --- a/src/components/Goals/index.tsx +++ b/src/components/Goals/index.tsx @@ -9,7 +9,7 @@ function Goal({ icon: Icon, title, description }) { return (
{description}
diff --git a/src/components/Supporters/index.tsx b/src/components/Supporters/index.tsx
index d42fb351..7a34fc32 100644
--- a/src/components/Supporters/index.tsx
+++ b/src/components/Supporters/index.tsx
@@ -34,7 +34,7 @@ export default function Supporters() {
const list = supporters.filter((supporter) => logos[supporter.name]);
return (
-
Supporters
diff --git a/src/components/TextContent/index.tsx b/src/components/TextContent/index.tsx
index 6022f0c2..7ff4e0d5 100644
--- a/src/components/TextContent/index.tsx
+++ b/src/components/TextContent/index.tsx
@@ -8,7 +8,7 @@ type TextContentProps = {
export default function TextContent({ children, className }: TextContentProps) {
return (
-
+
{item.content.metadata.title}
diff --git a/src/theme/BlogPostItem/index.tsx b/src/theme/BlogPostItem/index.tsx
deleted file mode 100644
index 826544b1..00000000
--- a/src/theme/BlogPostItem/index.tsx
+++ /dev/null
@@ -1,6 +0,0 @@
-import React from "react";
-
-// TODO
-export default function BlogPostItem() {
- return <>>;
-}
diff --git a/src/theme/ColorModeToggle/index.tsx b/src/theme/ColorModeToggle/index.tsx
deleted file mode 100644
index a77c8c1e..00000000
--- a/src/theme/ColorModeToggle/index.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import React from "react";
-import useIsBrowser from "@docusaurus/useIsBrowser";
-import type { Props } from "@theme/ColorModeToggle";
-
-export default function ColorModeToggle({ value, onChange }: Props) {
- const isBrowser = useIsBrowser();
-
- const title = `Switch between dark and light mode (currently ${
- value === "dark" ? "dark mode" : "light mode"
- })`;
-
- return (
-
- );
-}