File tree Expand file tree Collapse file tree 3 files changed +32
-13
lines changed
Expand file tree Collapse file tree 3 files changed +32
-13
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ import { useRouter } from 'next/router';
22import React , { useContext , useEffect , useState } from 'react' ;
33
44import Empty from '@/components/illustrations/Empty' ;
5+ import Container from '@/components/layout/Container' ;
56import GenericLayout from '@/components/layout/GenericLayout' ;
67import Loader from '@/components/Loader' ;
78import BlogPostItem from '@/components/navigation/BlogPostItem' ;
89import Filter from '@/components/navigation/Filter' ;
10+ import NewsletterSubscribe from '@/components/NewsletterSubscribe' ;
911import PaginationComponent from '@/components/Pagination' ;
1012import Heading from '@/components/typography/Heading' ;
1113import Paragraph from '@/components/typography/Paragraph' ;
@@ -260,6 +262,13 @@ export default function BlogIndexPage() {
260262 </ div >
261263 </ div >
262264 </ div >
265+
266+ { /* Newsletter Section */ }
267+ < div className = 'mt-8 bg-dark rounded-3xl py-12' >
268+ < Container wide >
269+ < NewsletterSubscribe dark />
270+ </ Container >
271+ </ div >
263272 </ GenericLayout >
264273 ) ;
265274}
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import IconStar from '../../../components/icons/Star';
1717import IconTerminal from '../../../components/icons/Terminal' ;
1818import IconUsersGroup from '../../../components/icons/UsersGroup' ;
1919import IconVideo from '../../../components/icons/Video' ;
20+ import Container from '../../../components/layout/Container' ;
2021import GenericLayout from '../../../components/layout/GenericLayout' ;
2122import NewsletterSubscribe from '../../../components/NewsletterSubscribe' ;
2223import PaginationComponent from '../../../components/Pagination' ;
@@ -443,7 +444,13 @@ export default function Index() {
443444 </ div >
444445 </ section >
445446 </ div >
446- < NewsletterSubscribe className = 'mt-20 text-center' />
447+
448+ { /* Newsletter Section */ }
449+ < div className = 'mt-8 bg-dark rounded-3xl py-12' >
450+ < Container wide >
451+ < NewsletterSubscribe dark />
452+ </ Container >
453+ </ div >
447454 </ GenericLayout >
448455 ) ;
449456}
Original file line number Diff line number Diff line change @@ -297,18 +297,21 @@ export default function TSC() {
297297 </ div >
298298
299299 { /* Want to Join TSC CTA */ }
300- < div className = 'bg-gradient-to-br from-primary-50 to-secondary-50 dark:from-gray-900 dark:to-gray-800 py-16' >
301- < div className = 'mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 text-center' >
302- < h2 className = 'text-3xl sm:text-4xl font-bold text-gray-900 dark:text-white mb-4' > Want to join TSC?</ h2 >
303- < p className = 'text-lg text-gray-600 dark:text-gray-400 mb-8' >
304- Join our community and help shape the future of AsyncAPI
305- </ p >
306- < Button
307- text = 'Get Started'
308- href = 'https://github.com/asyncapi/community/blob/master/CONTRIBUTING.md'
309- target = '_blank'
310- className = 'text-center hover:bg-primary-600 focus:outline-none'
311- />
300+ < div className = 'bg-white dark:bg-dark-background py-12' >
301+ < div className = 'mx-auto max-w-7xl px-4 sm:px-6 lg:px-8' >
302+ < div
303+ className = 'rounded-3xl p-8 sm:p-12 shadow-xl text-center'
304+ style = { { background : 'linear-gradient(90deg, #8B5CF6 0%, #7C3AED 50%, #22D3EE 100%)' } }
305+ >
306+ < h2 className = 'text-3xl sm:text-4xl font-bold text-white mb-4' > Want to join TSC?</ h2 >
307+ < p className = 'text-lg text-white/90 mb-8' > Join our community and help shape the future of AsyncAPI</ p >
308+ < Button
309+ text = 'Get Started'
310+ href = 'https://github.com/asyncapi/community/blob/master/CONTRIBUTING.md'
311+ target = '_blank'
312+ className = 'text-center bg-white text-primary-600 hover:bg-gray-100 focus:outline-none'
313+ />
314+ </ div >
312315 </ div >
313316 </ div >
314317 </ GenericLayout >
You can’t perform that action at this time.
0 commit comments