diff --git a/assets/img/scores/lighthouse.svg b/assets/img/scores/lighthouse.svg deleted file mode 100644 index 8b661f2..0000000 --- a/assets/img/scores/lighthouse.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/scores/lighthouse_accessibility.svg b/assets/img/scores/lighthouse_accessibility.svg deleted file mode 100644 index f869c8d..0000000 --- a/assets/img/scores/lighthouse_accessibility.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/scores/lighthouse_best-practices.svg b/assets/img/scores/lighthouse_best-practices.svg deleted file mode 100644 index a65fba4..0000000 --- a/assets/img/scores/lighthouse_best-practices.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/scores/lighthouse_performance.svg b/assets/img/scores/lighthouse_performance.svg deleted file mode 100644 index 1268e55..0000000 --- a/assets/img/scores/lighthouse_performance.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/scores/lighthouse_pwa.svg b/assets/img/scores/lighthouse_pwa.svg deleted file mode 100644 index 65b27c4..0000000 --- a/assets/img/scores/lighthouse_pwa.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/scores/lighthouse_seo.svg b/assets/img/scores/lighthouse_seo.svg deleted file mode 100644 index 4d30d4e..0000000 --- a/assets/img/scores/lighthouse_seo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/components/blocks/features.tsx b/components/blocks/features.tsx index 5d53071..7930049 100644 --- a/components/blocks/features.tsx +++ b/components/blocks/features.tsx @@ -1,8 +1,6 @@ import { Actions } from "../util/actions"; import { Section } from "../util/section"; import { Container } from "../util/container"; -import { Icon } from "../util/icon"; -import { iconSchema } from "../util/icon"; export const Feature = ({ featuresColor, data, tinaField }) => { return ( @@ -98,7 +96,6 @@ export const featureBlockSchema = { }, }, fields: [ - iconSchema, { type: "string", label: "Title", diff --git a/components/blocks/hero.tsx b/components/blocks/hero.tsx index 7b0344a..bbb4ee6 100644 --- a/components/blocks/hero.tsx +++ b/components/blocks/hero.tsx @@ -2,12 +2,10 @@ import * as React from "react"; import { Actions } from "../util/actions"; import { Container } from "../util/container"; import { Section } from "../util/section"; -import { useTheme } from "../layout"; import { TinaMarkdown } from "tinacms/dist/rich-text"; import type { TinaTemplate } from "tinacms"; export const Hero = ({ data, parentField }) => { - const theme = useTheme(); const headlineColorClasses = { blue: "from-blue-400 to-blue-600", teal: "from-teal-400 to-teal-600", @@ -40,15 +38,7 @@ export const Hero = ({ data, parentField }) => { data-tinafield={`${parentField}.headline`} className={`w-full relative mb-10 text-5xl font-extrabold tracking-normal leading-tight title-font`} > - - {data.headline} - + {data.headline} )} {data.text && ( diff --git a/components/fields/color.tsx b/components/fields/color.tsx deleted file mode 100644 index b84064d..0000000 --- a/components/fields/color.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import * as React from "react"; -import { wrapFieldsWithMeta } from "tinacms"; - -export const colorOptions = [ - "blue", - "teal", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - "white", -]; - -export const ColorPickerInput = wrapFieldsWithMeta(({ input }) => { - const inputClasses = { - blue: "bg-blue-500 border-blue-600", - teal: "bg-teal-500 border-teal-600", - green: "bg-green-500 border-green-600", - yellow: "bg-yellow-500 border-yellow-600", - orange: "bg-orange-500 border-orange-600", - red: "bg-red-500 border-red-600", - pink: "bg-pink-500 border-pink-600", - purple: "bg-purple-500 border-purple-600", - white: "bg-white border-gray-150", - }; - - return ( - <> - -