+
+ {loaderData.user.fullName}
+ {loaderData.user.fullName}
+
+
+
+
+
+ {loaderData.posts &&
+ loaderData.posts.map((p) => {
+ return (
+
+ {p.text}
+
+ );
+ })}
+
+
+ );
+}
diff --git a/client/src/ProfileCard.scss b/client/src/ProfileCard.scss
new file mode 100644
index 0000000..10f0d61
--- /dev/null
+++ b/client/src/ProfileCard.scss
@@ -0,0 +1,15 @@
+.profileCard {
+ width: 15rem;
+ height: 5rem;
+ display: flex;
+ flex-direction: column;
+ border: 1px solid #EFEFEF;
+ border-radius: 7px;
+ padding: 1rem;
+ .fullName{
+ font-size: 1.3rem;
+ }
+ .username{
+
+ }
+}
\ No newline at end of file
diff --git a/client/src/ProfileCard.tsx b/client/src/ProfileCard.tsx
new file mode 100644
index 0000000..cd96a22
--- /dev/null
+++ b/client/src/ProfileCard.tsx
@@ -0,0 +1,16 @@
+import "./ProfileCard.scss";
+
+export function ProfileCard({
+ username,
+ fullName,
+}: {
+ username: string;
+ fullName: string;
+}) {
+ return (
+