このリポジトリは2023-09-09にアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュ、イシューの作成、プルリクエストはできません。
kikikan/backend/resources/js/child/child.js

47 行
2.0 KiB
JavaScript
Raw 通常表示 履歴

2021-10-06 03:23:58 +09:00
import React, { Component } from 'react';
2021-10-08 08:12:25 +09:00
import Side from './side';
2021-10-06 03:23:58 +09:00
import Meeting from './meeting';
import MeetingDetail from './meeting/detail';
import Parent from './parent';
import ParentDetail from './parent/detail';
import Profile from './profile';
import ProfileDetail from './profile/detail';
import ProfileEdit from './profile/edit';
import ProfilePasswordEdit from './profile/password_edit';
import ProfileWithdrawal from './profile/withdrawal';
2021-10-08 08:12:25 +09:00
// import WithdrawalComplete from './withdrawal/complete';
2021-10-06 03:23:58 +09:00
import Search from './search';
import { BrowserRouter, Route, Switch } from 'react-router-dom';
export default class ChildApp extends Component {
render() {
return (
2021-10-08 08:12:25 +09:00
<main className="l-container meeting-consent">
2021-10-06 03:23:58 +09:00
<BrowserRouter>
<Switch>
<Route exact path="/c-account/meeting" component = {Meeting} />
<Route exact path="/c-account/meeting/detail/:meeting_id" component = {MeetingDetail} />
<Route exact path="/c-account/search" component = {Search} />
<Route exact path="/c-account/parent" component = {Parent} />
<Route exact path="/c-account/parent/detail/:father_id" component = {ParentDetail} />
<Route exact path="/c-account/profile" component = {Profile} />
<Route exact path="/c-account/profile/detail/:child_id" component = {ProfileDetail} />
<Route exact path="/c-account/profile/edit/:child_id" component = {ProfileEdit} />
<Route exact path="/c-account/profile/password-edit/:child_id" component = {ProfilePasswordEdit} />
<Route exact path="/c-account/profile/withdrawal" component = {ProfileWithdrawal} />
2021-10-08 08:12:25 +09:00
{/* <Route exact path="/withdrawal/complete" component = {WithdrawalComplete} /> */}
2021-10-06 03:23:58 +09:00
</Switch>
2021-10-08 08:12:25 +09:00
<Side />
2021-10-06 03:23:58 +09:00
</BrowserRouter>
2021-10-08 08:12:25 +09:00
</main>
2021-10-06 03:23:58 +09:00
);
}
}