Bringing the container back

This commit is contained in:
mikwee 2021-11-08 21:10:24 +02:00
parent fb95c93ba0
commit 0a51ce7b29

View file

@ -11,8 +11,8 @@ function App() {
return ( return (
<div className="App"> <div className="App">
<h1 id="title">{data.title}</h1> <h1 id="title">{data.title}</h1>
<div id="container">
<ButtonGroup vertical id="container"> <ButtonGroup vertical>
{data.links.map((rootDetail, index)=>{ {data.links.map((rootDetail, index)=>{
if(rootDetail.type === "facebook") { if(rootDetail.type === "facebook") {
res = <Button id="facebook" variant="primary" href={rootDetail.url}><Facebook/> {rootDetail.text}</Button> res = <Button id="facebook" variant="primary" href={rootDetail.url}><Facebook/> {rootDetail.text}</Button>
@ -51,6 +51,7 @@ function App() {
})} })}
</ButtonGroup> </ButtonGroup>
</div> </div>
</div>
); );
} }