feat(client/landing): add testimonials section to landing page

This commit is contained in:
Amruth Pillai
2022-03-09 09:37:38 +01:00
parent 7e1448bbf9
commit 6f02048ebd
14 changed files with 216 additions and 15 deletions

View File

@ -0,0 +1,12 @@
.testimony {
@apply grid gap-2;
@apply border-2 rounded p-4 dark:border-neutral-800;
blockquote {
@apply text-xs leading-normal text-justify opacity-90;
}
figcaption {
@apply text-xs opacity-60;
}
}

View File

@ -0,0 +1,17 @@
import { Testimony } from '@/data/testimonials';
import styles from './Testimony.module.scss';
type Props = Testimony;
const Testimony: React.FC<Props> = ({ name, message }) => {
return (
<div className={styles.testimony}>
<blockquote>{message}</blockquote>
<figcaption> {name}</figcaption>
</div>
);
};
export default Testimony;

View File

@ -5,7 +5,7 @@ type Props = {
};
const Logo: React.FC<Props> = ({ size = 64 }) => {
return <Image alt="Reactive Resume" src="/images/logo.svg" className="rounded" width={size} height={size} />;
return <Image alt="Reactive Resume" src="/images/logos/logo.svg" className="rounded" width={size} height={size} />;
};
export default Logo;