From 0d3b054b4833f3f2f4842a693218116a2757e9c8 Mon Sep 17 00:00:00 2001 From: JohnCosta27 Date: Fri, 22 Apr 2022 19:19:45 +0100 Subject: [PATCH] Added tensorcrypt component. Need to write up my experience and then it'll be done. --- src/components/sections/Experience.jsx | 27 ++++++++++++++----------- src/components/sections/Tensorcrypt.jsx | 15 ++++++++++++++ 2 files changed, 30 insertions(+), 12 deletions(-) create mode 100644 src/components/sections/Tensorcrypt.jsx diff --git a/src/components/sections/Experience.jsx b/src/components/sections/Experience.jsx index 1912bff..9e06d51 100644 --- a/src/components/sections/Experience.jsx +++ b/src/components/sections/Experience.jsx @@ -1,8 +1,6 @@ import React, { useState, useEffect } from "react"; import clsx from "clsx"; - -const experienceTitle = ["Real Tutor", "Tensorcrypt", "SSC Website"]; -const experience = ["Hello", "World", "!"]; +import Tensorcrypt from "./Tensorcrypt"; const Experience = () => { const [currentSection, setCurrentSection] = useState(0); @@ -16,6 +14,16 @@ const Experience = () => { }, 250); }; + const getText = (index) => { + if (index == 0) { + return ; + } else if (index == 1) { + return ; + } else { + return ; + } + }; + return (
@@ -25,7 +33,7 @@ const Experience = () => {
-
+
@@ -50,7 +58,7 @@ const Experience = () => {
-

14/04/2022

+

Tensorcrypt

14/04/2022

@@ -62,16 +70,11 @@ const Experience = () => {
-

- {experienceTitle[currentSection]} -

-

- {experience[currentSection]} -

+ {getText(currentSection)}
diff --git a/src/components/sections/Tensorcrypt.jsx b/src/components/sections/Tensorcrypt.jsx new file mode 100644 index 0000000..e87eb5e --- /dev/null +++ b/src/components/sections/Tensorcrypt.jsx @@ -0,0 +1,15 @@ +import React from "react"; + +const Tensorcrypt = () => { + return ( +
+

Tensorcrypt (2021 - 2022)

+

+ A secure data-sharing startup funded by CyberASAP, it provides zero + knowledge data sharing services for componanies to share data in a + completely encrypted way, as well as. +

+
+ ); +}; +export default Tensorcrypt;