mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-18 22:23:27 +09:00
migrate to astro v3
This commit is contained in:
@@ -7,7 +7,7 @@ import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
import dateFormat from "@/lib/utils/dateFormat";
|
||||
import similerItems from "@/lib/utils/similarItems";
|
||||
import { humanize, markdownify, slugify } from "@/lib/utils/textConverter";
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import { Image } from "astro:assets";
|
||||
import {
|
||||
FaRegClock,
|
||||
FaRegFolder,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { plainify } from "@/lib/utils/textConverter";
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import { Image } from "astro:assets";
|
||||
import Social from "./Social.astro";
|
||||
|
||||
const { data } = Astro.props;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import config from "@/config/config.json";
|
||||
import { humanize, plainify, slugify } from "@/lib/utils/textConverter";
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import { Image } from "astro:assets";
|
||||
import { FaRegFolder, FaRegUserCircle } from "react-icons/fa/index.js";
|
||||
|
||||
const {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import config from "@/config/config.json";
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import { Image } from "astro:assets";
|
||||
|
||||
const { src, srcDarkmode }: { src?: string; srcDarkmode?: string } =
|
||||
Astro.props;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { markdownify } from "@/lib/utils/textConverter";
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import { Image } from "astro:assets";
|
||||
const { call_to_action } = Astro.props;
|
||||
---
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { markdownify } from "@/lib/utils/textConverter";
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import { Image } from "astro:assets";
|
||||
const { testimonial } = Astro.props;
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user