From ed9ee513bf2068b22f68472e32b971b3a54746d7 Mon Sep 17 00:00:00 2001
From: 0xGorilla <84932007+0xGorilla@users.noreply.github.com>
Date: Sat, 1 Jul 2023 16:24:01 +0200
Subject: [PATCH] refactor: data (#43)
* refactor: files renaming
* refactor: simplified jsons
* fix: meta text
* fix: skeletor date
* fix: updated member descriptions
---
index.html | 6 +-
src/data/blog.json | 34 +++++
src/data/posts.json | 36 -----
src/data/projects.json | 4 +-
src/data/team.json | 142 +++++++++++++++++
src/data/teamMembers.json | 144 ------------------
src/pages/Blog/Blog.tsx | 2 +-
src/pages/Blog/Posts/index.tsx | 2 +-
.../Landing/ContentSection/ContentSection.tsx | 4 +-
src/pages/Landing/TeamSection/TeamSection.tsx | 2 +-
src/pages/Portfolio/index.tsx | 6 +-
.../Team/TeamGrid.tsx/TeamGrid.styles.tsx | 2 +-
src/pages/Team/TeamGrid.tsx/index.tsx | 2 +-
13 files changed, 191 insertions(+), 195 deletions(-)
create mode 100644 src/data/blog.json
delete mode 100644 src/data/posts.json
create mode 100644 src/data/team.json
delete mode 100644 src/data/teamMembers.json
diff --git a/index.html b/index.html
index 8dcb649b..0d0cd71b 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,7 @@
@@ -16,7 +16,7 @@
@@ -25,7 +25,7 @@
diff --git a/src/data/blog.json b/src/data/blog.json
new file mode 100644
index 00000000..df04e268
--- /dev/null
+++ b/src/data/blog.json
@@ -0,0 +1,34 @@
+[
+ {
+ "id": "a-mev-racing-story",
+ "name": "A (MEV) racing story",
+ "description": "What do we know about the dark forest 2.0?",
+ "date": "05/04/23",
+ "tags": ["MEV", "Flashbots"],
+ "image": "https://images.unsplash.com/photo-1536909526839-8f10e29ba80c?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=7200"
+ },
+ {
+ "id": "oracle-manipulation-101",
+ "name": "Oracle Manipulation 101",
+ "description": "What does an Uniswap v3 oracle manipulation look like?",
+ "date": "12/26/22",
+ "tags": ["Price", "Oracles", "Uniswap V3"],
+ "image": "https://price-oracle.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9297e650-550e-4395-97f6-84ea64d688fd%2Fimage.jpeg?table=block&id=cbcea67b-7796-4969-9543-7907d3b1b4ba&spaceId=de552277-5ae2-4d88-932f-dd538421d024&width=2000&userId=&cache=v2"
+ },
+ {
+ "id": "oracle-manipulation-101-math-edition",
+ "name": "Oracle Manipulation 101 (Math edition)",
+ "description": "What does an Uniswap v3 oracle manipulation look like?",
+ "date": "12/26/22",
+ "tags": ["Price", "Oracles", "Uniswap V3", "Math"],
+ "image": "https://price-oracle.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F645a9912-e67f-4cca-a108-4d9ea0dbc64c%2Fimage.png?table=block&id=e9ceba01-98dc-4cc3-84bb-7de919806a9c&spaceId=de552277-5ae2-4d88-932f-dd538421d024&width=1360&userId=&cache=v2"
+ },
+ {
+ "id": "rip-oracles",
+ "name": "RIP, Oracles",
+ "description": "Status quo: Current dangers and how to solve it.",
+ "date": "12/26/22",
+ "tags": ["Price", "Oracles"],
+ "image": "https://mirror-media.imgix.net/publication-images/Go3xqXtpWA1ze8b-ULayp.png?height=1440&width=2880&h=1440&w=2880&auto=compress"
+ }
+]
diff --git a/src/data/posts.json b/src/data/posts.json
deleted file mode 100644
index 3fb430e9..00000000
--- a/src/data/posts.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "posts": [
- {
- "id": "a-mev-racing-story",
- "name": "A (MEV) racing story",
- "description": "What do we know about the dark forest 2.0?",
- "date": "05/04/23",
- "tags": ["MEV", "Flashbots"],
- "image": "https://images.unsplash.com/photo-1536909526839-8f10e29ba80c?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=7200"
- },
- {
- "id": "oracle-manipulation-101",
- "name": "Oracle Manipulation 101",
- "description": "What does an Uniswap v3 oracle manipulation look like?",
- "date": "12/26/22",
- "tags": ["Price", "Oracles", "Uniswap V3"],
- "image": "https://price-oracle.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9297e650-550e-4395-97f6-84ea64d688fd%2Fimage.jpeg?table=block&id=cbcea67b-7796-4969-9543-7907d3b1b4ba&spaceId=de552277-5ae2-4d88-932f-dd538421d024&width=2000&userId=&cache=v2"
- },
- {
- "id": "oracle-manipulation-101-math-edition",
- "name": "Oracle Manipulation 101 (Math edition)",
- "description": "What does an Uniswap v3 oracle manipulation look like?",
- "date": "12/26/22",
- "tags": ["Price", "Oracles", "Uniswap V3", "Math"],
- "image": "https://price-oracle.notion.site/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F645a9912-e67f-4cca-a108-4d9ea0dbc64c%2Fimage.png?table=block&id=e9ceba01-98dc-4cc3-84bb-7de919806a9c&spaceId=de552277-5ae2-4d88-932f-dd538421d024&width=1360&userId=&cache=v2"
- },
- {
- "id": "rip-oracles",
- "name": "RIP, Oracles",
- "description": "Status quo: Current dangers and how to solve it.",
- "date": "12/26/22",
- "tags": ["Price", "Oracles"],
- "image": "https://mirror-media.imgix.net/publication-images/Go3xqXtpWA1ze8b-ULayp.png?height=1440&width=2880&h=1440&w=2880&auto=compress"
- }
- ]
-}
diff --git a/src/data/projects.json b/src/data/projects.json
index 76f36cad..cc35bd1d 100644
--- a/src/data/projects.json
+++ b/src/data/projects.json
@@ -1,5 +1,5 @@
{
- "partner_projects": [
+ "partnerProjects": [
{
"name": "OpOO (with Optimism)",
"description": "Modular optimistic oracle solution, built alongside Optimism. Enables secure, permissionless delivery of real-world data and attestations."
@@ -48,7 +48,7 @@
"github": "https://github.com/sudoswap/lssvm/pull/35"
}
],
- "public_goods": [
+ "publicGoods": [
{
"name": "Price Oracle",
"description": "Price is a permissionless and reliable oracle solution that provides safe token price quotes by leveraging Uniswap V3 and automation. The team was responsible for the architecture and tokenomics design, UI, off-chain scripts, and smart contract development.",
diff --git a/src/data/team.json b/src/data/team.json
new file mode 100644
index 00000000..e3fc7d0c
--- /dev/null
+++ b/src/data/team.json
@@ -0,0 +1,142 @@
+[
+ {
+ "name": "Matias Nisenson",
+ "position": "Co-founder & CEO",
+ "description": "- 3x Startup founder & CEO\n- Founder & GP at a $50m deep-tech VC\n\nFun fact: Used to run a tenebrio molitor farm and has become somewhat of an expert on breeding mealworms. Bet you didn't see that one coming!"
+ },
+ {
+ "name": "Pepo",
+ "position": "Co-founder & Strategist",
+ "description": "- Your hot-takes friend from DeFi summer."
+ },
+ {
+ "name": "Skeletor Spaceman",
+ "position": "Co-founder & Architect",
+ "description": "- First contract deployed on 25/07/2017\n- Likes breaking things\n\nFun fact: Never went to space."
+ },
+ {
+ "name": "0xGorilla",
+ "position": "CTO",
+ "description": "- 10+ years in Software Development\n- Addicted to scalability and conventions\n\nFun fact: His OCD forces him to make the dishwasher look like a Tetris game!"
+ },
+ {
+ "name": "Billi",
+ "position": "COO",
+ "description": "- Addicted to meetings and context switching\n\nFun fact: Loves scaring buns. Have you seen one around?."
+ },
+ {
+ "name": "Parti",
+ "position": "Lead Researcher",
+ "description": "- Managed to get a PhD in Physics, specializing in quantum information theory\n- Changed particles for nodes now: \"Pls parti, stop asking about the Beacon Chain's entropy.\"\n- Average chaos enjoyer\n- Definitely not a Furry\nSad fact: Die-hard Boca Juniors fan."
+ },
+ {
+ "name": "Joxes",
+ "position": "Researcher",
+ "description": "- Background in Engineering\n- Incubated four different communities to concentrate knowledge on Ethereum\n\nFun fact: Although I love life, I love commenting on DeFi and Ethereum's scaling solutions even more."
+ },
+ {
+ "name": "0xMono",
+ "position": "Researcher",
+ "description": "- Studies IT infrastructure\n- Defi research and scalability enthusiast\n\nFun fact: I also spend my spare time in DeFi."
+ },
+ {
+ "name": "Wei3er Hase",
+ "position": "Developer",
+ "description": "- Just a bun from Görli 🥕\n\nFun fact: afraid of bugs and owls."
+ },
+ {
+ "name": "NG",
+ "position": "Developer",
+ "description": "- Peaked at 5.6k MMR in Dota 2 back when top 1 had 7.5k. Things spiraled down from there\n- Reached 1800 ELO in chess.com to never play a ranked game again due to 1800 looking nicer than 1700\n\nFun fact: Can recite words backwards fast. This is due to OCD. Help."
+ },
+ {
+ "name": "Gas1cent",
+ "position": "Developer",
+ "description": "- Watched over a thousand movies, vaguely remember 4 of them\n- A big nap2earn proponent\n\nFun fact: Jail dropout."
+ },
+ {
+ "name": "DrGorilla",
+ "position": "Developer",
+ "description": "- Random diploma collector\n- Assembly fanatic (Huff is cheating)\n\nFun fact: I got 99 issues and a bitshift ain't one."
+ },
+ {
+ "name": "Ashitaka",
+ "position": "Developer",
+ "description": "- Solidity dev\n- Studied Telecommunications engineering and philosophy\n\nFun fact: Pro player of magic the gathering."
+ },
+ {
+ "name": "0xJabberwock",
+ "position": "Developer",
+ "description": "- Recruited directly by Wonderland\n- Codes even his life\n\nFun fact: Holds a dumbbell everyday."
+ },
+ {
+ "name": "Shaito",
+ "position": "Developer",
+ "description": "- Flying bison addicted crypto and building stuff\n- Normie dev turned Solidity enjoyor\n\nFun fact: Have been rewatching avatar the last airbender for the past 7 years."
+ },
+ {
+ "name": "Gotzen",
+ "position": "Developer",
+ "description": "- Compulsive optimizer\n- Another University deserter\n\nFun fact: Really good at voice impressions."
+ },
+ {
+ "name": "Turtlemoji",
+ "position": "Developer",
+ "description": "- Co-created and helped in multiple onchain and normie products/companies\n- Loves swimming, video games, anime, science and to debate anything"
+ },
+ {
+ "name": "0xRaccoon",
+ "position": "Developer",
+ "description": "- Systems engineer who studied at UTN\n- Believes that adaptability is an important feature\n\nFun fact: Like to travel and do outdoor activities."
+ },
+ {
+ "name": "0xAustrian",
+ "position": "Developer",
+ "description": "- Studied Software Developer\n- Learned Solidity because he was bored at work\n\nFun fact: 90's horror movies fan."
+ },
+ {
+ "name": "OneTony",
+ "position": "Developer",
+ "description": "TBD"
+ },
+ {
+ "name": "Ardy",
+ "position": "Developer",
+ "description": "- Background in Engineering\n- Passionate about mathematics and philosophy\n\nFun fact: Bonsaist apprentice 🌳."
+ },
+ {
+ "name": "Excalibor",
+ "position": "Developer",
+ "description": "- Decentralization maxi\n- Loves game theory\n\nFun fact: Has a skydiving license."
+ },
+ {
+ "name": "Discotech",
+ "position": "Developer",
+ "description": "TBD"
+ },
+ {
+ "name": "0xBa5ed",
+ "position": "Developer",
+ "description": "TBD"
+ },
+ {
+ "name": "Dristpunk",
+ "position": "Developer",
+ "description": "- Escaped ML engineering\n- Loves audits but hates doing them\n\nFun fact: I do YouTube videos."
+ },
+ {
+ "name": "Moebius",
+ "position": "Developer",
+ "description": "TBD"
+ },
+ {
+ "name": "Rex (m-r-g-t)",
+ "position": "Data Analyst",
+ "description": "TBD"
+ },
+ {
+ "name": "Shade",
+ "position": "Efficiency Evangelist",
+ "description": "- Amateur Organizational Theorist\n- Prefers reading over any other activity\n\nFun fact: Am actually a tree on the internet."
+ }
+]
\ No newline at end of file
diff --git a/src/data/teamMembers.json b/src/data/teamMembers.json
deleted file mode 100644
index 74a40502..00000000
--- a/src/data/teamMembers.json
+++ /dev/null
@@ -1,144 +0,0 @@
-{
- "members": [
- {
- "name": "Matias Nisenson",
- "position": "Co-founder & CEO",
- "description": "- 3x Startup founder & CEO\n- Founder & GP at a $50m deep-tech VC\n\nFun fact: Used to run a tenebrio molitor farm and has become somewhat of an expert on breeding mealworms. Bet you didn't see that one coming!"
- },
- {
- "name": "Pepo",
- "position": "Co-founder & Strategist",
- "description": "- Your hot-takes friend from DeFi summer"
- },
- {
- "name": "Skeletor Spaceman",
- "position": "Co-founder & Architect",
- "description": "- First contract deployed on 07/25/2017\n- Likes breaking things\n\nFun fact: Never went to space"
- },
- {
- "name": "0xGorilla",
- "position": "CTO",
- "description": "- 10+ years in Software Development\n- Addicted to scalability and conventions\n\nFun fact: His OCD forces him to make the dishwasher look like a Tetris game!"
- },
- {
- "name": "Billi",
- "position": "COO",
- "description": "- Addicted to meetings and context switching\n\nFun fact: Loves scaring buns. Have you seen one around?"
- },
- {
- "name": "Parti",
- "position": "Lead Researcher",
- "description": "- Managed to get a PhD in Physics, specializing in quantum information theory.\n- Changed particles for nodes now: \"Pls parti, stop asking about the Beacon Chain's entropy.\"\n- Average chaos enjoyer.\n- Definitely not a Furry.\nSad fact: Die-hard Boca Juniors fan."
- },
- {
- "name": "Joxes",
- "position": "Researcher",
- "description": "- Background in Engineering\n- Incubated four different communities to concentrate knowledge on Ethereum\n\nFun fact: Yes, I enjoy life but I love to comment on DeFi and Ethereum's scaling solutions all the day"
- },
- {
- "name": "0xMono",
- "position": "Researcher",
- "description": "- IT infrastructure study.\n- Defi research and scalability.\n\nFun fact: In my spare time I also poke my nose into Defi."
- },
- {
- "name": "Wei3er Hase",
- "position": "Developer",
- "description": "- Just a bun from Görli 🥕\n\nFun fact: afraid of bugs and owls"
- },
- {
- "name": "NG",
- "position": "Developer",
- "description": "- Peaked at 5.6k MMR in Dota 2 back when top 1 had 7.5k. Things spiraled down from there.\n- Reached 1800 ELO in chess.com to never play a ranked game again due to 1800 looking nicer than 1700.\n\nFun fact: Can recite words backwards fast. This is due to OCD. Help"
- },
- {
- "name": "Gas1cent",
- "position": "Developer",
- "description": "- Watched over a thousand movies, vaguely remember 4 of them.\n- A big nap2earn proponent.\n\nFun fact: Jail dropout."
- },
- {
- "name": "DrGorilla",
- "position": "Developer",
- "description": "- Random diploma collector.\n- Assembly fanatic (Huff is cheating).\n\nFun fact: I got 99 issues and a bitshift ain't one."
- },
- {
- "name": "Ashitaka",
- "position": "Developer",
- "description": "- Solidity dev\n- Studied Telecommunications engineering and philosophy\n\nFun fact: Pro player of magic the gathering"
- },
- {
- "name": "0xJabberwock",
- "position": "Developer",
- "description": "- Recruited directly by Wonderland\n- Codes even his life\n\nFun fact: Holds a dumbbell everyday"
- },
- {
- "name": "Shaito",
- "position": "Developer",
- "description": "- Flying bison addicted crypto and building stuff\n- Normie dev turned Solidity enjoyor\n\nFun fact: Have been rewatching avatar the last airbender for the past 7 years"
- },
- {
- "name": "Gotzen",
- "position": "Developer",
- "description": "- Compulsive optimizer.\n- Another University deserter.\n\nFun fact: Really good at voice impressions."
- },
- {
- "name": "Turtlemoji",
- "position": "Developer",
- "description": "- Co-created and helped in multiple onchain and normie products/companies.\n- Loves swimming, video games, anime, science and to debate anything.\n\nFun fact: Doesn't have medical insurance"
- },
- {
- "name": "0xRaccoon",
- "position": "Developer",
- "description": "- Systems engineer who studied at UTN.\n- Believes that adaptability is an important feature.\n\nFun fact: Like to travel and do outdoor activities."
- },
- {
- "name": "0xAustrian",
- "position": "Developer",
- "description": "- Studied Software Developer\n- Learned Solidity because he was bored at work\n\nFun fact: 90's horror movies fan"
- },
- {
- "name": "OneTony",
- "position": "Developer",
- "description": "TBD"
- },
- {
- "name": "Ardy",
- "position": "Developer",
- "description": "- Background in Engineering\n- Passionate about mathematics and philosophy\n\nFun fact: bonsaist apprentice 🌳"
- },
- {
- "name": "Excalibor",
- "position": "Developer",
- "description": "- Decentralization maxi\n- Loves game theory\n\nFun fact: has a skydiving license"
- },
- {
- "name": "Discotech",
- "position": "Developer",
- "description": "TBD"
- },
- {
- "name": "0xBa5ed",
- "position": "Developer",
- "description": "TBD"
- },
- {
- "name": "Dristpunk",
- "position": "Developer",
- "description": "TBD"
- },
- {
- "name": "Moebius",
- "position": "Developer",
- "description": "TBD"
- },
- {
- "name": "Rex (m-r-g-t)",
- "position": "Data Analyst",
- "description": "TBD"
- },
- {
- "name": "Shade",
- "position": "Efficiency Evangelist",
- "description": "- Amateur Organizational Theorist\n- Prefers reading over any other activity\n\nFun fact: Am actually a tree on the internet."
- }
- ]
-}
diff --git a/src/pages/Blog/Blog.tsx b/src/pages/Blog/Blog.tsx
index 7b1fc9b8..7e2ccb73 100644
--- a/src/pages/Blog/Blog.tsx
+++ b/src/pages/Blog/Blog.tsx
@@ -1,6 +1,6 @@
import { useNavigate } from 'react-router-dom';
-import { posts } from '~/data/posts.json';
+import posts from '~/data/blog.json';
import {
PageContainer,
Title,
diff --git a/src/pages/Blog/Posts/index.tsx b/src/pages/Blog/Posts/index.tsx
index c4ac6b91..9213dd6e 100644
--- a/src/pages/Blog/Posts/index.tsx
+++ b/src/pages/Blog/Posts/index.tsx
@@ -7,7 +7,7 @@ import ReactMarkdown from 'react-markdown';
import { CSSTransition } from 'react-transition-group';
import { Background, Title, Date, Content, BackgroundImage } from './Posts.styles';
-import { posts } from '~/data/posts.json';
+import posts from '~/data/blog.json';
export function Posts() {
const { id } = useParams();
diff --git a/src/pages/Landing/ContentSection/ContentSection.tsx b/src/pages/Landing/ContentSection/ContentSection.tsx
index 16414d1d..cf1dfef1 100644
--- a/src/pages/Landing/ContentSection/ContentSection.tsx
+++ b/src/pages/Landing/ContentSection/ContentSection.tsx
@@ -25,7 +25,7 @@ import MobileStar from '~/assets/lore-stars.svg';
import Flower from '~/assets/flower.svg';
import ConeBackground from '~/assets/landing_bg.png';
import { Link } from '~/components/common';
-import { partner_projects } from '~/data/projects.json';
+import { partnerProjects } from '~/data/projects.json';
export function ContentSection() {
return (
@@ -59,7 +59,7 @@ export function ContentSection() {
-
+
portfolio
diff --git a/src/pages/Landing/TeamSection/TeamSection.tsx b/src/pages/Landing/TeamSection/TeamSection.tsx
index 11f27161..9e5f03d0 100644
--- a/src/pages/Landing/TeamSection/TeamSection.tsx
+++ b/src/pages/Landing/TeamSection/TeamSection.tsx
@@ -13,7 +13,7 @@ import {
} from './TeamSection.styles';
import Crown from '~/assets/crown_icon.svg';
import Key from '~/assets/key.png';
-import { members } from '~/data/teamMembers.json';
+import members from '~/data/team.json';
export function Team() {
return (
diff --git a/src/pages/Portfolio/index.tsx b/src/pages/Portfolio/index.tsx
index 224e1fc9..ebecba4b 100644
--- a/src/pages/Portfolio/index.tsx
+++ b/src/pages/Portfolio/index.tsx
@@ -15,7 +15,7 @@ import {
} from './Portfolio.styles';
import { ProjectsList } from './ProjectsList';
import { Divider } from './ProjectsList/ProjectsList.styles';
-import { partner_projects, public_goods } from '~/data/projects.json';
+import { partnerProjects, publicGoods } from '~/data/projects.json';
import VIDEO_CHROME from '~/assets/videos/portfolio.webm';
import VIDEO_SAFARI from '~/assets/videos/portfolio.mp4';
@@ -45,7 +45,7 @@ export function Portfolio() {
-
+
@@ -53,7 +53,7 @@ export function Portfolio() {
-
+
>
diff --git a/src/pages/Team/TeamGrid.tsx/TeamGrid.styles.tsx b/src/pages/Team/TeamGrid.tsx/TeamGrid.styles.tsx
index 8f11f4a6..3367965f 100644
--- a/src/pages/Team/TeamGrid.tsx/TeamGrid.styles.tsx
+++ b/src/pages/Team/TeamGrid.tsx/TeamGrid.styles.tsx
@@ -11,7 +11,7 @@ import {
} from '~/components/common';
import KEY from '~/assets/join-key.svg';
import EYE from '~/assets/eye.svg';
-import { members } from '~/data/teamMembers.json';
+import members from '~/data/team.json';
export const Container = styled.div`
width: 100%;
diff --git a/src/pages/Team/TeamGrid.tsx/index.tsx b/src/pages/Team/TeamGrid.tsx/index.tsx
index ad0a5130..87b411b0 100644
--- a/src/pages/Team/TeamGrid.tsx/index.tsx
+++ b/src/pages/Team/TeamGrid.tsx/index.tsx
@@ -22,7 +22,7 @@ import {
// Social,
// SImg,
} from './TeamGrid.styles';
-import { members } from '~/data/teamMembers.json';
+import members from '~/data/team.json';
// import TwitterIcon from '/img/footer/twitter-icon.svg';
// import GithubIcon from '/img/footer/github-icon.svg';