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
Binary file added apps/web/public/example/connection.mp4
Binary file not shown.
Binary file added apps/web/public/example/summary-topic.mp4
Binary file not shown.
Binary file removed apps/web/public/example/topic.mp4
Binary file not shown.
24 changes: 12 additions & 12 deletions apps/web/src/components/landing/demo-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { FolderArchive, Link, NotebookPen } from "lucide-react";

const extensionVideo = "/example/extension.mp4";
const dashboardVideo = "/example/dashboard.mp4";
const topicVideo = "/example/topic.mp4";
const connectionVideo = "/example/connection.mp4";
const summaryTopicVideo = "/example/summary-topic.mp4";

const DEMO_VIDEOS = [
{
Expand All @@ -33,18 +34,17 @@ const DEMO_VIDEOS = [
icon: <Link size={12} />,
title: "연결",
description: "한 곳에 모은 지식들을 자유롭게 연결하세요.",
video: topicVideo,
video: connectionVideo,
button: "연결하러 가기",
},
// TODO: 서버 복구되면 영상 찍기
// {
// type: "dashboard",
// icon: <FolderArchive size={12} />,
// title: "정리",
// description: "연결된 지식들을 하나로 요약하세요.",
// video: topicVideo,
// button: "요약하러 가기",
// },
{
type: "topic",
icon: <FolderArchive size={12} />,
title: "정리",
description: "연결된 지식들을 하나로 요약하세요.",
video: summaryTopicVideo,
button: "요약하러 가기",
},
];

export default function DemoSection() {
Expand All @@ -64,7 +64,7 @@ export default function DemoSection() {
};

return (
<section className="bg-card relative px-4 py-20">
<section id="demo" className="bg-card relative px-4 py-20">
<div className="relative z-10 mx-auto max-w-6xl space-y-8 sm:space-y-12 lg:space-y-24">
{DEMO_VIDEOS.map((demo, idx) => (
<div
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/landing/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Header() {
const [isScrolled, setIsScrolled] = useState(false);
const router = useRouter();

const sectionIds = ["introduction", "features", "benefits", "how-it-works"];
const sectionIds = ["demo", "features", "benefits", "how-it-works"];
const activeSection = useScrollSpy(sectionIds);

useEffect(() => {
Expand All @@ -42,7 +42,7 @@ export default function Header() {
};

const navLinks = [
{ href: "#introduction", label: "소개" },
{ href: "#demo", label: "소개" },
{ href: "#features", label: "기능" },
{ href: "#benefits", label: "혜택" },
{ href: "#how-it-works", label: "사용법" },
Expand Down