Skip to content

Commit

Permalink
style:used prettier on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
BuyankhuuTsCAl committed Oct 3, 2023
1 parent 505d1db commit 576deb7
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 76 deletions.
20 changes: 14 additions & 6 deletions src/app/screens/loginScreen/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
'use client'
'use client';

import LoginForm from "../../components/LoginForm";
import LoginForm from '../../components/LoginForm';

import { GlobalStyle, Fullscreen, Img, LoginBox, LoginContent, WelcomeSign, Button } from "./styles"
import {
GlobalStyle,
Fullscreen,
Img,
LoginBox,
LoginContent,
WelcomeSign,
Button,
} from './styles';

export default function App() {
return (
Expand All @@ -18,6 +26,6 @@ export default function App() {
</LoginContent>
</LoginBox>
</Fullscreen>
</main >
)
}
</main>
);
}
129 changes: 59 additions & 70 deletions src/app/screens/loginScreen/styles.ts
Original file line number Diff line number Diff line change
@@ -1,90 +1,79 @@
import styled, { createGlobalStyle } from "styled-components";

import styled, { createGlobalStyle } from 'styled-components';

export const GlobalStyle = createGlobalStyle`
body {
background:white;
}
`;
export const LoginBox = styled.div`
display: flex;
flex-direction: column;
width: 500px;
height: 420px;
margin-left:450px;
margin-top:80px;
border: 1px solid #B3B3B3;
`
display: flex;
flex-direction: column;
width: 500px;
height: 420px;
margin-left: 450px;
margin-top: 80px;
border: 1px solid #b3b3b3;
`;

export const LoginContent = styled.div`
margin-left: 40px;
margin-top: 30px;
`
margin-left: 40px;
margin-top: 30px;
`;

export const Button = styled.button`
margin-top: 40px;
color: #FFF;
text-align: center;
font-family: Inter;
font-size: 17px;
font-style: normal;
font-weight: 500;
line-height: normal;
width: 420px;
height: 40px;
border-radius: 8px;
background: #000;
border:transparent;
`



margin-top: 40px;
color: #fff;
text-align: center;
font-family: Inter;
font-size: 17px;
font-style: normal;
font-weight: 500;
line-height: normal;
width: 420px;
height: 40px;
border-radius: 8px;
background: #000;
border: transparent;
`;

export const WelcomeSign = styled.div`
color: #000;
font-family: Inter;
font-size: 40px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin-bottom:30px;
`
color: #000;
font-family: Inter;
font-size: 40px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin-bottom: 30px;
`;

export const Input = styled.input`
background: #D9D9D9;
border: transparent;
width: 420px;
height: 40px;
padding-left:10px
`
background: #d9d9d9;
border: transparent;
width: 420px;
height: 40px;
padding-left: 10px;
`;

export const FormHeaders = styled.p`
color: #000;
font-family: Inter;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: normal;
margin-top:20px;
margin-bottom:10px;
`
color: #000;
font-family: Inter;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: normal;
margin-top: 20px;
margin-bottom: 10px;
`;

export const Fullscreen = styled.div`
width: 100 %;
height: 100 %;
`
width: 100 %;
height: 100 %;
`;
export const Img = styled.div`
background-color:yellow;
align-self: flex - start;
justify-self: flex - start;
height:50px;
width:110px;
margin:20px;
`

background-color: yellow;
align-self: flex - start;
justify-self: flex - start;
height: 50px;
width: 110px;
margin: 20px;
`;

0 comments on commit 576deb7

Please sign in to comment.