Skip to content

Commit

Permalink
Merge pull request #64 from YNUFes-tech/time-table
Browse files Browse the repository at this point in the history
タイムスケジュールページの完成
  • Loading branch information
Shion1305 authored Oct 29, 2023
2 parents b92eff0 + f016e38 commit aa7f700
Show file tree
Hide file tree
Showing 4 changed files with 740 additions and 5 deletions.
20 changes: 20 additions & 0 deletions components/SelectButton.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<script lang="ts" setup>
const props = defineProps({
value: {
type: String,
required: true,
},
selected: {
type: Boolean,
required: true,
},
});
</script>

<template>
<button class="select-button" :class="{ selected: props.selected }">
{{ props.value }}
</button>
</template>

<style scoped></style>
24 changes: 19 additions & 5 deletions components/SponsorsListTitle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,35 @@ const props = defineProps({
</div>
</template>

<style scoped>
<style lang="scss" scoped>
.sponsors-list-title {
background: url("/images/sponsors/sponsors-list-title.webp") no-repeat
left/contain;
width: 20em;
height: 130px;
text-align: center;
display: flex;
align-items: center;
> h2 {
min-width: 8em;
width: 100%;
text-align: center;
position: relative;
font-size: 2em;
font-weight: bold;
width: 100%;
z-index: 10;
color: var(--thick-font-color);
&:before {
z-index: -1;
content: "";
position: absolute;
bottom: -0.5em;
display: block;
height: 1em;
width: 100%;
background: url("/images/sponsors/sponsors-list-title.webp") no-repeat
center bottom / contain;
margin-top: 0.5em;
}
}
}
</style>
Loading

0 comments on commit aa7f700

Please sign in to comment.