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:
parent
a048d051b1
commit
6e1d789b28
@ -15,6 +15,7 @@ const LOGOS = [
|
|||||||
{ src: logoAmazonSrc, alt: "Amazon logo" },
|
{ src: logoAmazonSrc, alt: "Amazon logo" },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// LogoCloud is disabled per issue: https://github.com/xitanggg/open-resume/issues/7
|
||||||
export const LogoCloud = () => (
|
export const LogoCloud = () => (
|
||||||
<section className="mt-14 lg:mt-10">
|
<section className="mt-14 lg:mt-10">
|
||||||
<h2 className="text-center font-semibold text-gray-500">
|
<h2 className="text-center font-semibold text-gray-500">
|
||||||
|
@ -39,7 +39,7 @@ const LG_TESTIMONIALS_CLASSNAMES = [
|
|||||||
const SM_TESTIMONIALS_CLASSNAMES = ["z-10", "opacity-0", "opacity-0"];
|
const SM_TESTIMONIALS_CLASSNAMES = ["z-10", "opacity-0", "opacity-0"];
|
||||||
const ROTATION_INTERVAL_MS = 8 * 1000; // 8s
|
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(
|
const [testimonialsClassNames, setTestimonialsClassNames] = useState(
|
||||||
LG_TESTIMONIALS_CLASSNAMES
|
LG_TESTIMONIALS_CLASSNAMES
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,6 @@ import { Hero } from "home/Hero";
|
|||||||
import { Steps } from "home/Steps";
|
import { Steps } from "home/Steps";
|
||||||
import { Features } from "home/Features";
|
import { Features } from "home/Features";
|
||||||
import { Testimonials } from "home/Testimonials";
|
import { Testimonials } from "home/Testimonials";
|
||||||
import { LogoCloud } from "home/LogoCloud";
|
|
||||||
import { QuestionsAndAnswers } from "home/QuestionsAndAnswers";
|
import { QuestionsAndAnswers } from "home/QuestionsAndAnswers";
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
@ -11,9 +10,7 @@ export default function Home() {
|
|||||||
<Hero />
|
<Hero />
|
||||||
<Steps />
|
<Steps />
|
||||||
<Features />
|
<Features />
|
||||||
<Testimonials>
|
<Testimonials />
|
||||||
<LogoCloud />
|
|
||||||
</Testimonials>
|
|
||||||
<QuestionsAndAnswers />
|
<QuestionsAndAnswers />
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user