Skip to content

Commit

Permalink
Revert "24.12.03 (#63)"
Browse files Browse the repository at this point in the history
This reverts commit 0bd5851.
  • Loading branch information
hailey-hy committed Dec 3, 2024
1 parent 0bd5851 commit 045de6e
Show file tree
Hide file tree
Showing 19 changed files with 121 additions and 469 deletions.
74 changes: 27 additions & 47 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,50 +1,30 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
as="style"
crossorigin
href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css"
/>
<link
rel="stylesheet"
type="text/css"
charset="UTF-8"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css"
/>
<link
rel="stylesheet"
type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"
/>
<title>
포켓 프롬프트 - ChatGPT 프롬프트 모음 | AI 프롬프트 템플릿 저장소
</title>
<meta
name="”keywords”"
content="ChatGPT 프롬프트, AI 프롬프트 템플릿, 프롬프트 엔지니어링, 프롬프트 모음, AI 활용법, 프롬프트 저장, 프롬프트 공유, ChatGPT 활용, Claude 프롬프트"
/>

<!-- 기본 메타 정보 -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://pocket-prompt.com/" />
<meta
property="og:title"
content="포켓 프롬프트 - ChatGPT 프롬프트 모음 | AI 프롬프트 템플릿 저장소"
/>
<meta property="og:image" content="/image.png" />
<meta
property="og:description"
content="ChatGPT, Claude 등 AI 프롬프트 작성이 어려우신가요? 검증된 프롬프트 템플릿을 저장하고 바로 사용하세요!"
/>
<meta property="og:site_name" content="Pocket Prompt" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
as="style"
crossorigin
href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css"
/>
<link
rel="stylesheet"
type="text/css"
charset="UTF-8"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css"
/>
<link
rel="stylesheet"
type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"
/>
<title>Pocket Prompt</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Binary file removed public/image.png
Binary file not shown.
202 changes: 0 additions & 202 deletions src/assets/svg/ImgEmpty.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/svg/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export { default as IcInfoCircle } from "./IcInfoCircle";
export { default as ImgEmpty } from "./ImgEmpty";
export { default as Logo } from "./Logo";
export { default as LogoNoLine } from "./LogoNoLine";
6 changes: 4 additions & 2 deletions src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@ import {
LOCALSTORAGE_KEYS,
removeLocalStorage,
} from "@/utils/storageUtils";
import { useMediaQuery } from "react-responsive";
import { MenuOutlined } from "@ant-design/icons";
import { Menus } from "@/core/Menu";
import useDeviceSize from "@/hooks/useDeviceSize";

type HeaderProps = {
onOpen: () => void;
};
export default function Header({ onOpen }: HeaderProps) {
const { setUser, resetUserState, userData } = useUser();

const { isUnderTablet } = useDeviceSize();
const isUnderTablet = useMediaQuery({
maxWidth: "1024px",
});

useEffect(() => {
const access_token = getLocalStorage(LOCALSTORAGE_KEYS.ACCESS_TOKEN);
Expand Down
11 changes: 0 additions & 11 deletions src/hooks/useDeviceSize.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/layouts/FooterLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { Outlet } from "react-router-dom";

export default function FooterLayout() {
return (
<div style={{ width: "100vw" }}>
<>
<Outlet />
<Footer />
</div>
</>
);
}
Loading

0 comments on commit 045de6e

Please sign in to comment.