Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const metadata: Metadata = {
description: "비전을 가지고 함께 성장하는 학회, 큐시즘의 공식 홈페이지입니다.",
applicationName: "큐시즘",
generator: "Next.js",
keywords: ["KUSITMS", "큐시즘","한국대학생IT경영학회", "학회", "공식 홈페이지"],
keywords: ["KUSITMS", "큐시즘", "한국대학생IT경영학회", "학회", "공식 홈페이지"],
openGraph: {
type: "website",
title: "큐시즘(KUSITMS) - 한국대학생IT경영학회",
Expand Down Expand Up @@ -68,6 +68,7 @@ export default function RootLayout({
name="google-site-verification"
content="R2qZKJEnprutZz2bbtWEH9yiKRlDKeZbwQHhaP7D6rg"
/>
<meta name="naver-site-verification" content="32cae4782e453d247eba34971f56488764aa20a5" />
</head>
<body
className={`${pretendard.variable} ${geistMono.variable} ${outfit.variable} antialiased`}
Expand Down
9 changes: 8 additions & 1 deletion src/components/projectDetail/ProjectNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ interface NavButtonProps {

function NavButton({ href, positionClass, icon, size }: NavButtonProps) {
const iconSize = size === "large" ? { width: 16, height: 25 } : { width: 10, height: 18 };
const paddingClass = size === "small" ? (icon === "left" ? "pr-[1.2px]" : "pl-[1px]") : (icon === "left" ? "pr-[2px]" : "pl-[4px]");
const paddingClass =
size === "small"
? icon === "left"
? "pr-[1.2px]"
: "pl-[1px]"
: icon === "left"
? "pr-[2px]"
: "pl-[4px]";

return (
<Link
Expand Down
8 changes: 6 additions & 2 deletions src/components/projects/common/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ const Cardinal = ({ cardinal, type }: CardinalProps) => (
{type && (
<>
<span className="text-body-8 text-gray-500">&middot;</span>
<span className="tablet:text-body-8 text-body-9 text-gray-500">{toUpperCaseOnlyLetters(type)}</span>
<span className="tablet:text-body-8 text-body-9 text-gray-500">
{toUpperCaseOnlyLetters(type)}
</span>
</>
)}
</div>
Expand All @@ -64,7 +66,9 @@ const ProjectName = ({ children }: { children: ReactNode }) => (
);

const ContentIntro = ({ children }: { children: ReactNode }) => (
<p className="h-[47px] tablet:text-body-6 text-body-8 font-semibold text-gray-500 line-clamp-2">{children}</p>
<p className="h-[47px] tablet:text-body-6 text-body-8 font-semibold text-gray-500 line-clamp-2">
{children}
</p>
);

const CategoryContainer = ({ children }: { children: ReactNode }) => (
Expand Down
6 changes: 2 additions & 4 deletions src/components/shared/LinkButton.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use client";

import Image from "next/image";
import { useRouter } from "next/navigation";

interface LinkButtonProps {
title?: string;
Expand All @@ -10,12 +9,11 @@ interface LinkButtonProps {
}

const LinkButton = ({ title, link, className }: LinkButtonProps) => {
const router = useRouter();

return (
<button
onClick={() => {
link && router.push(link);
if (!link) return;
window.open(link, "_blank");
}}
className={`text-gray-0 rounded-full cursor-pointer w-fit text-body-8 desktop:text-body-4 flex gap-[12px] justify-center items-center pl-[32px] pr-[24px] py-[10px] bg-dark-blue-500 hover:bg-dark-blue-400 active:bg-dark-blue-600 ${className}`}
>
Expand Down
14 changes: 3 additions & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -23,9 +19,7 @@
}
],
"paths": {
"@/*": [
"./src/*"
]
"@/*": ["./src/*"]
}
},
"include": [
Expand All @@ -36,7 +30,5 @@
"src/components/shared/BackButton.tsx",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
]
"exclude": ["node_modules"]
}