Skip to content

Commit

Permalink
Merge pull request #62 from gdsc-ncku/yeyeleaf
Browse files Browse the repository at this point in the history
add: souvenir photo in home page
  • Loading branch information
yeeway0609 committed Feb 20, 2024
2 parents 45cbbb6 + b45b37a commit 7dad9d6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
Binary file added public/souvenir/omamori.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<p>敬請期待!</p>
</div>
<RouterLink
class="lg:flex w-24 h-10 justify-center bg-white rounded-lg mt-7 "
class="lg:flex h-16 justify-center bg-white rounded-lg mt-7 "
to="/souvenir"
>
<div class="flex flex-col justify-center">
Expand All @@ -161,14 +161,14 @@
</RouterLink>
</div>
<div
class="grid gap-x-8 gap-y-4 sm:grid-cols-3 grid-cols-2 *:mx-auto *:block sm:*:w-48 *:w-40"
class="grid gap-x-8 gap-y-4 sm:grid-cols-3 grid-cols-2 *:mx-auto *:block sm:*:w-48 *:w-40 object-fill"
>
<img src="https://fakeimg.pl/200x200" />
<img src="https://fakeimg.pl/200x200" />
<img src="https://fakeimg.pl/200x200" />
<img src="https://fakeimg.pl/200x200" />
<img src="https://fakeimg.pl/200x200" />
<img src="https://fakeimg.pl/200x200" />
<img src="/souvenir/Bike17_pin.png" />
<img src="/souvenir/Bike17_pin_2.png" />
<img src="/souvenir/Bike17_pin_3.png" />
<img src="/souvenir/Bike17_towel.png" />
<img src="/souvenir/Bike17_towel_2.png" />
<img src="/souvenir/omamori.jpg" />
</div>
</div>

Expand Down
12 changes: 8 additions & 4 deletions src/views/Souvenir.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<div class="h-20"></div>
<div class="h-28"></div>
<WorkInProgress />
<div class="h-36"></div>
<!--
<div class="pt-20 pb-10 sm:px-[8.26rem] px-10 flex flex-col gap-5">
<h1 class="text-[#3A3A3A] font-bold text-center sm:text-5xl text-[2rem]">單車節限定紀念品</h1>
<div class="w-full flex flex-wrap justify-between gap-[3.12rem]">
Expand All @@ -11,18 +14,19 @@
<div class="flex w-32 gap-2 mx-auto my-3">
<div class="p flex-1 h-[0.3125rem] rounded-[0.15625rem] cursor-pointer" v-for="i of 3" :data-select="select[di] === i - 1" @click="change(di, i - 1)()"></div>
<!-- <div class="p flex-1 h-[0.3125rem] rounded-[0.15625rem] cursor-pointer" :data-select="select[di] === 0" @click="change(di, 0)()"></div>
<div class="p flex-1 h-[0.3125rem] rounded-[0.15625rem] cursor-pointer" :data-select="select[di] === 0" @click="change(di, 0)()"></div>
<div class="p flex-1 h-[0.3125rem] rounded-[0.15625rem] cursor-pointer" :data-select="select[di] === 1" @click="change(di, 1)()"></div>
<div class="p flex-1 h-[0.3125rem] rounded-[0.15625rem] cursor-pointer" :data-select="select[di] === 2" @click="change(di, 2)()"></div> -->
<div class="p flex-1 h-[0.3125rem] rounded-[0.15625rem] cursor-pointer" :data-select="select[di] === 2" @click="change(di, 2)()"></div>
</div>
<div class="text-primary-900 text-xs text-center my-2">{{ d.designConcept }}</div>
<div class="text-xs text-center">{{ d.context }}</div>
</div>
</div>
</div>
</div> -->
</template>

<script setup>
import WorkInProgress from '../components/WorkInProgress.vue';
import { ref } from "vue";
const data = [
Expand Down

0 comments on commit 7dad9d6

Please sign in to comment.