mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
feat(client/landing): add testimonials section to landing page
This commit is contained in:
12
client/components/landing/Testimony.module.scss
Normal file
12
client/components/landing/Testimony.module.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
17
client/components/landing/Testimony.tsx
Normal file
17
client/components/landing/Testimony.tsx
Normal 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;
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user