Skip to content

Commit 095cdb6

Browse files
authored
Revert "Newt CMS から Local の管理へ切り替え"
1 parent 35a8082 commit 095cdb6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+8
-1329
lines changed

app/components/SponsorsPageSection.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<script setup lang="ts">
22
import SponsorList from '~/components/sponsors/SponsorList.vue'
33
import SectionTitle from '~/components/SectionTitle.vue'
4-
// import { useSponsorsCMS } from '~/composables/useCMS'
4+
import { useSponsorsCMS } from '~/composables/useCMS'
55
import { individuals } from '~/utils/individuals.constants'
66
7-
import { sponsors } from '~/utils/newt.constants'
8-
9-
// const { fetchContent } = useSponsorsCMS()
10-
// const { data: sponsors } = useLazyAsyncData('sponsors', () => fetchContent())
7+
const { fetchContent } = useSponsorsCMS()
8+
const { data: sponsors } = useLazyAsyncData('sponsors', () => fetchContent())
119
</script>
1210

1311
<template>

app/components/sponsors/SponsorListBio.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import type { CustomPropType } from '~/types/shims-vue'
33
import { sponsorSupportLevelTitle } from '~/utils/sponsors.constants'
44
import { ISponsor } from '~/types/sponsors'
5-
import { REDIRECT_URL } from '~/utils/environment.constants'
65
76
const props = defineProps({
87
sponsors: {
@@ -47,7 +46,7 @@ const sponsorRankClass = computed(() => {
4746
rel="noopener"
4847
>
4948
<img
50-
:src="`${REDIRECT_URL}/sponsor/${sponsor.image.src}`"
49+
:src="sponsor.image.src"
5150
:alt="sponsor.name_jp"
5251
loading="lazy"
5352
class="aspect-video mb-5 w-full"

app/components/sponsors/SponsorLogo.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script setup lang="ts">
22
import { ISponsor } from '~/types/sponsors'
3-
import { REDIRECT_URL } from '~/utils/environment.constants'
43
54
const props = defineProps<{
65
sponsor: ISponsor
@@ -15,7 +14,7 @@ const props = defineProps<{
1514
class="shadow-card hover:shadow-card-hover transition"
1615
>
1716
<img
18-
:src="`${REDIRECT_URL}/sponsor/${props.sponsor.image.src}`"
17+
:src="props.sponsor.image.src"
1918
:alt="props.sponsor.name_jp"
2019
class="aspect-16/9 object-cover w-full bg-center"
2120
>

app/pages/sponsors/index.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ import SponsorListBio from '~/components/sponsors/SponsorListBio.vue'
66
import PageTitle from '~/components/PageTitle.vue'
77
import FooterPageSection from '~/components/FooterPageSection.vue'
88
import IchimatsuDividedBar from '~/components/IchimatsuDividedBar.vue'
9-
// import { useSponsorsCMS } from '~/composables/useCMS'
9+
import { useSponsorsCMS } from '~/composables/useCMS'
1010
import { SHOW_SPONSOR_LIST } from '~/utils/feature.constants'
1111
import { conferenceTitle } from '~/utils/constants'
1212
import { generalOg, twitterOg } from '~/utils/og.constants'
1313
14-
import { sponsors } from '~/utils/newt.constants'
15-
1614
const title = `スポンサー一覧 | ${conferenceTitle}`
1715
const url = 'https://vuefes.jp/2022/sponsors'
1816
const description = `${conferenceTitle} のスポンサー情報です。`
@@ -25,8 +23,8 @@ useNuxt2Meta({
2523
]
2624
})
2725
28-
// const { fetchContent } = useSponsorsCMS()
29-
// const { data: sponsors } = useLazyAsyncData('sponsors', () => fetchContent())
26+
const { fetchContent } = useSponsorsCMS()
27+
const { data: sponsors } = useLazyAsyncData('sponsors', () => fetchContent())
3028
3129
const links = [
3230
{ label: 'Platinum', link: '#platinum' },

app/static/sponsor-square/base.png

-2.26 KB
Binary file not shown.
-2.96 KB
Binary file not shown.

app/static/sponsor-square/future.png

-4.07 KB
Binary file not shown.
-7.58 KB
Binary file not shown.

app/static/sponsor-square/icare.png

-10.8 KB
Binary file not shown.

app/static/sponsor-square/line.png

-1.74 KB
Binary file not shown.

0 commit comments

Comments
 (0)