Skip to content

Commit

Permalink
Remove logo cloud per issue #7
Browse files Browse the repository at this point in the history
  • Loading branch information
xitanggg committed Jun 25, 2023
1 parent a048d05 commit 6e1d789
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/app/home/LogoCloud.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion src/app/home/Testimonials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down
5 changes: 1 addition & 4 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -11,9 +10,7 @@ export default function Home() {
<Hero />
<Steps />
<Features />
<Testimonials>
<LogoCloud />
</Testimonials>
<Testimonials />
<QuestionsAndAnswers />
</main>
);
Expand Down

1 comment on commit 6e1d789

@vercel
Copy link

@vercel vercel bot commented on 6e1d789 Jun 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.