diff --git a/src/css/tailwind.config.js b/src/css/tailwind.config.js
index cb18732..4d79d5f 100644
--- a/src/css/tailwind.config.js
+++ b/src/css/tailwind.config.js
@@ -20,10 +20,12 @@ module.exports = {
inter: ['Inter', 'sans-serif'],
},
fontSize: {
+ xxs: ['0.625rem', { lineHeight: '0.75' }],
xs: ['0.75rem', { lineHeight: '1.5' }],
sm: ['0.875rem', { lineHeight: '1.5715' }],
base: ['1rem', { lineHeight: '1.5', letterSpacing: '-0.01em' }],
lg: ['1.125rem', { lineHeight: '1.5', letterSpacing: '-0.01em' }],
+ validateLg: ['1.125rem', { lineHeight: '1.875', letterSpacing: '-0.014em' }],
xl: ['1.25rem', { lineHeight: '1.5', letterSpacing: '-0.01em' }],
'2xl': ['1.5rem', { lineHeight: '1.33', letterSpacing: '-0.01em' }],
'3xl': ['1.88rem', { lineHeight: '1.33', letterSpacing: '-0.01em' }],
diff --git a/src/images/profile-icon.svg b/src/images/profile-icon.svg
new file mode 100644
index 0000000..e9bfe8a
--- /dev/null
+++ b/src/images/profile-icon.svg
@@ -0,0 +1,10 @@
+
diff --git a/src/pages/digitalId/ProfileId.jsx b/src/pages/digitalId/ProfileId.jsx
index bd1f75a..4d85496 100644
--- a/src/pages/digitalId/ProfileId.jsx
+++ b/src/pages/digitalId/ProfileId.jsx
@@ -2,31 +2,57 @@ import React, { useState } from 'react';
import Sidebar from '../../partials/Sidebar';
import Header from '../../partials/Header';
+import ProfileTableItem from '../../partials/digitalId/ProfileTableItem';
+import ProfileIcon from '../../images/profile-icon.svg';
+import Avatar01 from '../../images/avatar-01.jpg';
+import Avatar02 from '../../images/avatar-02.jpg';
+import Avatar03 from '../../images/avatar-03.jpg';
function Profile () {
const [sidebarOpen, setSidebarOpen] = useState(false);
+ const data = {
+ id: '0',
+ image: ProfileIcon,
+ value: 'Passport',
+ property: 'Document type',
+ status: 'Progress',
+ transactions: ['0x7234ABC342342352345', '0x5745DEF342342352345'],
+ avatars: [Avatar01, Avatar02, Avatar03]
+ };
+
return (
{/* Sidebar */}
-
{/* Content area */}
{/* Site header */}
-
-
{/* Page header */}
{/* Title */}
Profile ✨
+ {/* Table */}
+
-
)
diff --git a/src/pages/digitalId/Validate.jsx b/src/pages/digitalId/Validate.jsx
index 7fce233..5b5906e 100644
--- a/src/pages/digitalId/Validate.jsx
+++ b/src/pages/digitalId/Validate.jsx
@@ -7,27 +7,22 @@ function Validate () {
const [sidebarOpen, setSidebarOpen] = useState(false);
return (
-
- {/* Sidebar */}
-
-
- {/* Content area */}
-
- {/* Site header */}
-
-
-
-
-
- {/* Page header */}
-
- {/* Title */}
-
Validate ✨
-
+
+ {/* Sidebar */}
+
+ {/* Content area */}
+
+ {/* Site header */}
+
+
+
+ {/* Page header */}
+
+ {/* Title */}
+
Validate ✨
-
-
-
+
+
)
}
diff --git a/src/pages/digitalId/ValidationLog.jsx b/src/pages/digitalId/ValidationLog.jsx
index a801002..06cf9c6 100644
--- a/src/pages/digitalId/ValidationLog.jsx
+++ b/src/pages/digitalId/ValidationLog.jsx
@@ -7,27 +7,22 @@ function ValidationLog () {
const [sidebarOpen, setSidebarOpen] = useState(false);
return (
-
- {/* Sidebar */}
-
-
- {/* Content area */}
-
- {/* Site header */}
-
-
-
-
-
- {/* Page header */}
-
- {/* Title */}
-
Validation log ✨
-
+
+ {/* Sidebar */}
+
+ {/* Content area */}
+
+ {/* Site header */}
+
+
+
+ {/* Page header */}
+
+ {/* Title */}
+
Validation log ✨
-
-
-
+
+
)
}
diff --git a/src/pages/digitalId/Verify.jsx b/src/pages/digitalId/Verify.jsx
index 8510b51..ff9ccff 100644
--- a/src/pages/digitalId/Verify.jsx
+++ b/src/pages/digitalId/Verify.jsx
@@ -10,15 +10,12 @@ function Verify () {
{/* Sidebar */}
-
{/* Content area */}
{/* Site header */}
-
-
{/* Page header */}
{/* Title */}
@@ -26,7 +23,6 @@ function Verify () {
-
)
diff --git a/src/partials/digitalId/ProfileTableItem.jsx b/src/partials/digitalId/ProfileTableItem.jsx
new file mode 100644
index 0000000..5a17432
--- /dev/null
+++ b/src/partials/digitalId/ProfileTableItem.jsx
@@ -0,0 +1,154 @@
+import React, { useState } from 'react';
+
+function ProfileTableItem(props) {
+ const [descriptionOpen, setDescriptionOpen] = useState(false);
+
+ return (
+ <>
+
+ |
+
+
+
+ |
+
+
+
+ 
+
+
+ {props.value}
+ {props.property}
+
+
+ |
+
+
+ {(props.status === 'Progress') ? (
+
+ {props.status}
+ ) :
+ (props.status === 'Stored') ? (
+
+ {props.status}
+ ) :
+ (props.status === 'Completed') ? (
+
+ {props.status}
+ ) : (
+
+ {props.status}
+ )
+ }
+
+ |
+
+
+
+ {(props.avatars) ? (
+ props.avatars.map((avatar, index) => (
+ 
+ ))
+ ): null}
+
+
+
+ |
+
+ {/* Button */}
+
+ |
+
+
+
+
+ |
+
+
+
+
+ {/* Progress validation bar */}
+
+
+
+ Today
+
+
+
+ {/* List item */}
+ {props.transactions.map((data, index) => (
+ -
+
+ {(props.transactions[index+1]) ? (
+
+ ) : null}
+
+
+ Validate by
+ {data}
+
+
+
+
+
+
+ ))}
+
+
+
+
+ |
+
+ >
+ );
+}
+
+export default ProfileTableItem;