refactor: use type import
This commit is contained in:
parent
cf653915cd
commit
bd83c47177
14 changed files with 19 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
|||
import { PageData } from "@developomp-site/content/src/types/types"
|
||||
import type { PageData } from "@developomp-site/content/src/types/types"
|
||||
import {
|
||||
faBook,
|
||||
faCalendar,
|
||||
|
|
|
@ -2,7 +2,7 @@ import type { PageData } from "@developomp-site/content/src/types/types"
|
|||
|
||||
import contentMap from "@/contentMap"
|
||||
|
||||
import { Params } from "./page"
|
||||
import type { Params } from "./page"
|
||||
|
||||
export enum PageType {
|
||||
POST,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Metadata } from "next"
|
||||
import type { Metadata } from "next"
|
||||
|
||||
import Home from "./Home"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { ReactNode } from "react"
|
||||
import type { ReactNode } from "react"
|
||||
|
||||
interface Props {
|
||||
children?: ReactNode
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PostData } from "@developomp-site/content/src/types/types"
|
||||
import type { PostData } from "@developomp-site/content/src/types/types"
|
||||
import {
|
||||
faBook,
|
||||
faCalendar,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { ReactNode } from "react"
|
||||
import type { ReactNode } from "react"
|
||||
|
||||
interface Props {
|
||||
children?: ReactNode | undefined
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import portfolio from "@developomp-site/content/dist/portfolio.json"
|
||||
import type { PortfolioProject } from "@developomp-site/content/src/types/types"
|
||||
import { Metadata } from "next"
|
||||
import type { Metadata } from "next"
|
||||
|
||||
import Badge from "@/components/Badge"
|
||||
import ProjectCard from "@/components/ProjectCard"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import "./style.scss"
|
||||
|
||||
import { PortfolioProject } from "@developomp-site/content/src/types/types"
|
||||
import type { PortfolioProject } from "@developomp-site/content/src/types/types"
|
||||
import Link from "next/link"
|
||||
|
||||
import Badge from "@/components/Badge"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue