Skip to content

Commit

Permalink
remove unused components
Browse files Browse the repository at this point in the history
  • Loading branch information
namachan10777 committed Jun 30, 2024
1 parent 52b0864 commit 913fb90
Show file tree
Hide file tree
Showing 27 changed files with 17 additions and 222 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/web/src/components/composite/breadcrumbs.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import Anchor from "@components/mdx/anchor.astro";
import Anchor from "@components/anchor.astro";
export interface PathFragment {
absolute: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/composite/codeblock.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { codeToHast } from "shiki";
import Pre from "~/components/mdx/pre.astro";
import Pre from "@components/pre.astro";
import { toHtml } from "hast-util-to-html";
export interface Props {
Expand Down
4 changes: 2 additions & 2 deletions packages/web/src/components/composite/post-preview.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import type { CollectionEntry } from "astro:content";
import Typography from "@components/mdx/typography.astro";
import Anchor from "@components/mdx/anchor.astro";
import Typography from "@components/typography.astro";
import Anchor from "@components/anchor.astro";
import remarkParse from "remark-parse";
import remarkGfm from "remark-gfm";
import remarkRetext from "remark-retext";
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/composite/publication.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import type { CollectionEntry } from "astro:content";
import Anchor from "../mdx/anchor.astro";
import Anchor from "../anchor.astro";
export interface Props {
pub: CollectionEntry<"pub">;
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/composite/tags.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import Anchor from "@components/mdx/anchor.astro";
import Anchor from "@components/anchor.astro";
export interface Props {
tags: string[];
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/composite/top-profile.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import Picture from "astro/components/Picture.astro";
import MyIcon from "@asset/icon.webp";
import Anchor from "@components/mdx/anchor.astro";
import Anchor from "@components/anchor.astro";
import { Icon } from "astro-icon/components";
export interface Props {
Expand Down
File renamed without changes.
File renamed without changes.
20 changes: 0 additions & 20 deletions packages/web/src/components/mdx/code.astro

This file was deleted.

29 changes: 0 additions & 29 deletions packages/web/src/components/mdx/heading3.astro

This file was deleted.

29 changes: 0 additions & 29 deletions packages/web/src/components/mdx/heading4.astro

This file was deleted.

29 changes: 0 additions & 29 deletions packages/web/src/components/mdx/heading5.astro

This file was deleted.

30 changes: 0 additions & 30 deletions packages/web/src/components/mdx/heading6.astro

This file was deleted.

11 changes: 0 additions & 11 deletions packages/web/src/components/mdx/hr.astro

This file was deleted.

31 changes: 0 additions & 31 deletions packages/web/src/components/mdx/image.astro

This file was deleted.

13 changes: 0 additions & 13 deletions packages/web/src/components/mdx/ordered-list.astro

This file was deleted.

13 changes: 0 additions & 13 deletions packages/web/src/components/mdx/unordered-list.astro

This file was deleted.

File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions packages/web/src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
import Base from "@layouts/Base.astro";
import { getCollection } from "astro:content";
import Section from "@components/mdx/section.astro";
import Heading2 from "@components/mdx/heading2.astro";
import Section from "@components/section.astro";
import Heading2 from "@components/heading2.astro";
import Event from "@components/composite/events.astro";
import NameAndIcon from "@components/composite/top-profile.astro";
import Typography from "@components/mdx/typography.astro";
import Typography from "@components/typography.astro";
import PostPreviewList from "@components/composite/post-preview-list.astro";
import PublicationList from "@components/composite/publication-list.astro";
import Anchor from "@components/mdx/anchor.astro";
import Anchor from "@components/anchor.astro";
import { Icon } from "astro-icon/components";
import Codeblock from "@components/composite/codeblock.astro";
Expand Down
6 changes: 3 additions & 3 deletions packages/web/src/pages/notice.astro
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
import Base from "@layouts/Base.astro";
import Anchor from "@components/mdx/anchor.astro";
import Heading1 from "@components/mdx/heading1.astro";
import Heading2 from "@components/mdx/heading2.astro";
import Anchor from "@components/anchor.astro";
import Heading1 from "@components/heading1.astro";
import Heading2 from "@components/heading2.astro";
import licenseChecker, { type ModuleInfos } from "license-checker-rseidelsohn";
import { getCollection } from "astro:content";
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/pages/post/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Base from "@layouts/Base.astro";
import type { GetStaticPaths } from "astro";
import { getEntry } from "astro:content";
import { getCollection } from "astro:content";
import Heading1 from "@components/mdx/heading1.astro";
import Heading1 from "@components/heading1.astro";
import { PAGE_SIZE, renderDate } from "@lib/util";
import Tags from "@components/composite/tags.astro";
import Giscus from "@components/composite/giscus.astro";
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/pages/post/page/[page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import Base from "@layouts/Base.astro";
import type { GetStaticPaths } from "astro";
import { getCollection } from "astro:content";
import Anchor from "@components/mdx/anchor.astro";
import Anchor from "@components/anchor.astro";
import { PAGE_SIZE } from "@lib/util";
import Tags from "@components/composite/tags.astro";
import PostPreviewList from "@components/composite/post-preview-list.astro";
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/pages/post/tag/[tag].astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import Base from "@layouts/Base.astro";
import type { GetStaticPaths } from "astro";
import { getCollection } from "astro:content";
import Heading1 from "@components/mdx/heading1.astro";
import Heading1 from "@components/heading1.astro";
import PostPreviewList from "@components/composite/post-preview-list.astro";
export const getStaticPaths = (async () => {
Expand Down

0 comments on commit 913fb90

Please sign in to comment.