Skip to content

Commit

Permalink
๐Ÿ’„ style: ํƒœ๋ธ”๋ฆฟ ๋ ˆ์ด์•„์›ƒ ์ผ๋ถ€ ๊ฐœ์„ 
Browse files Browse the repository at this point in the history
  • Loading branch information
gr22nist committed Nov 17, 2024
1 parent 439375e commit f17663b
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions components/FloatingContact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function FloatingContact() {
</motion.div>

<Dialog open={isOpen} onOpenChange={setIsOpen}>
<DialogContent className="max-w-sm sm:max-w-lg">
<DialogContent className="max-w-xs sm:max-w-lg">
<DialogHeader>
<DialogTitle>์—ฐ๋ฝํ•˜๊ธฐ</DialogTitle>
<DialogDescription>
Expand All @@ -43,7 +43,7 @@ export function FloatingContact() {
<div className="grid gap-4 py-4">
<Button asChild variant="outline" className="w-full">
<a href="mailto:[email protected]">
<Mail className="mr-2 h-4 w-4" />
<Mail className="h-4 w-4" />
์ด๋ฉ”์ผ ๋ณด๋‚ด๊ธฐ
</a>
</Button>
Expand Down
9 changes: 5 additions & 4 deletions components/project/Gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function Gallery({
className
)}>
<div className={cn(
"aspect-[16/9] md:aspect-[21/9]",
"aspect-video",
isModal && "aspect-auto max-h-[80vh]",
"relative"
)}>
Expand All @@ -49,9 +49,10 @@ export function Gallery({
src={images[currentIndex]}
alt={`${title} ์Šคํฌ๋ฆฐ์ƒท ${currentIndex + 1}`}
fill
className="object-cover"
priority={currentIndex === 0}
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
className="object-contain"
quality={85}
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 80vw, 70vw"
priority
/>
</motion.div>
</AnimatePresence>
Expand Down
4 changes: 2 additions & 2 deletions components/project/ProjectDetailClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export function ProjectDetailClient({ project }: ProjectDetailClientProps) {
<div className="min-h-screen text-foreground">
<ProjectBackground />
<ProjectHeader />
<main className="py-12">
<div className="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8">
<main className="py-10">
<div className="max-w-screen-xl mx-auto flex flex-col gap-8 px-4 sm:px-6 lg:px-8">
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
Expand Down
12 changes: 6 additions & 6 deletions components/project/ProjectOverview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ type BadgeVariant = NonNullable<BadgeProps["variant"]>

export function ProjectOverview({ overview, tech, role, links, status, period }: ProjectOverviewProps) {
return (
<div className="space-y-8">
<Section title="ํ”„๋กœ์ ํŠธ ๊ฐœ์š”">
<div className="space-y-8">
<div className="flex flex-wrap items-center gap-3">
<>
<Section title="ํ”„๋กœ์ ํŠธ ์ •๋ณด">
<div className="flex flex-col gap-8">
<div className="flex flex-wrap items-center gap-2">
<Badge variant={getStatusVariant(status.main)}>
{status.main}
</Badge>
Expand Down Expand Up @@ -49,7 +49,7 @@ export function ProjectOverview({ overview, tech, role, links, status, period }:
<div className="space-y-3">
<h4 className="text-lg font-semibold">๋‹ด๋‹น ์—ญํ• </h4>
<div className="space-y-3">
<div className="flex items-center gap-2">
<div className="flex flex-col sm:flex-row items-start gap-2">
<span className="font-medium">{role.main}</span>
<Badge>์ฐธ์—ฌ์œจ {role.participation}%</Badge>
</div>
Expand Down Expand Up @@ -79,7 +79,7 @@ export function ProjectOverview({ overview, tech, role, links, status, period }:
</div>
</div>
</Section>
</div>
</>
)
}

Expand Down
8 changes: 4 additions & 4 deletions components/sections/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function HeroSection() {
const FileNameLabel = memo(function FileNameLabel() {
return (
<span
className="text-xs text-muted-foreground ml-2 select-none hidden sm:inline-block"
className="text-xs text-primary ml-2 select-none hidden sm:inline-block"
aria-hidden="true"
>
devin-down.js
Expand Down Expand Up @@ -148,12 +148,12 @@ export default function HeroSection() {
</div>
<FileNameLabel />
</div>
<div className="text-xs text-muted-foreground">
<span className="px-2 py-1 rounded-md bg-primary/10">main</span>
<div className="text-xs text-primary">
<span className="px-2 py-1 rounded-md bg-background/80">main</span>
</div>
</div>

<div className="p-4 sm:p-6 space-y-4 font-mono text-sm sm:text-base overflow-x-auto">
<div className="p-4 sm:p-6 space-y-4 font-mono text-xs sm:text-sm overflow-x-auto">
<motion.div className="group whitespace-nowrap sm:whitespace-normal">
<span className="text-zinc-800 dark:text-white">{importText}</span>
</motion.div>
Expand Down
21 changes: 10 additions & 11 deletions data/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,9 @@ export const projects: Project[] = [
},
image: "/images/dd-thumbnail.svg",
gallery: [
"/images/project/project1.jpg",
"/images/project/project1.jpg",
"/images/project/project1.jpg",
"/images/project/project1.jpg"
"/images/project/dd-01.jpg",
"/images/project/dd-02.jpg",
"/images/project/dd-03.jpg",
],
performance: {
desktop: {
Expand Down Expand Up @@ -315,8 +314,9 @@ export const projects: Project[] = [
},
image: "/images/sqool-thumbnail.svg",
gallery: [
"/images/project/sqool-01.png",
"/images/project/sqool-02.png",
"/images/project/sqool-01.jpg",
"/images/project/sqool-02.jpg",
"/images/project/sqool-03.jpg",
],
performance: {
desktop: {
Expand Down Expand Up @@ -344,8 +344,9 @@ export const projects: Project[] = [
main: "ํ”„๋ก ํŠธ์—”๋“œ ๊ฐœ๋ฐœ (๊ฐœ์ธ ํ”„๋กœ์ ํŠธ)",
tasks: [
"IndexedDB๋ฅผ ํ™œ์šฉํ•œ ํด๋ผ์ด์–ธํŠธ ์‚ฌ์ด๋“œ ๋ฐ์ดํ„ฐ ์ €์žฅ ๊ตฌํ˜„",
"Zustand๋ฅผ ํ™œ์šฉํ•œ ์ƒํƒœ ๊ด€๋ฆฌ ๋ฐ ์‹ค์‹œ๊ฐ„ ๋ฏธ๋ฆฌ๋ณด๊ธฐ ๊ธฐ๋Šฅ ๊ฐœ๋ฐœ",
"์ž๋™ ์ €์žฅ, ๋‚ด๋ณด๋‚ด๊ธฐ/๊ฐ€์ ธ์˜ค๊ธฐ ์‹œ์Šคํ…œ ๊ตฌ์ถ•",
"Zustand๋ฅผ ํ™œ์šฉํ•œ ์ƒํƒœ ๊ด€๋ฆฌ",
"์‹ค์‹œ๊ฐ„ ๋ฏธ๋ฆฌ๋ณด๊ธฐ ๋ฐ ๋””์ž์ธ ํ…Œ๋งˆ ๊ฐœ๋ฐœ ์ง„ํ–‰ ์ค‘"
],
participation: 100
},
Expand Down Expand Up @@ -472,10 +473,8 @@ export const projects: Project[] = [
},
image: "/images/myr-thumbnail.svg",
gallery: [
"/images/project/project1.jpg",
"/images/project/project1.jpg",
"/images/project/project1.jpg",
"/images/project/project1.jpg"
"/images/project/myr-01.jpg",
"/images/project/myr-02.jpg",
],
performance: undefined
}
Expand Down

0 comments on commit f17663b

Please sign in to comment.