Skip to content

Commit

Permalink
added width to images
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseCSG committed Jun 14, 2024
1 parent 0a150c5 commit 3c1f71c
Show file tree
Hide file tree
Showing 7 changed files with 14,403 additions and 11,096 deletions.
2 changes: 2 additions & 0 deletions app/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export default function NotFound() {
src={"/FeedbackFlowLogo.png"}
alt="Logo Feedback Flow"
className="absolute -bottom-0 -right-0 hidden opacity-60 md:block"
width={350}
height={350}
/>
<section className="relative flex w-full flex-col gap-4 from-primary to-primary-light px-10 py-20 text-center text-white after:absolute after:inset-0 after:-z-10 after:-skew-y-6 after:bg-gradient-to-r">
<h2 className="text-3xl font-bold">404 -Ruta No Encontrada</h2>
Expand Down
2 changes: 2 additions & 0 deletions components/BannerImagePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ const BannerImagePanel = ({ closeModal }: { closeModal: () => void }) => {
src={src}
alt={`Banner ${index + 1}`}
className="cursor-pointer"
width={200}
height={200}
/>
</button>
))}
Expand Down
8 changes: 7 additions & 1 deletion components/NoDataCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ interface NoDataCardProps {
const NoDataCard = ({ text }: NoDataCardProps) => {
return (
<div className="flex flex-col items-center justify-center">
<img src={"/NoData.svg"} alt="NoDataSVG" className="hidden md:block" />
<img
src={"/NoData.svg"}
alt="NoDataSVG"
className="hidden md:block"
height={70}
width={100}
/>
<p className="text-center text-sm font-medium text-grayText">{text}</p>
</div>
);
Expand Down
2 changes: 2 additions & 0 deletions components/Profile/ProfileBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ const ProfileBanner: React.FC<ProfileBannerProps> = async ({ user }) => {
src={`/${user.bannerId}` || "/Banner1.svg"}
alt="Banner"
className="hidden h-auto w-56 md:block"
width={100}
height={100}
/>
</div>
</section>
Expand Down
2 changes: 2 additions & 0 deletions components/UserProfileButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ const UserProfileButton = ({
src={photoUrl}
alt={"User"}
className={`rounded-full ${sizes[size]}`}
width={300}
height={300}
/>
) : (
<svg
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/profile.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("Profile", () => {
it("Should signout", () => {
cy.get('[data-testid="user-icon-navbar"]').click();
cy.get('[data-testid="signout-button"]').click();
cy.wait(60000);
cy.wait(80000);
cy.url().should("include", "/login");
});
});
25,481 changes: 14,387 additions & 11,094 deletions package-lock.json

Large diffs are not rendered by default.

0 comments on commit 3c1f71c

Please sign in to comment.