mirror of
https://github.com/yusufipk/custom-homepage.git
synced 2026-09-11 10:36:08 +00:00
finished styling
This commit is contained in:
+2
-2
@@ -19,8 +19,8 @@ class App extends Component {
|
||||
</h1>
|
||||
<Forecast />
|
||||
<div className="Cards">
|
||||
<Card list={cards} />
|
||||
<Card list={card2} />
|
||||
<Card title="Sık Girdiğim Siteler" list={cards} />
|
||||
<Card title="Reddit" list={card2} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -3,6 +3,7 @@ import "./card-style.scss";
|
||||
const Card = (props) => {
|
||||
return (
|
||||
<ul className="card">
|
||||
<h3 className="Title">{props.title}</h3>
|
||||
{props.list.map((li) => (
|
||||
<li key={li} className="text">
|
||||
{li}
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
list-style: none;
|
||||
line-height: 30px;
|
||||
}
|
||||
.Title {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: white;
|
||||
|
||||
Reference in New Issue
Block a user