Skip to content

Commit

Permalink
ref(header): change background
Browse files Browse the repository at this point in the history
  • Loading branch information
Pouria-Hjt committed Jul 5, 2024
1 parent 7f954e5 commit 013a7a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
rgba(0, 0, 0, 0.3) 100%
),
linear-gradient(0deg, rgba(130, 0, 0, 0.2) 0%, rgba(130, 0, 0, 0.2) 100%),
url(/public/images/intro.png),
lightgray 0px -143.143px / 100.03% 144.894% no-repeat;
background-blend-mode: multiply;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
@apply bg-HeaderImage bg-blend-multiply;
}
.imagePrimary {
background: linear-gradient(
Expand Down
2 changes: 1 addition & 1 deletion src/features/Header/Header.feature.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type Props = {};

export const Header = (props: Props) => {
return (
<header className="w-full h-[calc(100vh-8rem)] px-32 md:px-10 bg-headerImage bg-cover bg-center header-bg bg-blend-multiply flex justify-start relative">
<header className="w-full h-[calc(100vh-8rem)] px-32 md:px-10 bg-headerImage bg-cover bg-center header-bg bg-HeaderImage bg-blend-multiply flex justify-start relative">
<div className="absolute bottom-5 right-24 text-quaternary font-GEO703 flex flex-col items-end font-bold md:right-5">
<span className="text-2.5xl w-fit md:text-xl">Welcome to</span>
<h1 className="text-7xl xl:text-5xl md:!text-4xl">CS50x SHIRAZ</h1>
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const config: Config = {
extend: {
backgroundImage: {
"ButtonImage": "url('/images/buttonBg.svg')",
"HeaderImage": "url('/images/intro.png')",
"BodyImage": "url('/images/image_50.png')",
"headeangImage": "url('/images/headingLine.svg')",
"swiperBtnPrev": "url('/icons/swiperButtonPrev.svg')",
Expand Down

0 comments on commit 013a7a2

Please sign in to comment.