1
mirror of https://github.com/xitanggg/open-resume synced 2024-12-04 20:55:16 +01:00

Remove logo cloud per issue #7

This commit is contained in:
Xitang 2023-06-25 12:50:57 -07:00
parent a048d051b1
commit 6e1d789b28
3 changed files with 3 additions and 5 deletions

View File

@ -15,6 +15,7 @@ const LOGOS = [
{ src: logoAmazonSrc, alt: "Amazon logo" },
];
// LogoCloud is disabled per issue: https://github.com/xitanggg/open-resume/issues/7
export const LogoCloud = () => (
<section className="mt-14 lg:mt-10">
<h2 className="text-center font-semibold text-gray-500">

View File

@ -39,7 +39,7 @@ const LG_TESTIMONIALS_CLASSNAMES = [
const SM_TESTIMONIALS_CLASSNAMES = ["z-10", "opacity-0", "opacity-0"];
const ROTATION_INTERVAL_MS = 8 * 1000; // 8s
export const Testimonials = ({ children }: { children: React.ReactNode }) => {
export const Testimonials = ({ children }: { children?: React.ReactNode }) => {
const [testimonialsClassNames, setTestimonialsClassNames] = useState(
LG_TESTIMONIALS_CLASSNAMES
);

View File

@ -2,7 +2,6 @@ import { Hero } from "home/Hero";
import { Steps } from "home/Steps";
import { Features } from "home/Features";
import { Testimonials } from "home/Testimonials";
import { LogoCloud } from "home/LogoCloud";
import { QuestionsAndAnswers } from "home/QuestionsAndAnswers";
export default function Home() {
@ -11,9 +10,7 @@ export default function Home() {
<Hero />
<Steps />
<Features />
<Testimonials>
<LogoCloud />
</Testimonials>
<Testimonials />
<QuestionsAndAnswers />
</main>
);