Clean up the project a bit
Fix imports, remove unnecessary imports, and replace all single apostrophe to double apostrophes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { markdownToHtml } from '@/lib/markdown';
|
||||
import { Image } from 'astro:assets';
|
||||
import { markdownToHtml } from "@/lib/markdown";
|
||||
import { Image } from "astro:assets";
|
||||
|
||||
interface Props {
|
||||
contact: ContactComponent;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { markdownToHtml } from '@/lib/markdown';
|
||||
import { Image } from 'astro:assets';
|
||||
import { markdownToHtml } from "@/lib/markdown";
|
||||
import { Image } from "astro:assets";
|
||||
|
||||
interface Props {
|
||||
equipment: EquipmentTableComponent;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { markdownToHtml } from '@/lib/markdown';
|
||||
import { QuestionList } from '@/components/web/subcomponents/QuestionList.tsx';
|
||||
import { markdownToHtml } from "@/lib/markdown";
|
||||
import { QuestionList } from "@/components/web/subcomponents/QuestionList.tsx";
|
||||
|
||||
interface Props {
|
||||
faq: FrequentlyAskedQuestionsComponent;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Image } from 'astro:assets';
|
||||
import { Image } from "astro:assets";
|
||||
|
||||
interface Props {
|
||||
hero: HeroComponent;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
import { getLastBlogs } from '@/content/blogs/blogs';
|
||||
import { getSettings } from '@/content/settings/settings';
|
||||
import CalendarIcon from '@/icons/CalendarIcon.astro';
|
||||
import { getImageSize, getImageUrl } from '@/lib/images';
|
||||
import { getBlogRoute } from '@/lib/routing';
|
||||
import { Image } from 'astro:assets';
|
||||
import { getLastBlogs } from "@/content/blogs/blogs";
|
||||
import { getSettings } from "@/content/settings/settings";
|
||||
import CalendarIcon from "@/icons/CalendarIcon.astro";
|
||||
import { getImageSize, getImageUrl } from "@/lib/images";
|
||||
import { getBlogRoute } from "@/lib/routing";
|
||||
import { Image } from "astro:assets";
|
||||
|
||||
interface Props {
|
||||
blogs: LastBlogsComponent;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
import { getLastProjects } from '@/content/projects/projects';
|
||||
import { getSettings } from '@/content/settings/settings';
|
||||
import CalendarIcon from '@/icons/CalendarIcon.astro';
|
||||
import { getImageSize, getImageUrl } from '@/lib/images';
|
||||
import { getProjectRoute } from '@/lib/routing';
|
||||
import { Image } from 'astro:assets';
|
||||
import { getLastProjects } from "@/content/projects/projects";
|
||||
import { getSettings } from "@/content/settings/settings";
|
||||
import CalendarIcon from "@/icons/CalendarIcon.astro";
|
||||
import { getImageSize, getImageUrl } from "@/lib/images";
|
||||
import { getProjectRoute } from "@/lib/routing";
|
||||
import { Image } from "astro:assets";
|
||||
|
||||
interface Props {
|
||||
projects: LastProjectsComponent;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { markdownToHtml } from '@/lib/markdown';
|
||||
import StarRating from './subcomponents/StarRating.astro';
|
||||
import { markdownToHtml } from "@/lib/markdown";
|
||||
import StarRating from "./subcomponents/StarRating.astro";
|
||||
|
||||
interface Props {
|
||||
reviews: ReviewListComponent;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { markdownToHtml } from '@/lib/markdown';
|
||||
import { Image } from 'astro:assets';
|
||||
import { markdownToHtml } from "@/lib/markdown";
|
||||
import { Image } from "astro:assets";
|
||||
|
||||
interface Props {
|
||||
textWithImage: TextWithImageComponent;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
import CalendarIcon from '@/icons/CalendarIcon.astro';
|
||||
import { Image } from 'astro:assets';
|
||||
import { upcomingEvent as UpcomingEvent } from './subcomponents/UpcomingEvent';
|
||||
import { markdownToHtml } from '@/lib/markdown';
|
||||
import CalendarIcon from "@/icons/CalendarIcon.astro";
|
||||
import { Image } from "astro:assets";
|
||||
import { upcomingEvent as UpcomingEvent } from "./subcomponents/UpcomingEvent";
|
||||
import { markdownToHtml } from "@/lib/markdown";
|
||||
|
||||
interface Props {
|
||||
upcomingEvents: UpcomingEventsComponent;
|
||||
|
||||
Reference in New Issue
Block a user