moved types to src

This commit is contained in:
somrat sorkar
2023-05-30 10:53:50 +06:00
parent 2be55dbca4
commit 399edb9d2a
3 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -3,10 +3,10 @@ import Base from "@/layouts/Base.astro";
import { markdownify } from "@/lib/utils/textConverter";
import CallToAction from "@/partials/CallToAction.astro";
import Testimonial from "@/partials/Testimonial.astro";
import type { Button, Feature } from "@/types";
import { Image } from "@astrojs/image/components";
import { getEntryBySlug } from "astro:content";
import { FaCheck } from "react-icons/fa/index.js";
import type { Button, Feature } from "types";
interface Homepage {
banner: {
+13
View File
@@ -0,0 +1,13 @@
export type Feature = {
button: button;
image: string;
bulletpoints: string[];
content: string;
title: string;
};
export type Button = {
enable: boolean;
label: string;
link: string;
};