Skip to content

Commit e00c2d9

Browse files
committed
guide/best-practices/accessibility
- 문서 번역 - 코드팬 컴포넌트 생성 - 코드팬 한글화 - 이미지 한글화 - 미사용 더미 이미지 삭제
1 parent fa3f85c commit e00c2d9

File tree

7 files changed

+229
-156
lines changed

7 files changed

+229
-156
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<template>
2+
<iframe
3+
v-if='able'
4+
:height="height"
5+
:title="title"
6+
:src="`https://codepen.io/niceplugin/embed/${ slug }?default-tab=result`"
7+
style="width: 100%;"
8+
scrolling="no"
9+
frameborder="no"
10+
loading="lazy"
11+
allowtransparency="true"
12+
allowfullscreen="true"
13+
>
14+
See the Pen <a :href="`https://codepen.io/niceplugin/pen/${ slug }`">
15+
{{ title }}</a> by NiceHwang (<a href="https://codepen.io/niceplugin">@niceplugin</a>)
16+
on <a href="https://codepen.io">CodePen</a>.
17+
</iframe>
18+
</template>
19+
20+
<script setup>
21+
import { computed } from 'vue'
22+
23+
const props = defineProps({
24+
title: String,
25+
slug: String,
26+
height: {
27+
type: Number,
28+
default: 0
29+
}
30+
})
31+
const able = computed(() => {
32+
return props.title && props.slug && props.height
33+
})
34+
</script>
35+
36+
<style scoped>
37+
iframe {
38+
margin: 28px 0;
39+
}
40+
</style>

ko-KR/src/guide/best-practices/accessibility.md

Lines changed: 189 additions & 156 deletions
Large diffs are not rendered by default.
Binary file not shown.
-48.9 KB
Loading
-38.1 KB
Loading
-40.8 KB
Loading
-29.1 KB
Loading

0 commit comments

Comments
 (0)