From db994d44199b89c4152a12dd676d0f0f92880fcc Mon Sep 17 00:00:00 2001 From: Yoseph Nikolas Kurnia Soenggoro Date: Sat, 12 Dec 2020 18:54:17 +0700 Subject: [PATCH 1/2] Initial change --- web/src/components/UserProfile/UserProfile.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/src/components/UserProfile/UserProfile.js b/web/src/components/UserProfile/UserProfile.js index 6267ac2..944203a 100644 --- a/web/src/components/UserProfile/UserProfile.js +++ b/web/src/components/UserProfile/UserProfile.js @@ -2,12 +2,12 @@ import { useState, useEffect } from 'react' import { useAuth } from '@redwoodjs/auth' import { navigate, routes } from '@redwoodjs/router' import Editor from 'rich-markdown-editor' - import ImageUploader from 'src/components/ImageUploader' import Button from 'src/components/Button' import ProfileTextInput from 'src/components/ProfileTextInput' +import PartsCell from 'src/components/PartsCell' -const UserProfile = ({ user, isEditable, loading, onSave, error }) => { +const UserProfile = ({ user, isEditable, loading, onSave, error, parts }) => { const { currentUser } = useAuth() const canEdit = currentUser?.sub === user.id useEffect(() => { @@ -91,6 +91,10 @@ const UserProfile = ({ user, isEditable, loading, onSave, error }) => { /> +
+

Parts:

+ +
) From 6e8e853ee9e56f97dbd15e7fc27dffdfb4398e21 Mon Sep 17 00:00:00 2001 From: Yoseph Nikolas Kurnia Soenggoro Date: Sat, 12 Dec 2020 19:14:18 +0700 Subject: [PATCH 2/2] Adjusting padding and margins --- web/src/components/LandingSection/LandingSection.js | 2 +- web/src/components/Parts/Parts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/LandingSection/LandingSection.js b/web/src/components/LandingSection/LandingSection.js index 5920f37..4dcd5f5 100644 --- a/web/src/components/LandingSection/LandingSection.js +++ b/web/src/components/LandingSection/LandingSection.js @@ -173,7 +173,7 @@ const LandingSection = () => { -
+
See what other's have created { return ( -
+