-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
柴犬
authored and
柴犬
committed
Oct 27, 2023
1 parent
1fbb919
commit 71372e7
Showing
9 changed files
with
152 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Live {.font-size--xxl .font-black .deco} | ||
|
||
## Day 1 | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/NbDyZUaE69s?si=7UJo6ByDvKKOvPJo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> | ||
|
||
## Day 1.5 | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/21TODVE1PTo?si=hEuVhrDmhFLkKvHT" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> | ||
|
||
## Day 2 | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/rpf2PYrXy_E?si=jiiiW9EvRfkl-ZG1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> | ||
|
||
## Day 2.5 | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/epBgPeWiI_M?si=l0b2STXPr5-RAggV" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
- [Home](/) {.font-size--m .list} | ||
- [Program](/program) {.font-size--m .list} | ||
- [Traffic](#) {.font-size--m .list} | ||
- [Live](#) {.font-size--m .list} | ||
- [Live](/live) {.font-size--m .list} | ||
- [Partner](#) {.font-size--m .list} | ||
{.navbar-list} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# 直播連結 {.font-size--xxl .font-black .deco} | ||
|
||
## Day 1 | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/NbDyZUaE69s?si=7UJo6ByDvKKOvPJo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> | ||
|
||
## Day 1.5 | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/21TODVE1PTo?si=hEuVhrDmhFLkKvHT" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> | ||
|
||
## Day 2 | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/rpf2PYrXy_E?si=jiiiW9EvRfkl-ZG1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> | ||
|
||
## Day 2.5 | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/epBgPeWiI_M?si=l0b2STXPr5-RAggV" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
- [首頁](/) {.font-size--m .list} | ||
- [議程表](/program) {.font-size--m .list} | ||
- [交通說明](#) {.font-size--m .list} | ||
- [現場直播](#) {.font-size--m .list} | ||
- [現場直播](/live) {.font-size--m .list} | ||
- [合作夥伴](/partner) {.font-size--m .list} | ||
{.navbar-list} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<script setup lang="ts"> | ||
import { defineAsyncComponent } from 'vue'; | ||
import { useBreakpoints, usePreferredLanguages } from '@vueuse/core'; | ||
import { signal } from '@/shared/libs/signal'; | ||
import { first, get } from 'lodash-es'; | ||
const breakpoints = useBreakpoints({ | ||
mobile: 600, | ||
tablet: 900, | ||
laptop: 1024, | ||
desktop: 1280 | ||
}); | ||
const isMobile = breakpoints.smaller('tablet'); | ||
const langs = usePreferredLanguages(); | ||
const i18n = { | ||
'zh-TW': defineAsyncComponent( | ||
() => import('@/../locale/zh-TW/live.component.md') | ||
), | ||
en: defineAsyncComponent(() => import('@/../locale/en/live.component.md')) | ||
}; | ||
const content = signal(get(i18n, first(langs.value) ?? 'en') ?? i18n.en); | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<MainNavbar /> | ||
<main class="main-viewport"> | ||
<Suspense> | ||
<component :is="content()" /> | ||
</Suspense> | ||
</main> | ||
<MainFooter /> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
@use '@/assets/styles/scss/modules/theme.module.scss' as theme; | ||
.main-viewport { | ||
--text-color: #{theme.$primary-text-color}; | ||
margin: 4em 2em; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
@media screen and (max-width: 480px) { | ||
margin: 2em 1em; | ||
} | ||
.article { | ||
max-width: 768px; | ||
} | ||
} | ||
</style> | ||
|
||
<style lang="scss"> | ||
.main-viewport { | ||
.article { | ||
.homepage-text { | ||
text-align: justify; | ||
&.content { | ||
display: flex; | ||
align-items: center; | ||
.wikidata-img { | ||
width: 230px; | ||
height: 100%; | ||
margin-right: 20px; | ||
} | ||
.wdc-img { | ||
width: 100%; | ||
height: 100%; | ||
margin-left: 20px; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters