From 7764c3e06e73ad0680000a099b37bf81f3d11038 Mon Sep 17 00:00:00 2001 From: Ayo Date: Thu, 11 May 2023 18:18:16 +0200 Subject: [PATCH] refactor: rename component --- src/components/{article.astro => post.astro} | 0 src/pages/index.astro | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/components/{article.astro => post.astro} (100%) diff --git a/src/components/article.astro b/src/components/post.astro similarity index 100% rename from src/components/article.astro rename to src/components/post.astro diff --git a/src/pages/index.astro b/src/pages/index.astro index 28da920..d625d74 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,8 +2,8 @@ import Form, { FormGroup } from "@astro-reactive/form"; import { Validators } from "@astro-reactive/validator"; import { extract } from "@extractus/article-extractor"; -import Article from "../components/article.astro"; import { getParams, isURL } from "../utils"; +import Post from "../components/post.astro"; const params = getParams(Astro.url); const url: string = params?.url; @@ -31,4 +31,4 @@ const form = new FormGroup([ /> Source code -
+