Skip to content

Commit

Permalink
Add responsive images and buttons for mobile layout; include new smal…
Browse files Browse the repository at this point in the history
…l images
  • Loading branch information
ydah committed Feb 5, 2025
1 parent 26ebd5c commit d53f36d
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 30 deletions.
121 changes: 91 additions & 30 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,89 @@
<v-app class="fill-height">
<AppHeader />
<v-row>
<v-img src="/lbottom.png" width="20vw" class="corner left-bottom"/>
<v-img src="/ltop.png" width="45vw" class="corner left-top"/>
<v-img src="/rbottom.png" width="10vw" class="corner right-bottom"/>
<v-img src="/rtop.png" width="15vw" class="corner right-top"/>
<div class="d-none d-sm-block">
<v-img src="/lbottom.png" width="20vw" class="corner left-bottom"/>
<v-img src="/ltop.png" width="45vw" class="corner left-top"/>
<v-img src="/rbottom.png" width="10vw" class="corner right-bottom"/>
<v-img src="/rtop.png" width="15vw" class="corner right-top"/>
</div>
<div class="d-flex d-sm-none">
<v-img src="/lbottom-sm.png" width="60vw" class="corner left-bottom-sm"/>
<v-img src="/ltop-sm.png" width="70vw" class="corner left-top-sm"/>
<v-img src="/rbottom-sm.png" width="30vw" class="corner right-bottom-sm"/>
</div>
<v-col align="center" class="d-flex justify-center align-center">
<v-card
min-width="100vw"
:elevation="0"
>
<v-card-item class="justify-center">
<v-img src="/logo.svg" width="50vh" class="mb-8"/>
<div class="text-h4 title mb-16">
<div class="text-h4 title mb-16 d-none d-sm-block">
2025.6.28 <span class="text-h5 title mr-7">(Sat)</span>
<a class="text-h5 title" href="https://www.kamogawa-odori.com/kaburenjou/">
@先斗町歌舞練場
</a>
</div>
<a
href="https://ti.to/kansairubykaigi/08"
target="_blank"
class="mr-3"
>
<v-btn
size="x-large"
color="white"
rounded
class="v-btn-register mr-3"
>REGISTER NOW</v-btn>
</a>
<a
href="https://forms.gle/yxRKq3Bg1RUC8bocA"
target="_blank"
>
<v-btn
size="x-large"
color="white"
variant="outlined"
rounded
class="v-btn-cfs"
>CALL FOR SPEAKERS</v-btn>
</a>
<div class="text-h4 title mb-16 d-block d-sm-none">
2025.6.28 <span class="text-h5 title">(Sat)</span>
<a class="text-h5 title d-block mt-3" href="https://www.kamogawa-odori.com/kaburenjou/">
@先斗町歌舞練場
</a>
</div>
<div class="d-none d-sm-flex">
<a
href="https://ti.to/kansairubykaigi/08"
target="_blank"
class="mr-3"
>
<v-btn
size="x-large"
color="white"
rounded
class="v-btn-register mr-3"
>REGISTER NOW</v-btn>
</a>
<a
href="https://forms.gle/yxRKq3Bg1RUC8bocA"
target="_blank"
class="a-register"
>
<v-btn
size="x-large"
color="white"
variant="outlined"
rounded
class="v-btn-cfs"
>CALL FOR SPEAKERS</v-btn>
</a>
</div>
<div class="d-block d-sm-none">
<a
href="https://ti.to/kansairubykaigi/08"
target="_blank"
>
<v-btn
size="x-large"
color="white"
rounded
class="v-btn-register mb-5"
>REGISTER NOW</v-btn>
</a>
<a
href="https://forms.gle/yxRKq3Bg1RUC8bocA"
target="_blank"
class="a-register"
>
<v-btn
size="x-large"
color="white"
variant="outlined"
rounded
class="v-btn-cfs"
>CALL FOR SPEAKERS</v-btn>
</a>
</div>
</v-card-item>
</v-card>
</v-col>
Expand All @@ -66,6 +108,10 @@
margin: 0 !important;
}
.a-register {
text-decoration: none !important;
}
.title {
font-family: "游明朝体", "Yu Mincho", YuMincho, serif;
}
Expand All @@ -79,7 +125,7 @@
}
.v-btn-register, .v-btn-cfs {
min-width: 260px;
min-width: 18rem;
font-family: 'Kumbh Sans', serif;
}
Expand Down Expand Up @@ -107,4 +153,19 @@
bottom: 5%;
right: 0px;
}
.left-top-sm {
top: 0px;
left: 0px;
}
.left-bottom-sm {
bottom: 0px;
left: 0px;
}
.right-bottom-sm {
bottom: 28%;
right: 0px;
}
</style>
Binary file added public/lbottom-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/ltop-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/rbottom-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d53f36d

Please sign in to comment.