diff --git a/app/creator/(home)/page.tsx b/app/creator/(home)/page.tsx index 2a183f6..e0856a0 100644 --- a/app/creator/(home)/page.tsx +++ b/app/creator/(home)/page.tsx @@ -1,7 +1,17 @@ -export default function CreatorPage() { - return ( -
-

Creator

-
- ) -} \ No newline at end of file +import { Home_Banner } from "@/components/Home_Banner"; +import Recent_Creation from "@/components/Recent_Creation"; + + +const CreatorPage: React.FC = () => { + return ( +
+ + +
+ ); +}; + + + + +export default CreatorPage; diff --git a/app/globals.css b/app/globals.css index 7a19fbc..da3eaa3 100644 --- a/app/globals.css +++ b/app/globals.css @@ -123,6 +123,172 @@ } +.hero_img { + background-color: #010313D9; + background-image: url("/images/89f1cacd4041e59eb162ffcb0f8080dc179fe415.png"); + background-repeat: no-repeat; + background-size: cover; + background-position: center center; + background-blend-mode: multiply; + height: 170px; + width: 1045px; + border-radius: 10px; + padding: 8px; + display: flex; + justify-content: space-between; + align-items: center; + padding-left: 40px; + padding-right: 40px; +} + +.hero_text { + display: flex; + flex-direction: column; + gap: 10px; + color: #ffffff; + width: 476px; + text-align: left; +} + +.hero_text h3 { + font-size: 20px; + font-weight: 700; + line-height: 30px; + font-family: sans-serif; + margin: 0; +} + +.hero_text p { + font-size: 14px; + font-weight: 400; + line-height: 21px; + font-family: Arial, Helvetica, sans-serif; +} + +.hero_img { + background-color: #010313D9; + background-image: url("/images/89f1cacd4041e59eb162ffcb0f8080dc179fe415.png"); + background-repeat: no-repeat; + background-size: cover; + background-position: center center; + background-blend-mode: multiply; + height: 170px; + width: 100%; + border-radius: 10px; + padding: 8px; + display: flex; + justify-content: space-between; + align-items: center; + padding-left: 40px; + padding-right: 40px; +} + +.hero_text { + display: flex; + flex-direction: column; + gap: 10px; + color: #ffffff; + width: 476px; + text-align: left; +} + +.hero_text h3 { + font-size: 20px; + font-weight: 700; + line-height: 30px; + font-family: sans-serif; + margin: 0; +} + +.hero_text p { + font-size: 14px; + font-weight: 400; + line-height: 21px; + font-family: Arial, Helvetica, sans-serif; + margin: 0; +} + +.hero_text button { + background-color: #ffffff; + color: #010313; + border: none; + border-radius: 5px; + width: 146.04px; + padding: 5px 10px; + cursor: pointer; + font-size: 14px; + font-weight: bold; + text-align: center; +} + +.hero_cards { + display: flex; + gap: 20px; +} + +.card_1 { + background-image: url("/images/37934e37222a44601017b84963a414627d8e095f.png"); + background-size: cover; + background-position: center center; + width: 91px; + height: 130px; + border-radius: 2px; +} + +.card_2 { + background-image: url("/images/230f1945d640ae4c0325f23dcb3365b59ae08277.png"); + background-size: cover; + background-position: center center; + width: 91px; + height: 130px; + border-radius: 2px; +} + +.card_3 { + background-image: url("/images/baca21cebac9b0ae0463e371575f760ea5e79016.png"); + background-size: cover; + background-position: center center; + width: 91px; + height: 130px; + border-radius: 2px; +} + +.recent_container { + display: flex; + flex-direction: column; + width: 100%; + height: 237px; + margin-top: 30px; +} + +.recent_title { + display: flex; + width: 100%; + justify-content: space-between; + align-items: center; +} + +.recent_icon { + cursor: pointer; + border: 1px solid #868585; + padding: 5px; + border-radius: 5px; + font-size: 30px; +} + +.recent_card { + width: 100%; + height: 150px; + background-color: #ffffff; + border-radius: 10px; +} +.card_img { + width: 145px; + height: 110px; + border-radius: 5px; +} + + /* custom css */ .no-scrollbar::-webkit-scrollbar { diff --git a/components/Home_Banner.tsx b/components/Home_Banner.tsx new file mode 100644 index 0000000..ed7c7a3 --- /dev/null +++ b/components/Home_Banner.tsx @@ -0,0 +1,21 @@ +import React from "react"; + +export const Home_Banner: React.FC = () => { + return ( +
+
+

Bring Your Story to Life

+

+ Start creating your own ebook today — share your voice, inspire + readers, and publish to the world in just a few clicks. +

+ +
+
+
+
+
+
+
+ ); +}; diff --git a/components/Recent_Card.tsx b/components/Recent_Card.tsx new file mode 100644 index 0000000..97e58d9 --- /dev/null +++ b/components/Recent_Card.tsx @@ -0,0 +1,31 @@ +import Image from "next/image"; +import React from "react"; + +interface RecentCardProps { + image: string; + title: string; + tag: string; + description: string; +} + +const Recent_Card: React.FC = ({ image, title, tag, description }) => { + return ( +
+
+ image +
+

{title}

+

+ {tag} {description} +

+
+ ); +}; + +export default Recent_Card; diff --git a/components/Recent_Creation.tsx b/components/Recent_Creation.tsx new file mode 100644 index 0000000..3668bd8 --- /dev/null +++ b/components/Recent_Creation.tsx @@ -0,0 +1,49 @@ +import Image from "next/image"; +import React from "react"; +import { FaSlidersH } from "react-icons/fa"; +import Recent_Card from "./Recent_Card"; + +const Recent_Creation: React.FC = () => { + return ( +
+
+

Recent creations

+ +
+
+ + + + + +
+
+ ); +}; + +export default Recent_Creation; diff --git a/public/images/230f1945d640ae4c0325f23dcb3365b59ae08277.png b/public/images/230f1945d640ae4c0325f23dcb3365b59ae08277.png new file mode 100644 index 0000000..82aec81 Binary files /dev/null and b/public/images/230f1945d640ae4c0325f23dcb3365b59ae08277.png differ diff --git a/public/images/292c2c8f2ea3276c44dc6ade84e687b9cae3d267.png b/public/images/292c2c8f2ea3276c44dc6ade84e687b9cae3d267.png new file mode 100644 index 0000000..af6e5ff Binary files /dev/null and b/public/images/292c2c8f2ea3276c44dc6ade84e687b9cae3d267.png differ diff --git a/public/images/37934e37222a44601017b84963a414627d8e095f.png b/public/images/37934e37222a44601017b84963a414627d8e095f.png new file mode 100644 index 0000000..8b58521 Binary files /dev/null and b/public/images/37934e37222a44601017b84963a414627d8e095f.png differ diff --git a/public/images/89f1cacd4041e59eb162ffcb0f8080dc179fe415.png b/public/images/89f1cacd4041e59eb162ffcb0f8080dc179fe415.png new file mode 100644 index 0000000..338032f Binary files /dev/null and b/public/images/89f1cacd4041e59eb162ffcb0f8080dc179fe415.png differ diff --git a/public/images/96c1b745b59fe1512c73f653d7b5e7be3ee54e58.png b/public/images/96c1b745b59fe1512c73f653d7b5e7be3ee54e58.png new file mode 100644 index 0000000..d017c56 Binary files /dev/null and b/public/images/96c1b745b59fe1512c73f653d7b5e7be3ee54e58.png differ diff --git a/public/images/aa31529b95af9b43380b88b11692b0a6f7999878.png b/public/images/aa31529b95af9b43380b88b11692b0a6f7999878.png new file mode 100644 index 0000000..f316d79 Binary files /dev/null and b/public/images/aa31529b95af9b43380b88b11692b0a6f7999878.png differ diff --git a/public/images/baca21cebac9b0ae0463e371575f760ea5e79016.png b/public/images/baca21cebac9b0ae0463e371575f760ea5e79016.png new file mode 100644 index 0000000..43330d8 Binary files /dev/null and b/public/images/baca21cebac9b0ae0463e371575f760ea5e79016.png differ diff --git a/public/images/d3cf3b09c1fd3dc0d6a997a7a479337fdf8caa69.png b/public/images/d3cf3b09c1fd3dc0d6a997a7a479337fdf8caa69.png new file mode 100644 index 0000000..89a5020 Binary files /dev/null and b/public/images/d3cf3b09c1fd3dc0d6a997a7a479337fdf8caa69.png differ diff --git a/public/images/d5d8f9fe19a7aed7bf6545a64634eeb37a6b895a.png b/public/images/d5d8f9fe19a7aed7bf6545a64634eeb37a6b895a.png new file mode 100644 index 0000000..43c4890 Binary files /dev/null and b/public/images/d5d8f9fe19a7aed7bf6545a64634eeb37a6b895a.png differ