Skip to content

Commit 4cb7a79

Browse files
committed
Testando os commits
1 parent 9549d71 commit 4cb7a79

File tree

4 files changed

+37
-8
lines changed

4 files changed

+37
-8
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
55
![](./assets/design.PNG)
66

7-
### Link do projeto:
7+
### Link:
8+
9+
[Design System on Storybook](https://mellcosta.github.io/ignite_lab_design_system/?path=/story/components-button--default )
10+
11+
---
812

913
## Techs💻
1014

src/App.tsx

+29-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,35 @@
11
import './styles/global.css';
22

3+
import { Button } from './components/Button';
4+
import { Checkbox } from './components/Checkbox';
5+
import { TextInput } from './components/TextInput';
6+
import { Text } from './components/Text';
7+
import { Heading } from './components/Heading';
8+
39
export function App() {
410
return (
5-
<>
6-
<h1 className="font-bold text-6xl text-violet-800">Hello World</h1>
7-
8-
<button className=' font-medium px-5 py-2 text-white bg-gray hover:bg-green-500'>Enviar</button>
9-
</>
10-
11+
<div className='bg-gray-900 flex content-center items-center gap-5 flex-col p-3'>
12+
<div className='flex content-center items-center gap-4 flex-col'>
13+
<img src="../public/vite.svg" alt="" />
14+
<Heading>Igninte Lab</Heading>
15+
<Text>Faça Login e comece a usar</Text>
16+
</div>
17+
<div>
18+
<span className='flex flex-col'>
19+
<label htmlFor="email"> <Text>Endereço de e-mail</Text> </label>
20+
<input type="email" id='email' />
21+
</span>
22+
<span className='flex flex-col'>
23+
<label htmlFor="password"> <Text>Sua senha</Text> </label>
24+
<input type="password" id='password' />
25+
</span>
26+
</div>
27+
<div>
28+
<Checkbox/> <Text>Lembrar-me</Text>
29+
</div>
30+
<div>
31+
<Button>Click Me</Button>
32+
</div>
33+
</div>
1134
)
1235
}

src/components/Checkbox.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export interface CheckboxProps {}
55

66
export function Checkbox( {}: CheckboxProps ) {
77
return(
8-
<CheckboxPrimitive.Root className='w-6 h-6 p-[2px] bg-gray-800 rounded hover:bg-gray-900' >
8+
<CheckboxPrimitive.Root className='w-6 h-6 p-[2px] bg-gray-800 rounded' >
99
<CheckboxPrimitive.Indicator asChild>
1010
<Check weight='bold' className='w-5 h-5 text-cyan-500' />
1111
</CheckboxPrimitive.Indicator>

src/main.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import React from 'react'
22
import ReactDOM from 'react-dom/client'
3+
34
import { App } from './App'
45

6+
57
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
68
<React.StrictMode>
79
<App />

0 commit comments

Comments
 (0)