Skip to content

Commit

Permalink
final testing
Browse files Browse the repository at this point in the history
  • Loading branch information
monis07 committed Sep 14, 2024
1 parent bc6c26a commit 2e570ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions apps/next-app/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ const geistMono = localFont({
export default function Home() {
return (
<>
<div style={{display:"flex",justifyContent:"center",padding:"1.5rem"}}>
<Button/>
<div style={{display:"flex",justifyContent:"center",padding:"1.5rem",flexDirection:"column",alignItems:"center"}}>
<div style={{padding:"2rem"}}>
<Button/>
</div>
<h1>This next app is deployed on AWS!</h1>
</div>
<Head>
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

export const Button = () => {
return (
<button style={{width:"80px",height:"30px"}}
<button style={{width:"100px",height:"30px",background:"black",borderRadius:"12px",color:"white"}}
onClick={() => alert(`Hello from your button component!`)}
>
Hello Button
Demo Button
</button>
);
};
Expand Down

0 comments on commit 2e570ac

Please sign in to comment.