@@ -46,6 +46,37 @@ const Home = ({
4646 canonical = { `https://codingcat.dev/` }
4747 > </ NextSeo >
4848 < Layout site = { site } >
49+ < article className = "relative grid justify-center gap-4 p-8 text-center bg-[chocolate] place-items-center bg-primary-900 text-basics-50 dark:text-basics-50" >
50+ < h2 className = "font-sans font-black" > Win a Samsung Pro Chromebook</ h2 >
51+ < figure className = "grid justify-center gap-4 place-items-center" >
52+ < Image
53+ loader = { ( ) => `./static/images/chromebook.png` }
54+ src = "./static/images/chromebook.png"
55+ layout = "fixed"
56+ width = { 325 }
57+ height = { 245 }
58+ alt = "Chromebook Hacktoberfest free laptop giveaway to 100th sub"
59+ />
60+ < figcaption className = "max-w-md text-sm" >
61+ * Join CodingCat.dev during October for only < strong > $1</ strong > { ' ' }
62+ using coupon code < strong > HACKTOBER2022</ strong > . < br />
63+ The 100th person to subscribe during the month of October will win
64+ this laptop. The laptop will only be given away if 100 people
65+ subscribe, so tell all of your friends!
66+ </ figcaption >
67+ </ figure >
68+ < div className = "pb-20 md:pb-8" >
69+ < Link href = "/user/profile" >
70+ < a
71+ className = "btn-primary bg-blue justify-self-start"
72+ role = "button"
73+ >
74+ Join CodingCat.dev for $1
75+ </ a >
76+ </ Link >
77+ </ div >
78+ < AJPrimary className = "absolute right-4 bottom-4 max-w-[100px]" />
79+ </ article >
4980 < div >
5081 { /* Hero */ }
5182 < section className = "grid justify-center grid-cols-1 p-8 mx-auto 2xl:gap-10 lg:grid-cols-2 lg:px-10 2xl:min-h-768 max-w-7xl" >
@@ -64,26 +95,25 @@ const Home = ({
6495 < AJPrimary className = "w-1/2 max-w-xs lg:w-3/4 lg:max-w-md" />
6596 </ section >
6697 </ section >
67- < Image
68- src = "main-codingcatdev-photo/Hacktober_2022_Laptop_Giveaway.jpg"
69- alt = "Hacktoberfest free laptop giveaway to 100th sub"
70- height = { 1080 }
71- width = { 1920 }
72- > </ Image >
73- < section className = "grid justify-center grid-cols-1 p-4 mx-auto 2xl:gap-10 lg:px-10 2xl:min-h-768 max-w-7xl" >
74- < div className = "relative z-10 flex flex-col items-center justify-center pb-8" >
98+
99+ { /* <section className="grid justify-center grid-cols-1 p-4 mx-auto 2xl:gap-10 lg:px-10 2xl:min-h-768 max-w-7xl">
100+ <div className="relative z-10 flex flex-col items-center justify-center">
75101 <p className="text-2xl font-bold text-center lg:text-4xl sm:text-3xl leading-tighter sm:max-w-[22ch] tracking-tight">
76102 Full Stack Courses for Busy Web Developers
77103 </p>
78- < p className = "pt-3 text-sm leading-tight text-center text-blue-500 dark:text-amber-400 lg:text-lg sm:text-base" >
104+ <p className="pt-3 text-sm leading-tight text-center lg:text-lg sm:text-base">
79105 High-quality video tutorials made by expert developers in their
80106 field.
81107 </p>
82108 </div>
83109
84- < Profile main = { true } />
85- </ section >
86- < section className = "pt-2 sm:pt-8" >
110+ <Link href="/user/profile">
111+ <a className="btn-primary justify-self-start" role="button">
112+ Join CodingCat.dev
113+ </a>
114+ </Link>
115+ </section> */ }
116+ < section >
87117 < HomeDetail site = { site } recentPosts = { recentPosts } />
88118 </ section >
89119 </ div >
0 commit comments