-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
175 changed files
with
7,705 additions
and
5,107 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 |
---|---|---|
|
@@ -3,6 +3,8 @@ alanlu | |
Anson | ||
antfu | ||
dbaeumer | ||
ecpay | ||
esbenp | ||
hypernym | ||
jiehousekeeper | ||
zadigetvoltaire |
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 |
---|---|---|
|
@@ -32,5 +32,6 @@ tsup | |
Turborepo | ||
unplugin | ||
unstorage | ||
vercel | ||
videojs | ||
vueuse |
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,35 +1,41 @@ | ||
VERCEL_ENV=preview | ||
NUXT_PUBLIC_SITE_NAME=中華民國職業清潔認證協會 | ||
NUXT_PUBLIC_SITE_URL=https://official-site-web-git-dev-jiehousekeepers-projects.vercel.app | ||
NUXT_PUBLIC_GTAG_ID=G-XXXXXXXXXX | ||
NUXT_PUBLIC_GTM_ID=GTM-xxxxxxxx | ||
NUXT_PUBLIC_FB_URL=https://www.facebook.com/facebook | ||
VERCEL_ENV=preview | ||
VERCEL_BYPASS_TOKEN=f581938b887377b0e75a6c2f8425614f | ||
EDGE_CONFIG=https://edge-config.vercel.com/XXXX?token=XXX-XXX-XXX-XXX | ||
KV_URL=redis://...:6379 | ||
KV_REST_API_URL=... | ||
KV_REST_API_TOKEN=... | ||
REDIS_HOST=redis-.... | ||
REDIS_PORT=11070 | ||
REDIS_PASSWORD=... | ||
STORAGE_TYPE=redis | ||
NOTION_API_KEY=secret_... | ||
NOTION_DATABASE_ID_GALLERIES=... | ||
NOTION_DATABASE_ID_NEWS=... | ||
NOTION_DATABASE_ID_INSTRUCTORS=... | ||
NOTION_DATABASE_ID_CLASSROOMS=... | ||
NOTION_DATABASE_ID_COURSES=... | ||
NOTION_DATABASE_ID_COURSE_EVENTS=... | ||
NOTION_DATABASE_ID_REVIEWS=... | ||
NOTION_DATABASE_ID_FAQ=... | ||
NOTION_DATABASE_ID_CONTACTS=... | ||
NOTION_DATABASE_ID_MEMBERS=... | ||
NOTION_DATABASE_ID_ORDERS==... | ||
ECPAY_MERCHANT_ID=3002607 | ||
ECPAY_HASH_KEY=pwFHCqoQZGmho4w6 | ||
ECPAY_HASH_IV=EkRm7iFT261dpevs | ||
ECPAY_STAGE=0 | ||
NUXT_REDIS_HOST=redis-.... | ||
NUXT_REDIS_PORT=11070 | ||
NUXT_REDIS_PASSWORD=... | ||
NUXT_STORAGE_TYPE=redis | ||
NUXT_NOTION_API_KEY=secret_... | ||
NUXT_NOTION_DATABASE_ID_GALLERIES=... | ||
NUXT_NOTION_DATABASE_ID_NEWS=... | ||
NUXT_NOTION_DATABASE_ID_INSTRUCTORS=... | ||
NUXT_NOTION_DATABASE_ID_CLASSROOMS=... | ||
NUXT_NOTION_DATABASE_ID_COURSES=... | ||
NUXT_NOTION_DATABASE_ID_COURSE_BASES=... | ||
NUXT_NOTION_DATABASE_ID_COURSE_EVENTS=... | ||
NUXT_NOTION_DATABASE_ID_REVIEWS=... | ||
NUXT_NOTION_DATABASE_ID_FAQ=... | ||
NUXT_NOTION_DATABASE_ID_PARTNERS=... | ||
NUXT_NOTION_DATABASE_ID_CONTACTS=... | ||
NUXT_NOTION_DATABASE_ID_MEMBERS=... | ||
NUXT_NOTION_DATABASE_ID_ORDERS==... | ||
NUXT_NOTION_DATABASE_ID_META=... | ||
NUXT_NOTION_DATABASE_ID_MONTHS=... | ||
NUXT_ECPAY_MERCHANT_ID=3002607 | ||
NUXT_ECPAY_HASH_KEY=pwFHCqoQZGmho4w6 | ||
NUXT_ECPAY_HASH_IV=EkRm7iFT261dpevs | ||
NUXT_ECPAY_STAGE=1 | ||
NUXT_NODEMAILER_FROM_NAME=中華民國職業清潔認證協會 | ||
NUXT_NODEMAILER_FROM_MAIL=[email protected] | ||
NUXT_NODEMAILER_SERVICE=SendGrid | ||
NUXT_NODEMAILER_AUTH_USER=apikey | ||
NUXT_NODEMAILER_AUTH_PASS=SG.... | ||
NUXT_PUBLIC_GTAG_ID=G-XXXXXXXXXX | ||
NUXT_PUBLIC_GTM_ID=GTM-xxxxxxxx | ||
COMPATIBILITY_DATE=2024-07-20 |
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 @@ | ||
export default defineAppConfig({}) |
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 was deleted.
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,29 @@ | ||
<script setup lang="ts"> | ||
import type { PartnerSchemaType } from '~/schema/partner' | ||
defineProps<{ | ||
partner: PartnerSchemaType | ||
}>() | ||
</script> | ||
|
||
<template> | ||
<div class="bg:home p:6x|12x r:2x"> | ||
<div class="{flex;flex:col;gap:5x} {flex:row}@2xs"> | ||
<div class="flex-basis:200@2xs"> | ||
<template v-if="partner.連結!"> | ||
<a :href="partner.連結!" class="block aspect:1/1 mx:auto overflow:hidden r:2x w:80% w:full@2xs"> | ||
<Image class="{aspect:inherit;object:cover}" :src="partner.圖片[0]" :alt="partner.圖片alt || partner.名稱" /> | ||
</a> | ||
</template> | ||
<template v-else> | ||
<div class="aspect:1/1 mx:auto overflow:hidden r:2x w:80% w:full@2xs"> | ||
<Image class="{aspect:inherit;object:cover}" :src="partner.圖片[0]" :alt="partner.圖片alt || partner.名稱" /> | ||
</div> | ||
</template> | ||
</div> | ||
<div class="b1-r {flex;ai:center} flex:1"> | ||
<p v-for="(p, idx) in partner.介紹?.split('\n')" :key="`${partner.名稱}-${idx}`">{{ p }}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
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
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,43 @@ | ||
<script setup lang="ts"> | ||
import type { InstructorSchemaType } from '~/schema/instructor' | ||
interface IProps { | ||
instructor: InstructorSchemaType | ||
} | ||
defineProps<IProps>() | ||
</script> | ||
|
||
<template> | ||
<div class="{block;content:'';h:1;bg:divider;w:full;my:5x}::after {my:10x}::after@xs {hidden}:last::after my:5x"> | ||
<div class="{flex;flex:col;ai:flex-start;jc:flex-start;gap:5x;flex:wrap} {flex:row}@desktop mt:5x mt:10x@tablet"> | ||
<div class="flex:1 min-w:100% min-w:40%@desktop order:2@desktop overflow:hidden r:2x"> | ||
<div class="rel aspect:4/3"> | ||
<VideoPlayerCover aspect="4/3" class="{abs;inset:0;full} r:2x" :img="instructor.照片[0]" :alt="instructor.名稱" /> | ||
</div> | ||
</div> | ||
<div class="flex:2"> | ||
<h3 class="h3">{{ instructor.名稱 }} {{ instructor.英文名 }}</h3> | ||
<p class="b1-m mt:1x">{{ instructor.頭銜 }}</p> | ||
<div class="list b1-r mt:2x mt:3x@tablet pl:0.5x@tablet"> | ||
<ul class="fg:font-title mt:4x"> | ||
<li>{{ instructor.工作經驗 }} 年收納工作經驗</li> | ||
<li>{{ instructor.教學經驗 }} 年教學經驗</li> | ||
<li>{{ instructor.標語 }}</li> | ||
<li> | ||
<p>專業認證:</p> | ||
<ul class="list-style-type:circle!"> | ||
<li v-for="(item, idx) in instructor.專業認證" :key="`專業認證-${idx}`">{{ item }}</li> | ||
</ul> | ||
</li> | ||
<li> | ||
<p>服務經驗:</p> | ||
<ul class="list-style-type:circle!"> | ||
<li>{{ instructor.服務經驗 }}</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
Oops, something went wrong.