File tree Expand file tree Collapse file tree 2 files changed +67
-7
lines changed
Expand file tree Collapse file tree 2 files changed +67
-7
lines changed Original file line number Diff line number Diff line change 1313 }
1414}
1515
16- .teste {
17- font-size : 120px ;
18- background-color : aqua;
19- }
20-
2116.App-header {
2217 background-color : # 282c34 ;
2318 min-height : 100vh ;
4136 transform : rotate (360deg );
4237 }
4338}
39+
40+ .Card-folder {
41+ margin-top : 20px ;
42+ display : flex;
43+ justify-content : center;
44+ }
Original file line number Diff line number Diff line change 1- import React from 'react' ;
1+ import React , { useState } from 'react' ;
22import './App.css' ;
3- import Navbar from './components/navbar' ;
3+ import Navbar from './components/navbar/Navbar' ;
4+ import CardDeck from 'react-bootstrap/CardDeck' ;
5+ import Card from './components/card/Card' ;
6+
47
58function App ( ) {
69
10+ const [ tags , setTags ] = useState (
11+ [
12+ {
13+ variant :'secondary' ,
14+ text : 'Javascript'
15+ } ,
16+ {
17+ variant :'success' ,
18+ text : 'C++'
19+ } ,
20+ {
21+ variant :'secondary' ,
22+ text : "Ana"
23+ } ,
24+ {
25+ variant :'light' ,
26+ text : "ovo"
27+ } ,
28+ {
29+ variant :'light' ,
30+ text : "ovo"
31+ }
32+ ]
33+ ) ;
34+
735 return (
836 < div className = "App" >
937 < Navbar />
38+ < CardDeck className = "Card-folder" >
39+ < Card
40+ repository = "Test Repo"
41+ author = "unkown"
42+ readme = "Little experimental text to check if card is doing ok"
43+ tags = { tags } />
44+
45+ < Card
46+ repository = "Test Repo"
47+ author = "unkown"
48+ readme = "Little experimental text to check if card is doing ok"
49+ tags = { tags } />
50+
51+ < Card
52+ repository = "Test Repo"
53+ author = "unkown"
54+ readme = "Little experimental text to check if card is doing ok"
55+ tags = { tags } />
56+
57+ < Card
58+ repository = "Test Repo"
59+ author = "unkown"
60+ readme = "Little experimental text to check if card is doing ok"
61+ tags = { tags } />
62+
63+ < Card
64+ repository = "Test Repo"
65+ author = "unkown"
66+ readme = "Little experimental text to check if card is doing ok"
67+ tags = { tags } />
68+ </ CardDeck >
1069 </ div >
1170 ) ;
1271}
You can’t perform that action at this time.
0 commit comments