Skip to content

Commit

Permalink
Fixed mobile crousal view and added favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnilnarad2000 committed Feb 6, 2024
1 parent 943df45 commit c17c59b
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 1 deletion.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file modified public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,59 @@
z-index: 1;
}
@media (max-width: 320px){
.crousal-image{
height: 350px !important;
}
.navbar-toggler{
margin: 0px 120px 0px 120px;
}
.crousal-header{
margin-top: 120px !important;
font-size: large;
}
.crousal-sub-header{
font-size: medium;
}
.crousal-sub-text{
font-size: 10px;
}
.divider{
margin-top: 5px !important;
margin-bottom: 5px !important;
}
}
@media (min-width: 321px) and (max-width: 426px){
.crousal-image{
height: 350px !important;
}
.crousal-header{
margin-top: 50px !important;
font-size: large;
}
.crousal-sub-header{
font-size: medium;
}
.crousal-sub-text{
font-size: 10px;
}
.divider{
margin-top: 5px !important;
margin-bottom: 5px !important;
}
}
@media (min-width: 426px) and (max-width: 767px){
.crousal-image{
height: 600px !important;
}
.crousal-header{
font-size: larger;
}
.crousal-sub-header{
font-size: large;
}
.crousal-sub-text{
font-size: 15px;
}
}
@media (max-width: 600px)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Components/ImageCarousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let CrousalCode = imageArray.map((imgSrc, index)=>{
<h1 className='crousal-header'>{data.name}</h1>
<h2 className='crousal-sub-header'>{data.tagline}</h2>
<Divider />
<p>{data.subtag}</p>
<p className='crousal-sub-text'>{data.subtag}</p>
</Carousel.Caption>
</Carousel.Item>
})
Expand Down

0 comments on commit c17c59b

Please sign in to comment.