Files
repomix-mirror/website/client/components/YouTubeVideo.vue
Kazuki YamadaandClaude 3ec70a12cd docs(website): Add YouTube video examples and reorganize use cases
- Add YouTubeVideo component support for start time parameter
- Embed two YouTube videos showing Repomix usage with LLM CLI tools and Grok
- Reorganize Other Examples section into three main categories:
  * Code Understanding & Quality
  * Security & Dependencies
  * Architecture & Performance
- Add new use cases: Security Vulnerability Assessment, Codebase Onboarding, API Design Review, AI-Powered Code Migration, Performance Optimization Analysis

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 22:17:35 +09:00

41 lines
833 B
Vue

<script setup lang="ts">
import type { VideoId } from '../constants/videos';
defineProps<{
videoId: VideoId | string;
start?: number;
}>();
</script>
<template>
<div class="full-width-youtube-video">
<iframe
width="560"
height="315"
:src="`https://www.youtube.com/embed/${videoId}${start ? `?start=${start}` : ''}`"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
</div>
</template>
<style scoped>
.full-width-youtube-video {
position: relative;
padding-bottom: 56.25%;
height: 0;
}
.full-width-youtube-video iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
border-radius: 0.5rem;
}
</style>