@@ -3,6 +3,7 @@ import { Features } from '@/components/home/Features'
33import { Footer } from '@/components/home/Footer'
44import { Hero } from '@/components/home/Hero'
55import MenuButton from '@/components/home/Menu'
6+ import Support from '@/components/home/Support'
67import { Logo } from '@/components/Logo'
78import { Search } from '@/components/Search'
89import { Testimonials } from '@/components/Testimonials'
@@ -12,7 +13,6 @@ import Image from 'next/image'
1213import NextLink from 'next/link'
1314import Router , { useRouter } from 'next/router'
1415
15-
1616export default function Home ( ) {
1717 const router = useRouter ( )
1818 return (
@@ -92,21 +92,24 @@ export default function Home() {
9292 < div className = "mt-12 mb-28 flex flex-wrap space-y-4 text-center sm:space-y-0 sm:space-x-4 " >
9393 < button
9494 className = "focus:outline-none w-full flex-none rounded-lg border border-transparent bg-blue-700 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-blue-600 hover:shadow-xl focus:ring-2 focus:ring-blue-600 focus:ring-offset-2 focus:ring-offset-white sm:w-auto"
95- type = "button" onClick = { ( ) => router . push ( '/docs' ) }
95+ type = "button"
96+ onClick = { ( ) => router . push ( '/docs' ) }
9697 >
9798 Get started
9899 </ button >
99100 < button
100- className = "focus:outline-none w-full flex-none rounded-lg border border-transparent bg-gray-900 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-gray-700 hover:shadow-xl focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:ring-offset-white sm:w-auto"
101- type = "button" onClick = { ( ) => router . push ( '/about' ) }
101+ className = "focus:outline-none w-full flex-none rounded-lg border border-transparent bg-gray-900 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-gray-800 hover:shadow-xl focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:ring-offset-white dark:bg-gray-700 dark:hover:bg-gray-600 sm:w-auto"
102+ type = "button"
103+ onClick = { ( ) => router . push ( '/about' ) }
102104 >
103105 Learn more
104106 </ button >
105107 < button
106108 className = "text-md focus:outline-none flex w-full flex-none items-center justify-center rounded-lg border-2 border-gray-300 bg-gray-50 py-3 font-semibold leading-6 text-gray-900 shadow-md transition-colors duration-200 hover:bg-gray-100 hover:shadow-xl focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-white sm:w-auto sm:px-6"
107109 target = "_blank"
108110 rel = "noopener noreferrer"
109- type = "button" onClick = { ( ) => router . push ( '/sponsors' ) }
111+ type = "button"
112+ onClick = { ( ) => router . push ( '/sponsors' ) }
110113 >
111114 < span className = "sr-only" > (Sponsor Javaistic)</ span >
112115 < svg width = "24" height = "24" fill = "none" stroke = "#db61a2" strokeWidth = "2.5" >
@@ -118,67 +121,6 @@ export default function Home() {
118121 </ div >
119122 < Hero />
120123 </ header >
121- < section className = "relative z-10 mx-auto max-w-screen-lg text-center xl:max-w-screen-xl" >
122- < div className = "px-10 sm:px-6 md:px-8" >
123- < BigText
124- as = "h2"
125- className = "mb-8 text-left text-4xl text-gray-900 dark:text-white sm:text-center"
126- >
127- < Widont > “ Education should be free. ”</ Widont > < p className = "mt-0 sm:mt-1" > </ p >
128- </ BigText >
129- < figure >
130- < blockquote >
131- < Paragraph className = "mx-auto mb-6 max-w-4xl text-left" >
132- < Widont >
133- Education is the greatest weapon in this era for the people. But, sadly, these
134- days it's governed by corruption. Today with growing technologies everyone in
135- a country must learn to code. As it is difficult to get 100% free coding
136- education, they are unable to achieve it. Maybe, if coding education is free, then
137- the country will be a developed country which will lead the country in the right
138- direction and get prosperity.
139- </ Widont >
140- < br />
141- < br />
142- As{ ' ' }
143- < span className = "bg-gradient-to-br from-green-400 to-cyan-500 bg-clip-text font-extrabold text-transparent" >
144- Java
145- </ span > { ' ' }
146- is one of the most widely used programming languages, it should be learned by all
147- for free. By building{ ' ' }
148- < span className = "bg-gradient-to-br from-sky-400 to-indigo-500 bg-clip-text font-extrabold text-transparent" >
149- Javaistic
150- </ span >
151- , we're doing just that. We're abstracting the complexity of getting free
152- education needed by all by giving you a world-class educational experience for free.
153- </ Paragraph >
154- </ blockquote >
155- < figcaption className = "flex flex-wrap items-center justify-center pt-4 font-medium sm:text-xl" >
156- < div className = "h-24 w-24 rounded-full border-4 border-sky-400 object-cover object-center p-1" >
157- < Image
158- src = { require ( '@/img/uiuxarghya.jpg' ) . default }
159- alt = "Creator of Javaistic"
160- className = " rounded-full bg-sky-400 "
161- width = { 100 }
162- height = { 100 }
163- quality = { 100 }
164- layout = "responsive"
165- blurDataURL = { require ( '@/img/uiuxarghya.jpg' ) . default }
166- placeholder = "blur"
167- loading = "lazy"
168- />
169- </ div >
170- < div className = "flex flex-col pl-4 text-left" >
171- < NextLink href = "https://twitter.com/uiuxarghya" >
172- < a className = "font-extrabold text-gray-900 hover:underline dark:text-white" >
173- Arghya Ghosh
174- </ a >
175- </ NextLink >
176- < p className = "text-base font-semibold text-sky-500" > Creator of Javaistic</ p >
177- </ div >
178- </ figcaption >
179- </ figure >
180- </ div >
181- </ section >
182124 < Features />
183125 < Testimonials />
184126 < div className = "mx-auto max-w-screen-lg space-y-20 sm:space-y-32 md:space-y-40 lg:space-y-44 xl:max-w-screen-xl" > </ div >
0 commit comments