feat: move from developomp.com -> pompy.dev
This commit is contained in:
parent
f3fd09d34a
commit
63fdbcdb9b
47 changed files with 176 additions and 184 deletions
|
@ -1,6 +1,6 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
extends: ["next/core-web-vitals", "@developomp-site/eslint-config"],
|
||||
extends: ["next/core-web-vitals", "@pompydev/eslint-config"],
|
||||
rules: {
|
||||
"react-hooks/exhaustive-deps": "off",
|
||||
},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/** @type {import("prettier").Options} */
|
||||
module.exports = {
|
||||
...require("@developomp-site/prettier-config"),
|
||||
...require("@pompydev/prettier-config"),
|
||||
plugins: ["prettier-plugin-tailwindcss"],
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// https://next-sitemap.iamvishnusankar.com/docs/documentation/configuration
|
||||
/** @type {import('next-sitemap').IConfig} */
|
||||
module.exports = {
|
||||
siteUrl: "https://blog.developomp.com",
|
||||
siteUrl: "https://blog.pompy.dev",
|
||||
generateRobotsTxt: true,
|
||||
priority: 0.8,
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@developomp-site/blog",
|
||||
"name": "@pompydev/blog",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
@ -12,11 +12,11 @@
|
|||
"i_am_sure_i_want_to_nuke_gitignored_files": "rm -rf .next .turbo build node_modules test-results"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@developomp-site/content": "workspace:*",
|
||||
"@developomp-site/eslint-config": "workspace:*",
|
||||
"@developomp-site/playwright-config": "workspace:*",
|
||||
"@developomp-site/prettier-config": "workspace:*",
|
||||
"@developomp-site/tailwind-config": "workspace:*",
|
||||
"@pompydev/content": "workspace:*",
|
||||
"@pompydev/eslint-config": "workspace:*",
|
||||
"@pompydev/playwright-config": "workspace:*",
|
||||
"@pompydev/prettier-config": "workspace:*",
|
||||
"@pompydev/tailwind-config": "workspace:*",
|
||||
"@fontsource/noto-sans-kr": "^5.0.5",
|
||||
"@fontsource/source-code-pro": "^5.0.18",
|
||||
"@fortawesome/free-brands-svg-icons": "^6.5.2",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { createConfig } from "@developomp-site/playwright-config"
|
||||
import { createConfig } from "@pompydev/playwright-config"
|
||||
|
||||
// https://playwright.dev/docs/test-configuration
|
||||
export default createConfig({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
"use client"
|
||||
|
||||
import contentMap from "@developomp-site/content/exports/contentMap"
|
||||
import contentMap from "@pompydev/content/exports/contentMap"
|
||||
import { type ReactNode, useEffect, useState } from "react"
|
||||
|
||||
import PostCard from "@/components/PostCard"
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import type { PageData } from "@developomp-site/content/src/types/types"
|
||||
import {
|
||||
faBook,
|
||||
faCalendar,
|
||||
|
@ -6,6 +5,7 @@ import {
|
|||
faHourglass,
|
||||
} from "@fortawesome/free-solid-svg-icons"
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
||||
import type { PageData } from "@pompydev/content/src/types/types"
|
||||
|
||||
export default function Meta(props: { fetchedPage: PageData }) {
|
||||
return (
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import contentMap from "@developomp-site/content/exports/contentMap"
|
||||
import type { PageData } from "@developomp-site/content/src/types/types"
|
||||
import contentMap from "@pompydev/content/exports/contentMap"
|
||||
import type { PageData } from "@pompydev/content/src/types/types"
|
||||
|
||||
import type { Params } from "./page"
|
||||
|
||||
|
@ -29,9 +29,7 @@ export async function getData(params: Params): Promise<Data> {
|
|||
|
||||
export async function fetchContent(contentID: string) {
|
||||
try {
|
||||
return await import(
|
||||
`@developomp-site/content/dist/content${contentID}.json`
|
||||
)
|
||||
return await import(`@pompydev/content/dist/content${contentID}.json`)
|
||||
} catch (err) {
|
||||
return
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import "./Page.scss"
|
||||
|
||||
import contentMap from "@developomp-site/content/exports/contentMap"
|
||||
import contentMap from "@pompydev/content/exports/contentMap"
|
||||
import { type Metadata } from "next"
|
||||
import { type ParsedUrlQuery } from "querystring"
|
||||
|
||||
|
@ -57,7 +57,7 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
|
|||
const { pageData } = await getData(params)
|
||||
|
||||
return {
|
||||
metadataBase: new URL("https://blog.developomp.com"),
|
||||
metadataBase: new URL("https://blog.pompy.dev"),
|
||||
title: pageData.title,
|
||||
openGraph: {
|
||||
title: titlePrefix + pageData.title,
|
||||
|
|
|
@ -32,19 +32,19 @@ import Header from "@/components/Header"
|
|||
import titlePrefix from "@/titlePrefix"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL("https://blog.developomp.com"),
|
||||
metadataBase: new URL("https://blog.pompy.dev"),
|
||||
title: {
|
||||
template: titlePrefix + "%s",
|
||||
default: "",
|
||||
},
|
||||
description: "developomp's Blog",
|
||||
description: "pomp's Blog",
|
||||
openGraph: {
|
||||
title: "pomp's blog",
|
||||
siteName: "developomp's Blog",
|
||||
description: "developomp's Blog",
|
||||
siteName: "pomp's Blog",
|
||||
description: "pomp's Blog",
|
||||
type: "website",
|
||||
url: "https://blog.developomp.com",
|
||||
images: "https://blog.developomp.com/favicon.svg",
|
||||
url: "https://blog.pompy.dev",
|
||||
images: "https://blog.pompy.dev/favicon.svg",
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ export default function RootLayout({
|
|||
<meta name="theme-color" content="#000000" />
|
||||
<script
|
||||
defer
|
||||
src="https://umami.developomp.com/script.js"
|
||||
src="https://umami.pompy.dev/script.js"
|
||||
data-website-id="361a9f07-a09b-49a0-b7e4-f1fc7caff9e2"
|
||||
></script>
|
||||
</head>
|
||||
|
|
|
@ -4,7 +4,7 @@ import Card from "@/components/Card"
|
|||
import titlePrefix from "@/titlePrefix"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL("https://blog.developomp.com"),
|
||||
metadataBase: new URL("https://blog.pompy.dev"),
|
||||
title: "Page Not Found",
|
||||
openGraph: {
|
||||
title: titlePrefix + "Page Not Found",
|
||||
|
|
|
@ -3,7 +3,7 @@ import type { Metadata } from "next"
|
|||
import Home from "./Home"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL("https://blog.developomp.com"),
|
||||
metadataBase: new URL("https://blog.pompy.dev"),
|
||||
title: "pomp's blog | Home",
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ export default function Footer() {
|
|||
>
|
||||
<FontAwesomeIcon icon={faRss} />
|
||||
</a>
|
||||
<GithubLinkIcon href="https://github.com/developomp/developomp-site" />
|
||||
<GithubLinkIcon href="https://github.com/pompydev/pompy.dev" />
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import type { PostData } from "@developomp-site/content/src/types/types"
|
||||
import {
|
||||
faBook,
|
||||
faCalendar,
|
||||
faHourglass,
|
||||
} from "@fortawesome/free-solid-svg-icons"
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
||||
import type { PostData } from "@pompydev/content/src/types/types"
|
||||
import Link from "next/link"
|
||||
|
||||
import Card from "@/components/Card"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import myPreset from "@developomp-site/tailwind-config/tailwind.config.js"
|
||||
import myPreset from "@pompydev/tailwind-config/tailwind.config.js"
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
export default {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue