-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TML-9999 feat: update normalize css + init home hero
- Loading branch information
1 parent
ab24893
commit bf3ea36
Showing
12 changed files
with
61 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
import * as t from "$paraglide/messages.js"; | ||
import type { FC } from "react"; | ||
import { Movies } from "./Movie"; | ||
import './index.scss' | ||
import HomeHero from "#root/pages/index/components/HomeHero"; | ||
|
||
type Props = { | ||
locale: string; | ||
}; | ||
|
||
const IndexPage: FC<Props> = (props) => { | ||
return ( | ||
<div> | ||
Index Page | ||
<h1>{t.seoTitle()}</h1> | ||
<Movies /> | ||
</div> | ||
); | ||
const IndexPage = () => { | ||
return <> | ||
<HomeHero /> | ||
</>; | ||
}; | ||
|
||
export default IndexPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default function HomeHero() { | ||
return <div className="bg-home-hero"> | ||
<section className="hero relative pt-96 md:pt-156 z-10 px-20 is-visible"> | ||
Home hero | ||
</section> | ||
</div>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.bg-home-hero { | ||
background: linear-gradient(to bottom, color(display-p3 .8624 .9244 .9776) 0%, color(display-p3 .9536 .9504 .9696) 50%, color(display-p3 .9843 .9843 .9882) 100%); | ||
height: 2000px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters