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.

app/static/sponsor-square/medpeer.png

-5.92 KB
Binary file not shown.

app/static/sponsor-square/stores.png

-4.81 KB
Binary file not shown.

app/static/sponsor-square/yesod.png

-1.57 KB
Binary file not shown.

app/static/sponsor/base.png

1.74 KB

app/static/sponsor/bengo4.png

-3.44 KB
Binary file not shown.

app/static/sponsor/coconala.png

-2.67 KB
Binary file not shown.

app/static/sponsor/codedict.png

-2.4 KB
Binary file not shown.

app/static/sponsor/cybozu.png

-2.36 KB
Binary file not shown.

app/static/sponsor/esa.png

-1.73 KB
Binary file not shown.

app/static/sponsor/excite.png

-2.87 KB
Binary file not shown.

app/static/sponsor/future.png

2.09 KB

app/static/sponsor/giftee.png

-2.22 KB
Binary file not shown.

app/static/sponsor/gihyo.png

-2.39 KB
Binary file not shown.

app/static/sponsor/grapecity.png

3.03 KB

app/static/sponsor/hacomono.png

-1.73 KB
Binary file not shown.

app/static/sponsor/hamworks.png

-2.4 KB
Binary file not shown.

app/static/sponsor/icare.png

6.06 KB

app/static/sponsor/line.png

694 Bytes

app/static/sponsor/lm.png

-1.76 KB
Binary file not shown.

app/static/sponsor/m3.png

-2.94 KB
Binary file not shown.

app/static/sponsor/macloud.png

-2.17 KB
Binary file not shown.

app/static/sponsor/medpeer.png

2.07 KB

app/static/sponsor/microad.png

-3.87 KB
Binary file not shown.

app/static/sponsor/monsterdive.png

-2.83 KB
Binary file not shown.

app/static/sponsor/newt.png

-1.89 KB
Binary file not shown.

app/static/sponsor/raksul.png

-3.12 KB
Binary file not shown.

app/static/sponsor/rakus.png

-2.33 KB
Binary file not shown.

app/static/sponsor/retty.png

-1.86 KB
Binary file not shown.

app/static/sponsor/satori.png

-1.34 KB
Binary file not shown.

app/static/sponsor/stores.png

1.36 KB

app/static/sponsor/studist.png

-2.09 KB
Binary file not shown.

app/static/sponsor/tanomu.png

-3.09 KB
Binary file not shown.

app/static/sponsor/techfeed.png

-616 Bytes
Binary file not shown.

app/static/sponsor/visasq.png

-1.58 KB
Binary file not shown.

app/static/sponsor/wacaxi.png

-2.25 KB
Binary file not shown.

app/static/sponsor/winenabe.png

-1.72 KB
Binary file not shown.

app/static/sponsor/yappli.png

-2.06 KB
Binary file not shown.

app/static/sponsor/yesod.png

1.3 KB

app/static/sponsor/yourmystar.png

-2.36 KB
Binary file not shown.

app/static/sponsor/yumemi.png

-2.79 KB
Binary file not shown.

app/utils/environment.constants.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
export const isProd = process.env.NODE_ENV === 'production'
2-
3-
export const REDIRECT_URL = isProd ? 'https://vuefes.jp/2022' : 'http://localhost:3000'

0 commit comments

Comments
 (0)