aboutsummaryrefslogtreecommitdiff
path: root/app/components/Header.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2023-07-19 00:58:38 -0400
committerAndrew Lee <alee14498@protonmail.com>2023-07-19 00:58:38 -0400
commit260ea88a873c10738643b6f82ff00bd854246ec4 (patch)
tree004104726e0afba3c1af820945690805f72edef1 /app/components/Header.js
parentd57226e5a802ecd6607faf67f32621e2da725a35 (diff)
downloadalure-website-260ea88a873c10738643b6f82ff00bd854246ec4.tar.gz
alure-website-260ea88a873c10738643b6f82ff00bd854246ec4.tar.bz2
alure-website-260ea88a873c10738643b6f82ff00bd854246ec4.zip
Sorting out files
Diffstat (limited to 'app/components/Header.js')
-rw-r--r--app/components/Header.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/components/Header.js b/app/components/Header.js
new file mode 100644
index 0000000..bd70dd0
--- /dev/null
+++ b/app/components/Header.js
@@ -0,0 +1,12 @@
+const Header = ({title, description}) => {
+ return (
+ <div className="bg-center bg-no-repeat bg-[url('/jumbotron.webp')] bg-gray-700 bg-blend-multiply">
+ <div className="md:px-40 px-10 max-w-screen-xl text-left py-24 lg:py-10 space-y-3">
+ <h1 className="font-medium text-4xl">{title}</h1>
+ <h2 className="font-light text-lg">{description}</h2>
+ </div>
+ </div>
+ )
+}
+
+export default Header;