Skip to content

44 update 1/3 styles on adoption page #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions my-app/src/app/(main)/adoption/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ export default function AdoptionPage() {
<>
<div className="w-full h-full pt-5 pl-7 page-container bg-pgb">
<div className="header">
<h1 className="main-title text-white mb-8">Adoções</h1>
<div className="filters mb-4">
<h1 className="text-2xl font-bold text-white mb-8">Adoções</h1>
<div className="flex gap-4 mb-4">
<Button className="filter-button bg-pgreen border-none text-white font-bold py-2 px-4 rounded-full">Todas</Button>
<Button className="filter-button bg-white border-none hover:text-black py-2 px-4 rounded-full">Minhas</Button>
<Button className="filter-button bg-white border-none hover:text-black py-2 px-4 rounded-full">Abertas</Button>
<Button className="filter-button bg-white border-none hover:text-black py-2 px-4 rounded-full">Fechadas</Button>
</div>
<div className="creation mb-8">
<div className="flex gap-4 mb-8">
<Link
href={"/animals"}
className="ant-btn css-dev-only-do-not-override-1pg9a38 ant-btn-default rounded-full hover:text-white creation-button"
className="ant-btn css-dev-only-do-not-override-1pg9a38 ant-btn-default rounded-full hover:text-white py-2.5 px-7 font-bold border-0 text-white bg-custom-green hover:bg-green-hover"
>
Ver lista de animais
</Link>
<Link
href={"/animals/create"}
className="ant-btn css-dev-only-do-not-override-1pg9a38 ant-btn-default rounded-full hover:text-white creation-button"
className="ant-btn css-dev-only-do-not-override-1pg9a38 ant-btn-default rounded-full hover:text-white py-2.5 px-7 font-bold border-0 text-white bg-custom-green hover:bg-green-hover"
>
Cadastrar animal
</Link>
Expand Down
42 changes: 0 additions & 42 deletions my-app/src/app/(main)/adoption/style.css
Original file line number Diff line number Diff line change
@@ -1,45 +1,3 @@
/*.page-container {*/
/* padding: 60px 0 0 80px;*/
/* background-color: #1D1E23;*/
/* color: white; */
/*}*/

/*.header {*/
/* padding-top: 42px;*/
/* padding-left: 45px;*/
/* margin-bottom: 2rem;*/
/*}*/

.main-title {
font-size: 26px;
font-weight: bold;
/*margin-bottom: 0.5rem;*/
}

.filters {
display: flex;
gap: 1rem;
/*margin-bottom: 1rem;*/
}

.creation {
display: flex;
gap: 1rem;
}

.creation-button {
padding: 10px 29px;
font-weight: bold;
border: 0px;
color: white;
background-color: #017957;
}

/*.filter-button, .creation-button {*/
/* font-size: 14px;*/
/* border-radius: 15px;*/
/*}*/

.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(353px, 1fr));
Expand Down
4 changes: 3 additions & 1 deletion my-app/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ const config = {
},
extend: {
backgroundColor: {
'default': "#1d1e23"
'default': "#1d1e23",
'custom-green': '#017957',
'green-hover':'#016c4f',
},
colors: {
pgreen: "#269996",
Expand Down