Skip to content

Commit a06deb9

Browse files
add new section and change folder on img
1 parent a6d79d6 commit a06deb9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+511
-27
lines changed

public/FH-Logo.svg

Lines changed: 3 additions & 0 deletions
Loading

public/FebryanHernanda-Resume.pdf

164 KB
Binary file not shown.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { styleConfig } from "./Card.config";
2+
import { Props } from "./Card.types";
3+
4+
const Card = (props: Props) => {
5+
const { type, children } = props;
6+
return <div className={styleConfig[type]}>{children}</div>;
7+
};
8+
9+
export default Card;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const styleConfig = {
2+
image: "w-full h-[400px] overflow-hidden rounded-3xl",
3+
text: "w-full h-[200px] bg-white p-5 flex flex-col gap-1 justify-center rounded-3xl max-[1280px]:w-full 2xl:w-[550px]",
4+
};
5+
6+
export { styleConfig };
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export type Props = {
2+
children: React.ReactNode;
3+
type: "image" | "text";
4+
};

src/assets/atoms/Card/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as Card } from "./Card.component";
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const styleConfig = {
2-
avatar: "bg-[#EFEFEF] rounded-full p-[10px] w-10 h-10",
3-
logo: "w-7 mx-auto",
2+
avatar:
3+
"bg-white rounded-full p-[10px] w-10 h-10 hover:bg-gray-200 transition-all",
4+
logo: "w-7 mx-auto ",
45
};
56

67
export { styleConfig };

0 commit comments

Comments
 (0)