generated from lucien/actix-react-template
Edit hero banner
This commit is contained in:
parent
1de47f3fb8
commit
71a829e726
3 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,5 @@
|
|||
import Button from "./Button";
|
||||
import ButtonLink from "./ButtonLink";
|
||||
import NavBar from "./NavBar";
|
||||
|
||||
interface FstSectionProps {
|
||||
|
@ -30,8 +31,8 @@ export default function FstSection ({centertxt, txtbt1, txtbt2, image}: FstSecti
|
|||
<div style={{height:"150px"}} />
|
||||
<h1>{centertxt}</h1><br />
|
||||
<div style={{display:"flex", justifyContent: "center", gap: "20px"}}>
|
||||
<Button onClick={() => alert("One")} color="primary" children={txtbt1} />
|
||||
<Button onClick={() => {alert("Two")}} color="secondary" children={txtbt2} />
|
||||
<ButtonLink url="/game" color="primary" text={txtbt1} />
|
||||
<ButtonLink url="#articles" color="secondary" text={txtbt2} />
|
||||
</div>
|
||||
</div></div>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue