mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update landing-hero-section.tsx
This commit is contained in:
parent
27289b3d04
commit
cfe2a1fda8
@ -2,21 +2,13 @@ import React from "react";
|
|||||||
import clsx from "clsx";
|
import clsx from "clsx";
|
||||||
import { LandingHeroGithubStars } from "./landing-hero-github-stars";
|
import { LandingHeroGithubStars } from "./landing-hero-github-stars";
|
||||||
import { LandingStartActionIcon } from "./icons/landing-start-action";
|
import { LandingStartActionIcon } from "./icons/landing-start-action";
|
||||||
|
|
||||||
import { LandingHeroAnimation } from "./landing-hero-animation";
|
import { LandingHeroAnimation } from "./landing-hero-animation";
|
||||||
import { LandingCopyCommandButton } from "./landing-copy-command-button";
|
import { LandingCopyCommandButton } from "./landing-copy-command-button";
|
||||||
import Link from "@docusaurus/Link";
|
import Link from "@docusaurus/Link";
|
||||||
import { LandingHeroShowcaseSection } from "./landing-hero-showcase-section";
|
import { LandingHeroShowcaseSection } from "./landing-hero-showcase-section";
|
||||||
import { useTypewriter, Cursor } from 'react-simple-typewriter';
|
|
||||||
|
|
||||||
export const LandingHeroSection = ({ className }: { className?: string }) => {
|
export const LandingHeroSection = ({ className }: { className?: string }) => {
|
||||||
const [text] = useTypewriter({
|
|
||||||
words: ['Hosting Panel', 'WP Manager', 'User Isolation'],
|
|
||||||
loop: 0, // 0 = infinite
|
|
||||||
typeSpeed: 70,
|
|
||||||
deleteSpeed: 50,
|
|
||||||
delaySpeed: 1000,
|
|
||||||
});
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
@ -67,13 +59,7 @@ export const LandingHeroSection = ({ className }: { className?: string }) => {
|
|||||||
"text-gray-900 dark:text-gray-0",
|
"text-gray-900 dark:text-gray-0",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<span className="text-transparent bg-clip-text bg-gradient-to-r from-[#0FBDBD] to-[#26D97F]">
|
<span class="text-transparent bg-clip-text bg-gradient-to-r text-gradient-to-r from-[#0FBDBD] to-[#26D97F]">Next Generation</span> Hosting Panel
|
||||||
Next Generation
|
|
||||||
</span>
|
|
||||||
<span>
|
|
||||||
{text}
|
|
||||||
<Cursor />
|
|
||||||
</span>
|
|
||||||
</h1>
|
</h1>
|
||||||
<p
|
<p
|
||||||
className={clsx(
|
className={clsx(
|
||||||
@ -83,8 +69,7 @@ export const LandingHeroSection = ({ className }: { className?: string }) => {
|
|||||||
"landing-xs:max-w-[384px]",
|
"landing-xs:max-w-[384px]",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
Deliver a VPS-like experience to your users at a fraction of the cost, with all-inclusive features such as resource limiting, and enhanced security seamlessly integrated for worry-free hosting.
|
Deliver a VPS-like experience to your users at a fraction of the cost, with all-inclusive features such as resource limiting, and enhanced security seamlessly integrated for worry-free hosting. </p>
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
|
Loading…
Reference in New Issue
Block a user