@@ -2,9 +2,8 @@ import styles from "./index.module.css";
22import Link from "@docusaurus/Link" ;
33import Layout from '@theme/Layout/Provider' ;
44import Footer from '@theme/Footer' ;
5- import clsx from 'clsx' ;
65import useDocusaurusContext from '@docusaurus/useDocusaurusContext' ;
7- import LogoImg from '@site/static/img/phpss-light .svg' ;
6+ import LogoImg from '@site/static/img/phpss-banner .svg' ;
87import GithubImg from '@site/static/img/GitHub.svg' ;
98
109const features = [
@@ -24,32 +23,46 @@ const Index = () => {
2423 const { siteConfig} = useDocusaurusContext ( ) ;
2524 return (
2625 < Layout title = { `${ siteConfig . title } ` } description = "High-performance PHP application server and process manager written in PHP" >
27- < header className = { clsx ( 'hero' , styles . heroBanner ) } >
26+ < header className = { styles . heroBanner } >
2827 < div className = "container" >
29- < LogoImg alt = "PHPStreamServer" className = { styles . logo } />
30- < p className = "hero__subtitle" > High-performance PHP application server and process manager written in PHP.</ p >
28+ < LogoImg alt = "PHPStreamServer" className = "w-auto h-[2.5em] lg:h-[3.5em] lg:w-auto mb-5 text-black dark:text-gray-200" />
29+ < div className = "mb-5 text-xl lg:text-2xl font-semibold dark:text-gray-200" >
30+ High-performance PHP application server and process manager written in PHP
31+ </ div >
32+ < div className = "dark:text-gray-200" >
33+ PHPStreamServer is a high-performance, event-loop-based application server and supervisor for PHP, written in PHP.< br />
34+ Powered by the < Link href = "https://revolt.run/" > Revolt</ Link > event loop and built on the < Link href = "https://amphp.org/" > AMPHP</ Link > ecosystem, it brings true asynchronous capabilities to your applications.< br />
35+ PHPStreamServer is highly extensible with its plugin system, allowing it to replace traditional setups like Nginx, PHP-FPM, Cron, and Supervisor.
36+ </ div >
3137 < div className = { styles . buttons } >
32- < Link className = " button button--secondary button--lg" to = "/docs/general/" >
38+ < Link className = { styles . button } to = "/docs/general/" >
3339 Get started
3440 </ Link >
35- < Link className = " button button--secondary button--lg" href = "https://github.com/phpstreamserver/phpstreamserver" >
41+ < Link className = { styles . button } href = "https://github.com/phpstreamserver/phpstreamserver" >
3642 < div className = { styles . githubButtonGroup } >
37- < GithubImg alt = "" /> < span > GitHub</ span >
43+ < GithubImg alt = "" fill = "currentColor" className = "w-[1.25em] h-[1.25em] me-1" /> < span > GitHub</ span >
3844 </ div >
3945 </ Link >
46+ < img className = "invisible lg:visible h-[1.5em]" src = "https://img.shields.io/github/stars/phpstreamserver/phpstreamserver" alt = "Stars" />
4047 </ div >
4148 </ div >
4249 </ header >
4350
4451 < div className = { styles . featuresSection } >
4552 < div className = "container" >
46- < h2 > Features</ h2 >
47- < div className = { styles . featuresGrid } >
53+ < h2 className = { styles . subtitle } > Features</ h2 >
54+ < div className = "grid grid-cols-1 lg:grid-cols-2 gap-4" >
4855 { features . map ( ( feature , index ) => (
4956 < div key = { index } className = { styles . featureCard } >
50- < div className = { styles . featureIcon } > { feature . icon } </ div >
51- < h3 className = { styles . featureTitle } > { feature . title } </ h3 >
52- < p > { feature . description } </ p >
57+ < div className = "flex items-center" >
58+ < div className = { styles . featureIcon } > { feature . icon } </ div >
59+ </ div >
60+ < div className = "flex items-center" >
61+ < div >
62+ < div className = "text-xl font-semibold mb-2 w-full" > { feature . title } </ div >
63+ < div > { feature . description } </ div >
64+ </ div >
65+ </ div >
5366 </ div >
5467 ) ) }
5568 </ div >
0 commit comments