mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-18 06:03:27 +09:00
migrate to astro v3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { markdownify } from "@/lib/utils/textConverter";
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import { Image } from "astro:assets";
|
||||
import { getEntryBySlug } from "astro:content";
|
||||
|
||||
const about = await getEntryBySlug("about", "-index");
|
||||
|
||||
@@ -5,7 +5,7 @@ import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
import { slugify } from "@/lib/utils/textConverter";
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import { Image } from "astro:assets";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const authors = await getSinglePage("authors");
|
||||
|
||||
@@ -4,7 +4,7 @@ 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 { Image } from "astro:assets";
|
||||
import { getEntryBySlug } from "astro:content";
|
||||
import { FaCheck } from "react-icons/fa/index.js";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user