Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/app/vote/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
'use client';
import React from 'react';
import styled from 'styled-components';
import Title from '@/components/common/Title';
import Line from '@/components/common/Line';
function vote() {
return (
<>
<Title content = "파트장 / 데모데이 투표"/>
<Line/>
</>
);
}

export default vote;
16 changes: 16 additions & 0 deletions src/components/common/Line.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
'use client';
import React from 'react';
import styled from 'styled-components';

function Line() {
return (
<Container></Container>
);
}

export default Line;
const Container = styled.div`
border-top: 4px solid #444444;
margin: 12px auto;
width: 300px;
`;
18 changes: 18 additions & 0 deletions src/components/common/Title.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
'use client';
import React from 'react';
import styled from 'styled-components';

function Title({content} : {content : String}) {
return (
<Container>{content}</Container>
);
}

export default Title;
const Container = styled.div`
margin-top : 30px;
padding : 30px;
font-size : 30px;
font-weight : bold;
text-align : center;
`;
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"forceConsistentCasingInFileNames": false,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
Expand Down