This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
generated from Team-INSERT/Repository-generator-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
17 changed files
with
695 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: lint | |
|
||
on: | ||
pull_request: | ||
branches: [master] | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import styled from "styled-components"; | ||
import FlexPropsType from "./type"; | ||
|
||
const Column = ({ | ||
children, | ||
gap, | ||
justifyContent = "none", | ||
alignItems = "none", | ||
width, | ||
height, | ||
}: FlexPropsType) => { | ||
return ( | ||
<StyledColumn style={{ gap, justifyContent, alignItems, width, height }}> | ||
{children} | ||
</StyledColumn> | ||
); | ||
}; | ||
|
||
export default Column; | ||
|
||
const StyledColumn = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import styled from "styled-components"; | ||
import FlexPropsType from "./type"; | ||
|
||
const Row = ({ | ||
children, | ||
gap, | ||
justifyContent = "none", | ||
alignItems = "none", | ||
width, | ||
}: FlexPropsType) => { | ||
return ( | ||
<StyledRow style={{ gap, justifyContent, alignItems, width }}> | ||
{children} | ||
</StyledRow> | ||
); | ||
}; | ||
|
||
export default Row; | ||
|
||
const StyledRow = styled.div` | ||
display: flex; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { ReactNode } from "react"; | ||
|
||
interface FlexPropsType { | ||
children: ReactNode; | ||
gap: string; | ||
justifyContent?: | ||
| "none" | ||
| "center" | ||
| "flex-end" | ||
| "flex-start" | ||
| "space-between"; | ||
alignItems?: "none" | "center" | "flex-end" | "flex-start" | "space-between"; | ||
width?: string; | ||
height?: string; | ||
} | ||
|
||
export default FlexPropsType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
import color from "@/styles/color"; | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
|
||
const HomePage = () => { | ||
return <div></div>; | ||
return <Container />; | ||
}; | ||
|
||
const Container = styled.div` | ||
width: 100vw; | ||
height: 100vh; | ||
background-color: ${color.container}; | ||
`; | ||
|
||
export default HomePage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
const color = {}; | ||
const color = { | ||
black: "#000000", | ||
white: "#FFFFFF", | ||
orange: "#FF763B", | ||
red: "#F44336", | ||
|
||
primary_red: "#E54F5A", | ||
primary_blue: "#73AEE3", | ||
primary_yellow: "#FEBC56", | ||
primary_mint: "#27C3BC", | ||
|
||
tertiary: "#303441", | ||
container: "#F9FAFF", | ||
}; | ||
|
||
export default color; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.