Skip to content

Commit 9c372e4

Browse files
author
Peter Brendel
committed
Changes to main file
1 parent 44f927a commit 9c372e4

File tree

2 files changed

+67
-7
lines changed

2 files changed

+67
-7
lines changed

frontend/src/App.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
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;
@@ -41,3 +36,9 @@
4136
transform: rotate(360deg);
4237
}
4338
}
39+
40+
.Card-folder {
41+
margin-top: 20px;
42+
display: flex;
43+
justify-content: center;
44+
}

frontend/src/App.js

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,71 @@
1-
import React from 'react';
1+
import React, { useState } from 'react';
22
import './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

58
function 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
}

0 commit comments

Comments
 (0)