diff --git a/apps/member/src/components/community/BoardCollectCard/BoardCollectCard.tsx b/apps/member/src/components/community/BoardCollectCard/BoardCollectCard.tsx index 87841a32..f156dfe0 100644 --- a/apps/member/src/components/community/BoardCollectCard/BoardCollectCard.tsx +++ b/apps/member/src/components/community/BoardCollectCard/BoardCollectCard.tsx @@ -1,6 +1,8 @@ import { LiaCommentSolid } from 'react-icons/lia'; import { Link } from 'react-router-dom'; +import { toDecodeHTMLEntities } from '@clab/utils'; + import Image from '@components/common/Image/Image'; import { PATH_FINDER } from '@constants/path'; @@ -35,7 +37,9 @@ const BoardCollectCard = ({

{title}

-

{content}

+

+ {toDecodeHTMLEntities(content)} +

diff --git a/apps/status/.gitignore b/apps/status/.gitignore new file mode 100644 index 00000000..fd3dbb57 --- /dev/null +++ b/apps/status/.gitignore @@ -0,0 +1,36 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js +.yarn/install-state.gz + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/apps/status/README.md b/apps/status/README.md new file mode 100644 index 00000000..c4033664 --- /dev/null +++ b/apps/status/README.md @@ -0,0 +1,36 @@ +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). + +## Getting Started + +First, run the development server: + +```bash +npm run dev +# or +yarn dev +# or +pnpm dev +# or +bun dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. + +This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. + +## Learn More + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/apps/status/app/favicon.ico b/apps/status/app/favicon.ico new file mode 100644 index 00000000..718d6fea Binary files /dev/null and b/apps/status/app/favicon.ico differ diff --git a/apps/status/app/globals.css b/apps/status/app/globals.css new file mode 100644 index 00000000..c2910cd2 --- /dev/null +++ b/apps/status/app/globals.css @@ -0,0 +1,56 @@ +@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/variable/pretendardvariable-dynamic-subset.css'); + +@tailwind base; +@tailwind components; +@tailwind utilities; + +:root { + font-family: + 'Pretendard Variable', + Pretendard, + -apple-system, + BlinkMacSystemFont, + system-ui, + Roboto, + 'Helvetica Neue', + 'Segoe UI', + 'Apple SD Gothic Neo', + 'Noto Sans KR', + 'Malgun Gothic', + 'Apple Color Emoji', + 'Segoe UI Emoji', + 'Segoe UI Symbol', + sans-serif; + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-text-size-adjust: 100%; + font-size: 14px; +} + +@media (min-width: 768px) { + :root { + font-size: 16px; + } +} + +@layer utilities { + /* Hide scrollbar for Chrome, Safari, and Opera */ + .scrollbar-hide::-webkit-scrollbar { + display: none; + } + + /* Hide scrollbar for IE, Edge, and Firefox */ + .scrollbar-hide { + -ms-overflow-style: none; + /* IE and Edge */ + scrollbar-width: none; + /* Firefox */ + } +} + +a, +img { + -webkit-user-drag: none; +} diff --git a/apps/status/app/layout.tsx b/apps/status/app/layout.tsx new file mode 100644 index 00000000..8cf28049 --- /dev/null +++ b/apps/status/app/layout.tsx @@ -0,0 +1,27 @@ +import { Footer, Header } from '@/src/widgets/menu'; +import type { Metadata } from 'next'; + +import './globals.css'; + +export const metadata: Metadata = { + title: 'C-LAB Status', + description: 'C-LAB 서비스들의 상태를 한눈에 확인해보세요', +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + +

+
+ {children} +
+