Skip to content

Commit

Permalink
Merge pull request #4 from Cinderella-mom-is-gathering/routing
Browse files Browse the repository at this point in the history
Routing 완성
  • Loading branch information
sbslc2000 committed Jul 31, 2023
2 parents ee2dde1 + 5546002 commit 1e6d0b2
Show file tree
Hide file tree
Showing 10 changed files with 185 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/component/PostCard/PostCard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from "react";

import styled from "styled-components";

const CardBox=styled.div`
width: 100%;
background-color: lightgray;
padding-top:20px;
padding-bottom:20px;
border-radius: 10px;
`
const PostCard = () => {
return (
<CardBox>

</CardBox>
)
}

export default PostCard;
17 changes: 17 additions & 0 deletions src/component/PostCard/Profile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from "react";

import styled from "styled-components";

const ProfileBox=styled.div`
`

const Profile=()=>{
return(
<ProfileBox>
<img src="profilePIC.png"/>
</ProfileBox>
)
}

export default Profile;
18 changes: 18 additions & 0 deletions src/page/AddPostPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import styled from "styled-components";

const MainWrapper = styled.div`
margin:20px;
position: relative;
display: flex;
flex-direction:column;
`
const AddPostPage=()=>{
return(
<div>
AddPostPage
</div>
)
}

export default AddPostPage;
18 changes: 18 additions & 0 deletions src/page/LoginPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import styled from "styled-components";

const MainWrapper = styled.div`
margin: 20px;
position: relative;
display: flex;
flex-direction: column;
`
const LoginPage = () => {
return (
<div>
LoginPage
</div>
)
}

export default LoginPage;
18 changes: 18 additions & 0 deletions src/page/NotificationDetailPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import styled from "styled-components";

const MainWrapper = styled.div`
margin:20px;
position: relative;
display: flex;
flex-direction:column;
`
const NotificationDetailPage=()=>{
return(
<div>
NotificationDetailPage
</div>
)
}

export default NotificationDetailPage;
18 changes: 18 additions & 0 deletions src/page/NotificationListPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import styled from "styled-components";

const MainWrapper = styled.div`
margin:20px;
position: relative;
display: flex;
flex-direction:column;
`
const NotificationListPage=()=>{
return(
<div>
NotificationListPage
</div>
)
}

export default NotificationListPage;
18 changes: 18 additions & 0 deletions src/page/PostDetailPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import styled from "styled-components";

const MainWrapper = styled.div`
margin:20px;
position: relative;
display: flex;
flex-direction:column;
`
const PostDetailPage=()=>{
return(
<div>
PostDetailPage
</div>
)
}

export default PostDetailPage;
21 changes: 21 additions & 0 deletions src/page/PostListPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from "react";

import styled from "styled-components";
import PostCard from "../component/PostCard/PostCard";

const MainWrapper = styled.div`
margin: 20px;
position: relative;
display: flex;
flex-direction: column;
`

const PostListPage = () => {
return (
<MainWrapper>
<PostCard/>
</MainWrapper>

)
}
export default PostListPage;
18 changes: 18 additions & 0 deletions src/page/PostNFTInfoPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import styled from "styled-components";

const MainWrapper = styled.div`
margin:20px;
position: relative;
display: flex;
flex-direction:column;
`
const PostNFTInfoPage=()=>{
return(
<div>
PostNFTInfoPage
</div>
)
}

export default PostNFTInfoPage;
19 changes: 19 additions & 0 deletions src/page/RequestAdPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import styled from "styled-components";

const MainWrapper = styled.div`
margin:20px;
position: relative;
display: flex;
flex-direction:column;
`
const RequestAdPage=()=>{
return(
<div>
RequestAdPage

</div>
)
}

export default RequestAdPage;

0 comments on commit 1e6d0b2

Please sign in to comment.