Skip to content
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

fixed bugs in food website and easy-banking landing page #148

Open
wants to merge 1 commit into
base: main
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
2 changes: 1 addition & 1 deletion WEB/Food Website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover">
<title>Food Website</title>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
Expand Down
21 changes: 12 additions & 9 deletions WEB/easy-bank-landing-page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@
<!-- Hero Section -->
<section class="hero">
<div class="container">
<div class="hero__image"></div>
<div class="hero__image">
<img src="images/bg-intro-desktop.svg" alt="" class="desktop-img">
<img src="images/bg-intro-mobile.svg" alt="" class="mobile-img">
</div>

<div class="hero__text container--pall">
<h1>Next generation digital banking!!!!</h1>
Expand All @@ -97,7 +100,7 @@ <h2>Why choose Easybank?</h2>
<div class="feature__grid">
<div class="feature__item">
<div class="feature__icon">
<img src="../images/icon-online.svg" />
<img src="images/icon-online.svg" />
</div>
<div class="feature__title">Online Banking</div>
<div class="feature__description">
Expand All @@ -108,7 +111,7 @@ <h2>Why choose Easybank?</h2>

<div class="feature__item">
<div class="feature__icon">
<img src="/images/icon-budgeting.svg" />
<img src="images/icon-budgeting.svg" />
</div>
<div class="feature__title">Simple Budgeting</div>
<div class="feature__description">
Expand All @@ -119,7 +122,7 @@ <h2>Why choose Easybank?</h2>

<div class="feature__item">
<div class="feature__icon">
<img src="/images/icon-onboarding.svg" />
<img src="images/icon-onboarding.svg" />
</div>
<div class="feature__title">Fast Onboarding</div>
<div class="feature__description">
Expand All @@ -129,7 +132,7 @@ <h2>Why choose Easybank?</h2>
</div>

<div class="feature__item">
<div class="feature__icon"><img src="/images/icon-api.svg" /></div>
<div class="feature__icon"><img src="images/icon-api.svg" /></div>
<div class="feature__title">Open API</div>
<div class="feature__description">
Manage your savings, investments, pension, and much more from one
Expand All @@ -148,7 +151,7 @@ <h2>Latest Articles</h2>
<a href="#" class="article__item">
<div
class="article__image"
style="background-image: url('/images/image-currency.jpg')"
style="background-image: url('images/image-currency.jpg')"
></div>
<div class="article__text">
<div class="article__author">By Claire Robinson</div>
Expand All @@ -165,7 +168,7 @@ <h2>Latest Articles</h2>
<a href="#" class="article__item">
<div
class="article__image"
style="background-image: url('/images/image-restaurant.jpg')"
style="background-image: url('images/image-restaurant.jpg')"
></div>
<div class="article__text">
<div class="article__author">By Wilson Hutton</div>
Expand All @@ -182,7 +185,7 @@ <h2>Latest Articles</h2>
<a href="#" class="article__item">
<div
class="article__image"
style="background-image: url('/images/image-plane.jpg')"
style="background-image: url('images/image-plane.jpg')"
></div>
<div class="article__text">
<div class="article__author">By Wilson Hutton</div>
Expand All @@ -199,7 +202,7 @@ <h2>Latest Articles</h2>
<a href="#" class="article__item">
<div
class="article__image"
style="background-image: url('/images/image-confetti.jpg')"
style="background-image: url('images/image-confetti.jpg')"
></div>
<div class="article__text">
<div class="article__author">By Claire Robinson</div>
Expand Down
20 changes: 19 additions & 1 deletion WEB/easy-bank-landing-page/scss/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,28 @@
align-items: center;
}
}
.hero__image{
padding: 72px 13px;

.desktop-img{
width: 100%;

@include breakpoint-up(small) {
display: none;
}
}
.mobile-img{
display: none;
@include breakpoint-up(small) {
display: block;
}
}

}

&__image {
position: relative;
background-image: url("/images/bg-intro-mobile.svg");
background: url("../images/bg-intro-desktop.svg");
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
Expand Down
Loading