Skip to content

Commit

Permalink
balanced button padding
Browse files Browse the repository at this point in the history
  • Loading branch information
januff committed Feb 11, 2023
1 parent ff22371 commit e20e375
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 3 additions & 2 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const Home: NextPage = () => {
};

return (
// <div className="flex max-w-5xl mx-auto flex-col items-center justify-center py-2 min-h-screen bg-flowers-pattern bg-[length:300px_300px]">
<div className="flex max-w-5xl mx-auto flex-col items-center justify-center py-2 min-h-screen">
<Head>
<title>Dear AIbby</title>
Expand All @@ -95,7 +96,7 @@ const Home: NextPage = () => {
<Image src="/logo.png" width={100} height={100} alt="Aibby" />
</h1> */}
<p className="text-slate-200 mt-5">HEARTFELT ADVICE FROM THE SOUL OF A NEW MACHINE</p>
<Image src="/demojis.png" width={600} height={100} alt="Aibby" />
<Image src="/demojis.png" width={600} height={400} alt="Aibby" />
<div className="max-w-xl w-full">
{/* <div className="flex mt-10 items-center space-x-3">
<Image
Expand Down Expand Up @@ -129,7 +130,7 @@ const Home: NextPage = () => {

{!loading && (
<button
className="bg-black rounded-xl text-slate-200 font-medium px-4 py-1 sm:mt-10 mt-8 hover:bg-black/80 w-full tracking-tighter"
className="bg-black rounded-xl text-slate-200 font-medium px-4 py-1 sm:mt-10 mt-4 hover:bg-black/80 w-full tracking-tighter"
onClick={(e) => generateAdvice(e)}
>
SHOW ME THE WAY
Expand Down
Binary file added public/flowers-pattern.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@tailwind utilities;

html {
width: 100%;
height: 100%;
/* width: 100%;
height: 100%; */
background-color: #a30d97;
}
6 changes: 5 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ module.exports = {
"./app/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
extend: {
backgroundImage: (theme) => ({
'flowers-pattern': "url('/flowers-pattern.png')",
})
},
},
plugins: [require("@tailwindcss/forms"), require("@headlessui/tailwindcss")],
};

1 comment on commit e20e375

@vercel
Copy link

@vercel vercel bot commented on e20e375 Feb 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.