Skip to content

Commit

Permalink
Update responsive imgs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoIto committed Feb 13, 2023
1 parent 61411de commit e35fb82
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Header } from "./components/Header";
import { About } from "./components/About";
import { Form } from "./components/Form";
import { Footer } from "./components/Footer";
import styles from "../src/assets/styles/index.css"

function App() {
return (
Expand Down
5 changes: 0 additions & 5 deletions src/assets/styles/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
@media(max-width <= 900px){
img{
display: none;
}
}
12 changes: 10 additions & 2 deletions src/components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ export function Footer() {
return (
<Card>
<Title>Ito Bank</Title>
<img height="280" src="../../../src/assets/imgs/form.svg" />
<img height="280" src="../../../src/assets/imgs/ideia.svg" />
<img
className="img"
height="280"
src="../../../src/assets/imgs/form.svg"
/>
<img
className="img"
height="280"
src="../../../src/assets/imgs/ideia.svg"
/>
</Card>
);
}
Expand Down
1 change: 1 addition & 0 deletions src/components/Header/index.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { styled } from "../../../stitches.config";
import style from "./index.module.css"

export function Header() {
return (
Expand Down
10 changes: 10 additions & 0 deletions src/components/Header/index.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@media(width < 900px){

header{
text-align: center;
}

img{
display: none;
}
}

1 comment on commit e35fb82

@vercel
Copy link

@vercel vercel bot commented on e35fb82 Feb 13, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

ito-bank – ./

ito-bank-git-main-joaoito.vercel.app
ito-bank.vercel.app
ito-bank-joaoito.vercel.app

Please sign in to comment.