-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [fix] Config readme * wip: loading * Delete yarn.lock * refact: created shelter list view component in home page * Fix: mobile UI has broken for mobile devices (#22) *Fix: mobile UI has broken for mobile devices * fix: remove chip as fixed as no wrap property * chore: add shelter card clickable * chore: remove Fragment component * build: add set sm as max mobile dimension sm: 425px * style: add responsive layout * refactor: filter page * fix: priority * fix: filter parameters * fix: fixed volunteer supply that had been fulfilled displaying on shelter page * fix: improve readability * feat: hidden filter button if filter is empty * feat: cache in axios request * fix: cache search params * feat: cache clean on searchs * wip: donation tags * fix: clean search params * Update README.md [fix] Retirando a seção Funcionalidades e Backlog * fix: donation tags / componentized the urgent supplies section * fix: removed empty shelter tags empty row * feat: full edit shelter and improved interface of pet friendly in shelter page * refact: add live link and tech stack to readme * Fix/develop bugs (#90) * fix: cache bug (invalite cache on create/update operation) * feat: added update many shelter supplies and admin rule * Add license (#81) Closes #65. * fix: app port (#80) * docs: added shadcn/ui reference * fix for volunteer shelter title (#95) * treat contact link as a proper link * simplified href * docs: add discord link on readme * Normalizes search string in supply filter so it ignores accents (#125) * normalized search string to ignore accents * revert removed button * add a copy to clipboard button to PIX and contact info (#124) * add a copy to clipboard button to PIX and contact info * use && operator instead of ternary * Substitui onClick e useNavigate por <Link> para melhorar acessibilidade (#128) * replaced navigate in favour of html link and added card hover * fixed lint warnings * fix: change shelter title style (#106) Prevents badge misalignment on very large titles * Add new feature and creating LoadingSkeleton (#115) * Add new feature and creating LoadingSkeleton --------- Co-authored-by: helenapaixao <hp.helenapaixao@gmail.com> Co-authored-by: José Fagundes <fagundesjg@outlook.com> Co-authored-by: Luccas Specht <luccas.specht.dev@gmail.com> Co-authored-by: MatheusDubin <matheusdsilveira@gmail.com> Co-authored-by: danmqs <daniel.marques@sudema.pb.gov.br> Co-authored-by: Giovanni Bassi <334958+giggio@users.noreply.github.com> Co-authored-by: Felipe Monteiro <fm3209742@gmail.com> Co-authored-by: André Ferraz <74271823+decofma@users.noreply.github.com> Co-authored-by: Sombrio <sombrio@sombrasoft.dev> Co-authored-by: Daniel Marques <dev.danielmarques@outlook.com> Co-authored-by: Matheus Dubin Da Silveira <46721495+MatheusDubin@users.noreply.github.com> Co-authored-by: Miguel Dalberto <65927539+migueldalberto@users.noreply.github.com> Co-authored-by: Pablo A. Maximo <pabloadrianomc@gmail.com> Co-authored-by: Marcos Nascimento <62677231+Marcos-Nacimento@users.noreply.github.com>
- Loading branch information
1 parent
3d3f437
commit 4e0d9c0
Showing
11 changed files
with
133 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
type LoadingSkeletonProps = { | ||
amountItems: number | ||
} | ||
|
||
const LoadingSkeleton = ({ amountItems }: LoadingSkeletonProps) => { | ||
return ( | ||
<div className="w-full"> | ||
<ul className="grid grid-cols-1 gap-5 mt-4"> | ||
{Array.from({length: amountItems,}).map((_, index) => ( | ||
<li key={index} className="p-4 w-full border-2 border-border rounded-md space-y-3"> | ||
<div className="flex justify-between items-center space-x-2"> | ||
<div className="animate-pulse h-10 bg-[#ccc] rounded-md w-full max-w-sm" /> | ||
<div className="animate-pulse h-10 bg-[#ccc] rounded-md w-10" /> | ||
</div> | ||
|
||
<div className="animate-pulse h-10 bg-[#ccc] rounded-md w-full max-w-xs" /> | ||
|
||
<div className="border-b border-[#ccc] opacity-25"/> | ||
|
||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 md:grid-cols-4 gap-4 mt-5"> | ||
{Array.from({length: 7}).map((_, index) => ( | ||
<div | ||
key={index} | ||
className="animate-pulse h-8 bg-[#ccc] rounded-full w-full" | ||
/> | ||
))} | ||
</div> | ||
|
||
<div className="border-b border-[#ccc] opacity-25"/> | ||
|
||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 md:grid-cols-4 gap-4 mt-5"> | ||
{Array.from({length: 7}).map((_, index) => ( | ||
<div | ||
key={index} | ||
className="animate-pulse h-8 bg-[#ccc] rounded-full w-full" | ||
/> | ||
))} | ||
</div> | ||
</li> | ||
))} | ||
</ul> | ||
</div> | ||
) | ||
} | ||
|
||
export { LoadingSkeleton } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { LoadingSkeleton } from "./LoadingSkeleton"; | ||
|
||
export { LoadingSkeleton } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters