Skip to content

Commit 6987001

Browse files
hchangclaude
andcommitted
feat: 마이페이지에 만족도 조사 링크 카드 추가
- 추첨권 카드 아래에 핑크색 카드로 표시 - 클릭하면 Google Forms로 이동 - 팝업 없이도 언제든 접근 가능 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a61c7bf commit 6987001

1 file changed

Lines changed: 33 additions & 1 deletion

File tree

moducon-frontend/src/app/mypage/page.tsx

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useEffect, useState, useCallback } from 'react';
44
import { useRouter } from 'next/navigation';
55
import { useAuthStore } from '@/store/authStore';
66
import { motion } from 'motion/react';
7-
import { User, LogOut, RefreshCw, Heart, CheckCircle, Trophy, HelpCircle, ChevronRight, Ticket } from 'lucide-react';
7+
import { User, LogOut, RefreshCw, Heart, CheckCircle, Trophy, HelpCircle, ChevronRight, Ticket, MessageSquareHeart } from 'lucide-react';
88
import { Button } from '@/components/ui/button';
99
import { Card, CardContent } from '@/components/ui/card';
1010
import { Badge } from '@/components/ui/badge';
@@ -318,6 +318,38 @@ export default function MyPage() {
318318
</motion.div>
319319
)}
320320

321+
{/* 만족도 조사 링크 */}
322+
<motion.div
323+
initial={{ opacity: 0, y: 20 }}
324+
animate={{ opacity: 1, y: 0 }}
325+
transition={{ duration: 0.3, delay: 0.15 }}
326+
className="px-4 mt-4"
327+
>
328+
<a
329+
href="https://forms.gle/xAja9Y5pyuhE3U4GA"
330+
target="_blank"
331+
rel="noopener noreferrer"
332+
className="block"
333+
>
334+
<Card className="bg-gradient-to-r from-pink-500 to-rose-500 overflow-hidden border-0 shadow-lg hover:shadow-xl transition-shadow">
335+
<CardContent className="p-4">
336+
<div className="flex items-center justify-between">
337+
<div className="flex items-center gap-3">
338+
<div className="w-10 h-10 rounded-full bg-white/30 flex items-center justify-center">
339+
<MessageSquareHeart className="w-5 h-5 text-white" />
340+
</div>
341+
<div>
342+
<p className="text-white/80 text-xs font-medium">만족도 조사</p>
343+
<p className="text-white text-sm font-semibold">모두콘 피드백 남기기</p>
344+
</div>
345+
</div>
346+
<ChevronRight className="w-5 h-5 text-white/80" />
347+
</div>
348+
</CardContent>
349+
</Card>
350+
</a>
351+
</motion.div>
352+
321353
{/* 탭 네비게이션 */}
322354
<div className="px-4 mt-6">
323355
<div className="flex gap-2 bg-white rounded-xl p-1 shadow-sm">

0 commit comments

Comments
 (0)