|
|
|
@ -1,13 +1,11 @@
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import { useEffect } from 'react';
|
|
|
|
|
import { Icon } from '@iconify/react';
|
|
|
|
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
|
|
|
|
import GithubInfo from './GithubInfo';
|
|
|
|
|
import Translate, { translate } from '@docusaurus/Translate';
|
|
|
|
|
import Link from '@docusaurus/Link';
|
|
|
|
|
|
|
|
|
|
const Hero = () => {
|
|
|
|
|
const bgUrl = useBaseUrl('/img/bg.jpg');
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<header className="hero hero--primary heroBanner_UJJx dark:bg-[#1B1B1D]">
|
|
|
|
|
<div className="my-container dark:text-white">
|
|
|
|
@ -25,47 +23,31 @@ const Hero = () => {
|
|
|
|
|
Systems Online.
|
|
|
|
|
</Translate>
|
|
|
|
|
</p>
|
|
|
|
|
<div class="social_VnSH">
|
|
|
|
|
<a
|
|
|
|
|
class="github-button"
|
|
|
|
|
href="https://github.com/opengoofy/hippo4j"
|
|
|
|
|
data-show-count="true"
|
|
|
|
|
aria-label="Star opengoofy/hippo4j on GitHub"
|
|
|
|
|
>
|
|
|
|
|
Star
|
|
|
|
|
</a>
|
|
|
|
|
<a
|
|
|
|
|
class="github-button ml-4"
|
|
|
|
|
href="https://github.com/opengoofy/hippo4j/fork"
|
|
|
|
|
data-icon="octicon-repo-forked"
|
|
|
|
|
data-show-count="true"
|
|
|
|
|
aria-label="Fork opengoofy/hippo4j on GitHub"
|
|
|
|
|
>
|
|
|
|
|
Fork
|
|
|
|
|
</a>
|
|
|
|
|
<div className="social_VnSH">
|
|
|
|
|
<GithubInfo owner="opengoofy" repo="hippo4j" />
|
|
|
|
|
</div>
|
|
|
|
|
<div className="buttons_pzbO">
|
|
|
|
|
{/* button group */}
|
|
|
|
|
<div className="flex mt-6 w-full justify-center">
|
|
|
|
|
<div className="flex w-full justify-center">
|
|
|
|
|
<Link
|
|
|
|
|
to="/docs/user_docs/intro"
|
|
|
|
|
className="relative mr-4 w-32 text-center lg:w-48 hover:no-underline inline-flex items-center justify-start py-4 overflow-hidden font-semibold text-white transition-all duration-150 ease-in-out rounded bg-blue-500 group"
|
|
|
|
|
>
|
|
|
|
|
<span class="absolute bottom-0 left-0 w-full h-1 transition-all duration-150 ease-in-out bg-blue-600 group-hover:h-full"></span>
|
|
|
|
|
<span className="absolute bottom-0 left-0 w-full h-1 transition-all duration-150 ease-in-out bg-blue-600 group-hover:h-full"></span>
|
|
|
|
|
|
|
|
|
|
<span class="relative w-full text-center transition-colors duration-200 ease-in-out group-hover:text-white">
|
|
|
|
|
<span className="relative w-full text-center transition-colors duration-200 ease-in-out group-hover:text-white">
|
|
|
|
|
Start Learning
|
|
|
|
|
</span>
|
|
|
|
|
</Link>
|
|
|
|
|
|
|
|
|
|
<a
|
|
|
|
|
href="https://github.com/opengoofy/hippo4j"
|
|
|
|
|
class="relative w-32 hover:no-underline lg:w-48 inline-block text-lg group"
|
|
|
|
|
className="relative w-32 hover:no-underline lg:w-48 inline-block text-lg group"
|
|
|
|
|
>
|
|
|
|
|
<span class="relative z-10 block px-5 py-4 overflow-hidden font-medium leading-tight text-gray-800 transition-colors duration-300 ease-out border-2 border-gray-900 rounded-lg group-hover:text-white">
|
|
|
|
|
<span class="absolute inset-0 w-full h-full px-5 py-4 rounded-lg bg-gray-100"></span>
|
|
|
|
|
<span class="absolute left-0 w-52 h-48 -ml-2 transition-all duration-300 origin-top-right -rotate-90 -translate-x-full translate-y-12 bg-gray-900 group-hover:-rotate-180 ease"></span>
|
|
|
|
|
<span class="relative flex items-center justify-center">
|
|
|
|
|
<span className="relative z-10 block px-5 py-4 overflow-hidden font-medium leading-tight text-gray-800 transition-colors duration-300 ease-out border-2 border-gray-900 rounded-lg group-hover:text-white">
|
|
|
|
|
<span className="absolute inset-0 w-full h-full px-5 py-4 rounded-lg bg-gray-100"></span>
|
|
|
|
|
<span className="absolute left-0 w-52 h-48 -ml-2 transition-all duration-300 origin-top-right -rotate-90 -translate-x-full translate-y-12 bg-gray-900 group-hover:-rotate-180 ease"></span>
|
|
|
|
|
<span className="relative flex items-center justify-center">
|
|
|
|
|
{' '}
|
|
|
|
|
<Icon
|
|
|
|
|
className="w-6 h-6 mr-2 rounded-full flex-shrink-0 bg-white text-white"
|
|
|
|
@ -75,7 +57,7 @@ const Hero = () => {
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
<span
|
|
|
|
|
class="absolute bottom-0 right-0 w-full h-12 -mb-1 -mr-1 transition-all duration-200 ease-linear bg-gray-900 rounded-lg group-hover:mb-0 group-hover:mr-0"
|
|
|
|
|
className="absolute bottom-0 right-0 w-full h-12 -mb-1 -mr-1 transition-all duration-200 ease-linear bg-gray-900 rounded-lg group-hover:mb-0 group-hover:mr-0"
|
|
|
|
|
data-rounded="rounded-lg"
|
|
|
|
|
></span>
|
|
|
|
|
</a>
|
|
|
|
|