├── src
├── @types
│ ├── index.d.ts
│ └── [event_id].d.ts
├── pages
│ ├── img
│ │ ├── yahoo.png
│ │ ├── reset.svg
│ │ ├── official_mobile.svg
│ │ ├── mail.svg
│ │ ├── calendar.svg
│ │ ├── save.svg
│ │ ├── password.svg
│ │ ├── icon_twitter.svg
│ │ ├── google.svg
│ │ └── line.svg
│ ├── api
│ │ ├── auth.ts
│ │ ├── email.ts
│ │ ├── recaptcha.ts
│ │ ├── sessionLogout.ts
│ │ ├── login.ts
│ │ ├── session.ts
│ │ ├── contact.ts
│ │ └── ogp.ts
│ ├── _document.tsx
│ ├── _app.tsx
│ ├── test.tsx
│ ├── kinakomochi
│ │ ├── index.tsx
│ │ ├── contents
│ │ │ ├── index.tsx
│ │ │ ├── csv.tsx
│ │ │ ├── register.tsx
│ │ │ └── [content_id].tsx
│ │ ├── events
│ │ │ ├── index.tsx
│ │ │ ├── csv.tsx
│ │ │ └── register.tsx
│ │ └── items
│ │ │ └── [event_id].tsx
│ ├── privacy.tsx
│ ├── contact
│ │ └── complete.tsx
│ └── index.tsx
├── components
│ ├── hooks
│ │ ├── event
│ │ │ ├── useEffectSelect.ts
│ │ │ ├── useTotalPrice.ts
│ │ │ ├── useItems.ts
│ │ │ ├── useCsvContents.tsx
│ │ │ └── useGroups.ts
│ │ └── admin
│ │ │ ├── useCsvContents.tsx
│ │ │ ├── useCsvEvents.tsx
│ │ │ └── useCsvItems.tsx
│ ├── modal
│ │ ├── contents
│ │ │ ├── Message.tsx
│ │ │ ├── ModalButton.tsx
│ │ │ ├── Confirmation.tsx
│ │ │ ├── Reset.tsx
│ │ │ ├── Place.tsx
│ │ │ ├── Memo.tsx
│ │ │ └── Date.tsx
│ │ ├── ClientOnlyPortal.tsx
│ │ ├── Loading.tsx
│ │ ├── AddModalContent.tsx
│ │ ├── Modal.tsx
│ │ └── ModalContext.tsx
│ ├── view
│ │ ├── title.tsx
│ │ ├── Spacer.tsx
│ │ ├── top
│ │ │ ├── EventListTitle.tsx
│ │ │ └── Topic.tsx
│ │ ├── BoxLine.tsx
│ │ ├── BoxLineText.tsx
│ │ ├── LinkButton.tsx
│ │ ├── Box.tsx
│ │ ├── BoxGrid.tsx
│ │ ├── search
│ │ │ ├── NoSearchResult.tsx
│ │ │ ├── Pagination.tsx
│ │ │ └── SearchResult.tsx
│ │ ├── Topic.tsx
│ │ └── EventList.tsx
│ ├── form
│ │ ├── InputLabel.tsx
│ │ ├── InputError.tsx
│ │ ├── InputNotes.tsx
│ │ ├── InputTextArea.tsx
│ │ ├── InputText.tsx
│ │ ├── InputText2.tsx
│ │ ├── SubmitButton.tsx
│ │ ├── SocialButton.tsx
│ │ └── SelectDate.tsx
│ ├── ScrollTopButton.tsx
│ ├── Layout.tsx
│ ├── supabase.tsx
│ ├── ScrollAnimation.tsx
│ ├── Meta.tsx
│ ├── Utils.tsx
│ ├── admin
│ │ ├── login.tsx
│ │ └── Header.tsx
│ ├── Footer.tsx
│ ├── Header.tsx
│ ├── CsvContents.tsx
│ ├── Validation.ts
│ ├── types.ts
│ ├── event
│ │ └── Sort.tsx
│ ├── db
│ │ └── SearchEvent.ts
│ └── SearchEventForm.tsx
└── styles
│ ├── Layout.module.css
│ ├── Privacy.module.css
│ ├── Contact.module.css
│ ├── Button_top.module.css
│ ├── components
│ ├── SocialButton.module.css
│ ├── view.module.css
│ ├── eventList.module.css
│ ├── SearchEventForm.module.css
│ └── form.module.css
│ ├── globals.css
│ ├── ScrollButton.module.css
│ ├── Footer.module.css
│ ├── Header.module.css
│ └── Admin.module.css
├── public
├── favicon.ico
├── images
│ ├── ogp.png
│ ├── iphone.png
│ ├── ogp.23.png
│ ├── ogp2.png
│ ├── ogp5.png
│ ├── ogp9.png
│ ├── yahoo.png
│ ├── background.png
│ ├── background2.png
│ ├── background3.png
│ ├── background4.png
│ ├── background5.png
│ ├── background6.png
│ ├── background7.png
│ ├── background8.png
│ ├── background9.png
│ ├── background11.png
│ ├── newlist.svg
│ ├── check.svg
│ ├── delete.svg
│ ├── preview.svg
│ ├── email.svg
│ ├── memo.svg
│ ├── screenshot.svg
│ ├── screenshot2.svg
│ ├── password.svg
│ ├── search.svg
│ ├── place.svg
│ ├── name.svg
│ ├── twitter.svg
│ ├── google.svg
│ └── line.svg
├── fonts
│ ├── kosugi.ttf
│ ├── kosugi2.woff
│ ├── D-DINCondensed.otf
│ ├── FuturaPTMedium.otf
│ ├── D-DINCondensed.woff2
│ ├── FuturaPTMedium.woff
│ ├── D-DINCondensed-Bold.otf
│ ├── KosugiMaru-Regular.ttf
│ ├── NotoSansJP-Regular.otf
│ ├── FuturaPTMediumOblique.otf
│ ├── NotoSansCJKjp-Bold.min.ttf
│ └── NotoSansCJKjp-Bold.min.woff
└── vercel.svg
├── .babelrc
├── postcss.config.js
├── next.config.js
├── next-env.d.ts
├── tailwind.config.js
├── .eslintrc.json
├── .gitignore
├── tsconfig.json
├── package.json
└── README.md
/src/@types/index.d.ts:
--------------------------------------------------------------------------------
1 | declare module '*.svg'
2 |
--------------------------------------------------------------------------------
/src/@types/[event_id].d.ts:
--------------------------------------------------------------------------------
1 | declare module '*.svg'
2 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/favicon.ico
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["next/babel"],
3 | "plugins": ["inline-react-svg"]
4 | }
5 |
--------------------------------------------------------------------------------
/public/images/ogp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/ogp.png
--------------------------------------------------------------------------------
/public/fonts/kosugi.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/kosugi.ttf
--------------------------------------------------------------------------------
/public/images/iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/iphone.png
--------------------------------------------------------------------------------
/public/images/ogp.23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/ogp.23.png
--------------------------------------------------------------------------------
/public/images/ogp2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/ogp2.png
--------------------------------------------------------------------------------
/public/images/ogp5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/ogp5.png
--------------------------------------------------------------------------------
/public/images/ogp9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/ogp9.png
--------------------------------------------------------------------------------
/public/images/yahoo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/yahoo.png
--------------------------------------------------------------------------------
/src/pages/img/yahoo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/src/pages/img/yahoo.png
--------------------------------------------------------------------------------
/public/fonts/kosugi2.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/kosugi2.woff
--------------------------------------------------------------------------------
/public/images/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/background.png
--------------------------------------------------------------------------------
/public/images/background2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/background2.png
--------------------------------------------------------------------------------
/public/images/background3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/background3.png
--------------------------------------------------------------------------------
/public/images/background4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/background4.png
--------------------------------------------------------------------------------
/public/images/background5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/background5.png
--------------------------------------------------------------------------------
/public/images/background6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/background6.png
--------------------------------------------------------------------------------
/public/images/background7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/background7.png
--------------------------------------------------------------------------------
/public/images/background8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/background8.png
--------------------------------------------------------------------------------
/public/images/background9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/background9.png
--------------------------------------------------------------------------------
/public/fonts/D-DINCondensed.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/D-DINCondensed.otf
--------------------------------------------------------------------------------
/public/fonts/FuturaPTMedium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/FuturaPTMedium.otf
--------------------------------------------------------------------------------
/public/images/background11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/images/background11.png
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/public/fonts/D-DINCondensed.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/D-DINCondensed.woff2
--------------------------------------------------------------------------------
/public/fonts/FuturaPTMedium.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/FuturaPTMedium.woff
--------------------------------------------------------------------------------
/public/fonts/D-DINCondensed-Bold.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/D-DINCondensed-Bold.otf
--------------------------------------------------------------------------------
/public/fonts/KosugiMaru-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/KosugiMaru-Regular.ttf
--------------------------------------------------------------------------------
/public/fonts/NotoSansJP-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/NotoSansJP-Regular.otf
--------------------------------------------------------------------------------
/public/fonts/FuturaPTMediumOblique.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/FuturaPTMediumOblique.otf
--------------------------------------------------------------------------------
/public/fonts/NotoSansCJKjp-Bold.min.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/NotoSansCJKjp-Bold.min.ttf
--------------------------------------------------------------------------------
/public/fonts/NotoSansCJKjp-Bold.min.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goodsList/goodslist/main/public/fonts/NotoSansCJKjp-Bold.min.woff
--------------------------------------------------------------------------------
/next.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('next').NextConfig} */
2 | module.exports = {
3 | reactStrictMode: true,
4 | eslint: {
5 | ignoreDuringBuilds: true,
6 | },
7 | }
8 |
--------------------------------------------------------------------------------
/src/pages/api/auth.ts:
--------------------------------------------------------------------------------
1 | import { supabase } from './../../components/supabase'
2 |
3 | export default function handler(req: any, res: any) {
4 | supabase.auth.api.setAuthCookie(req, res)
5 | }
6 |
--------------------------------------------------------------------------------
/public/images/newlist.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/images/check.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/hooks/event/useEffectSelect.ts:
--------------------------------------------------------------------------------
1 | import { useEffect, useLayoutEffect } from 'react'
2 |
3 | export const useEffectSelect = () => {
4 | return typeof window !== 'undefined' ? useLayoutEffect : useEffect
5 | }
6 | export default useEffectSelect
7 |
--------------------------------------------------------------------------------
/public/images/delete.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/pages/img/reset.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/next-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
6 | {props.title} 7 |
8 | ) 9 | } 10 | 11 | export default EventListTitle 12 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | mode: 'jit', //JITモードを有効化 3 | // パージの対象ファイルを設定 4 | purge: ['./src/pages/**/*.{js,ts,jsx,tsx}', './src/components/**/*.{js,ts,jsx,tsx}'], 5 | darkMode: false, // or 'media' or 'class' 6 | content: [], 7 | theme: { 8 | extend: {}, 9 | }, 10 | plugins: [], 11 | } 12 | -------------------------------------------------------------------------------- /src/components/form/InputLabel.tsx: -------------------------------------------------------------------------------- 1 | import styles from '../../styles/components/form.module.css' 2 | 3 | const InputLabel = (props: any) => { 4 | return ( 5 | 8 | ) 9 | } 10 | 11 | export default InputLabel 12 | -------------------------------------------------------------------------------- /src/components/view/BoxLine.tsx: -------------------------------------------------------------------------------- 1 | import styles from '../../styles/components/view.module.css' 2 | import { ReactNode } from 'react' 3 | 4 | type Props = { 5 | children: ReactNode 6 | } 7 | 8 | const BoxLine = ({ children }: Props) => { 9 | return0 ? styles.input_error_active : styles.input_error}> 6 | {props.error} 7 |
8 | ) 9 | } 10 | 11 | export default InputError 12 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "next", 4 | "next/core-web-vitals", 5 | "prettier", 6 | "plugin:import/recommended", 7 | "plugin:import/warnings" 8 | ], 9 | "rules": { 10 | "import/order": [ 11 | "error", 12 | { 13 | "alphabetize": { 14 | "order": "asc" 15 | } 16 | } 17 | ] 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/components/view/BoxLineText.tsx: -------------------------------------------------------------------------------- 1 | import styles from '../../styles/components/view.module.css' 2 | import { ReactNode } from 'react' 3 | 4 | type Props = { 5 | children: ReactNode 6 | } 7 | 8 | const BoxLineText = ({ children }: Props) => { 9 | return6 | {props.legnth > props.limit ? ( 7 | {props.legnth} 8 | ) : ( 9 | {props.legnth} 10 | )}{' '} 11 | / {props.limit} 12 |
13 | ) 14 | } 15 | 16 | export default InputNotes 17 | -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- 1 | import Document, { Html, Head, Main, NextScript } from 'next/document' 2 | class MyDocument extends Document { 3 | render() { 4 | return ( 5 | 6 | 7 | 8 | {/* 空のscriptタグを入れることにより、styleが当たらないバグを解消 */} 9 | 10 | 11 |