diff --git a/content/page/home/InTheNews/btc.png b/content/page/home/InTheNews/btc.png new file mode 100644 index 000000000..7b97ffa39 Binary files /dev/null and b/content/page/home/InTheNews/btc.png differ diff --git a/content/page/home/InTheNews/cryptodaily.png b/content/page/home/InTheNews/cryptodaily.png new file mode 100644 index 000000000..208bff174 Binary files /dev/null and b/content/page/home/InTheNews/cryptodaily.png differ diff --git a/content/page/home/InTheNews/forbers.png b/content/page/home/InTheNews/forbers.png new file mode 100644 index 000000000..7a72ec7e6 Binary files /dev/null and b/content/page/home/InTheNews/forbers.png differ diff --git a/content/page/home/InTheNews/grit_daily.png b/content/page/home/InTheNews/grit_daily.png new file mode 100644 index 000000000..f4a6339e0 Binary files /dev/null and b/content/page/home/InTheNews/grit_daily.png differ diff --git a/content/page/home/InTheNews/hackernoon.png b/content/page/home/InTheNews/hackernoon.png new file mode 100644 index 000000000..e80c70341 Binary files /dev/null and b/content/page/home/InTheNews/hackernoon.png differ diff --git a/content/page/home/InTheNews/logos/forbers.png b/content/page/home/InTheNews/logos/forbers.png new file mode 100644 index 000000000..7a72ec7e6 Binary files /dev/null and b/content/page/home/InTheNews/logos/forbers.png differ diff --git a/content/page/home/InTheNews/logos/thecointel.png b/content/page/home/InTheNews/logos/thecointel.png new file mode 100644 index 000000000..c7bee6a64 Binary files /dev/null and b/content/page/home/InTheNews/logos/thecointel.png differ diff --git a/content/page/home/InTheNews/thecointel.png b/content/page/home/InTheNews/thecointel.png new file mode 100644 index 000000000..c7bee6a64 Binary files /dev/null and b/content/page/home/InTheNews/thecointel.png differ diff --git a/content/page/home/cards/card2/card2.md b/content/page/home/cards/card2/card2.md new file mode 100644 index 000000000..5b890ad09 --- /dev/null +++ b/content/page/home/cards/card2/card2.md @@ -0,0 +1,10 @@ +--- +id: card2 +title: TITLE +image: ./image_name.png +button: Button +link: '' #link for button +order: 2 +--- + +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. diff --git a/content/page/home/cards/card2/image_name.png b/content/page/home/cards/card2/image_name.png new file mode 100644 index 000000000..41d321d9a Binary files /dev/null and b/content/page/home/cards/card2/image_name.png differ diff --git a/content/page/home/cards/card3/card3.md b/content/page/home/cards/card3/card3.md new file mode 100644 index 000000000..8a8afa578 --- /dev/null +++ b/content/page/home/cards/card3/card3.md @@ -0,0 +1,10 @@ +--- +id: card3 +title: TITLE +image: ./image_name.png +button: Button +link: '' #link for button +order: 3 +--- + +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. \ No newline at end of file diff --git a/content/page/home/cards/card3/image_name.png b/content/page/home/cards/card3/image_name.png new file mode 100644 index 000000000..41d321d9a Binary files /dev/null and b/content/page/home/cards/card3/image_name.png differ diff --git a/content/page/home/cards/card4/card4.md b/content/page/home/cards/card4/card4.md new file mode 100644 index 000000000..002687c95 --- /dev/null +++ b/content/page/home/cards/card4/card4.md @@ -0,0 +1,10 @@ +--- +id: card4 +title: TITLE +image: ./image_name.png +button: Button +link: '' #link for button +order: 4 +--- + +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. diff --git a/content/page/home/cards/card4/image_name.png b/content/page/home/cards/card4/image_name.png new file mode 100644 index 000000000..41d321d9a Binary files /dev/null and b/content/page/home/cards/card4/image_name.png differ diff --git a/content/page/home/cards/card5/card5.md b/content/page/home/cards/card5/card5.md new file mode 100644 index 000000000..71a885bbc --- /dev/null +++ b/content/page/home/cards/card5/card5.md @@ -0,0 +1,10 @@ +--- +id: card5 +title: TITLE +image: '' +button: Button +link: '' #link for button +order: 5 +--- + +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. diff --git a/content/page/home/cards/card6/card6.md b/content/page/home/cards/card6/card6.md new file mode 100644 index 000000000..0c1bcf17f --- /dev/null +++ b/content/page/home/cards/card6/card6.md @@ -0,0 +1,10 @@ +--- +id: card6 +title: TITLE +image: '' +button: Button +link: '' #link for button +order: 6 +--- + +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. diff --git a/content/page/home/comparison/section1/privacy.png b/content/page/home/comparison/section1/privacy.png new file mode 100644 index 000000000..abbacdc35 Binary files /dev/null and b/content/page/home/comparison/section1/privacy.png differ diff --git a/content/page/home/comparison/section2/equality.png b/content/page/home/comparison/section2/equality.png new file mode 100644 index 000000000..b28582ca2 Binary files /dev/null and b/content/page/home/comparison/section2/equality.png differ diff --git a/content/page/home/comparison/section3/sustainability.png b/content/page/home/comparison/section3/sustainability.png new file mode 100644 index 000000000..5d4e64e01 Binary files /dev/null and b/content/page/home/comparison/section3/sustainability.png differ diff --git a/content/page/home/home_header.png b/content/page/home/home_header.png new file mode 100644 index 000000000..4cfe66fd7 Binary files /dev/null and b/content/page/home/home_header.png differ diff --git a/content/page/home/logos/logo4/flowgen.png b/content/page/home/logos/logo4/flowgen.png new file mode 100644 index 000000000..1fbdaed59 Binary files /dev/null and b/content/page/home/logos/logo4/flowgen.png differ diff --git a/content/page/home/logos/logo5/green_edge.png b/content/page/home/logos/logo5/green_edge.png new file mode 100644 index 000000000..5a16aa872 Binary files /dev/null and b/content/page/home/logos/logo5/green_edge.png differ diff --git a/content/page/home/logos/logo6/digibyte.png b/content/page/home/logos/logo6/digibyte.png new file mode 100644 index 000000000..7a52ed3b5 Binary files /dev/null and b/content/page/home/logos/logo6/digibyte.png differ diff --git a/content/page/home/productData/product1/farming_card.png b/content/page/home/productData/product1/farming_card.png new file mode 100644 index 000000000..5c3738803 Binary files /dev/null and b/content/page/home/productData/product1/farming_card.png differ diff --git a/content/page/home/productData/product1/product1.md b/content/page/home/productData/product1/product1.md new file mode 100644 index 000000000..9232d1de7 --- /dev/null +++ b/content/page/home/productData/product1/product1.md @@ -0,0 +1,7 @@ +--- +id: product1 +title: '' +image : ./farming_card.png +url : https://farming.threefold.io +--- + diff --git a/content/page/home/productData/product2/cloud_card.png b/content/page/home/productData/product2/cloud_card.png new file mode 100644 index 000000000..2b1fb9c63 Binary files /dev/null and b/content/page/home/productData/product2/cloud_card.png differ diff --git a/content/page/home/productData/product2/product2.md b/content/page/home/productData/product2/product2.md new file mode 100644 index 000000000..ce6dea072 --- /dev/null +++ b/content/page/home/productData/product2/product2.md @@ -0,0 +1,7 @@ +--- +id: product2 +title: '' +image : ./cloud_card.png +url : https://cloud.threefold.io +--- + diff --git a/content/page/home/productData/product3/marketplace_card.png b/content/page/home/productData/product3/marketplace_card.png new file mode 100644 index 000000000..75db74a05 Binary files /dev/null and b/content/page/home/productData/product3/marketplace_card.png differ diff --git a/content/page/home/productData/product3/product3.md b/content/page/home/productData/product3/product3.md new file mode 100644 index 000000000..c63af3072 --- /dev/null +++ b/content/page/home/productData/product3/product3.md @@ -0,0 +1,7 @@ +--- +id: product3 +title: '' +image : ./marketplace_card.png +url : https://marketplace.threefold.io/ +--- + diff --git a/content/page/home/productData/product4/product4.md b/content/page/home/productData/product4/product4.md new file mode 100644 index 000000000..7a1bea433 --- /dev/null +++ b/content/page/home/productData/product4/product4.md @@ -0,0 +1,7 @@ +--- +id: product4 +title: '' +image : ./twin_card.png +url : https://twin.threefold.io +--- + diff --git a/content/page/home/productData/product4/twin_card.png b/content/page/home/productData/product4/twin_card.png new file mode 100644 index 000000000..ca7cf6618 Binary files /dev/null and b/content/page/home/productData/product4/twin_card.png differ diff --git a/content/page/home/productData/product5/grid_card.png b/content/page/home/productData/product5/grid_card.png new file mode 100644 index 000000000..4e6d1bf91 Binary files /dev/null and b/content/page/home/productData/product5/grid_card.png differ diff --git a/content/page/home/productData/product5/product5.md b/content/page/home/productData/product5/product5.md new file mode 100644 index 000000000..590714c85 --- /dev/null +++ b/content/page/home/productData/product5/product5.md @@ -0,0 +1,7 @@ +--- +id: product5 +title: '' +image : ./grid_card.png +url : https://threefold.tech +--- + diff --git a/content/page/home/productData/product6/aci_card.png b/content/page/home/productData/product6/aci_card.png new file mode 100644 index 000000000..d28f79b49 Binary files /dev/null and b/content/page/home/productData/product6/aci_card.png differ diff --git a/content/page/home/productData/product6/product6.md b/content/page/home/productData/product6/product6.md new file mode 100644 index 000000000..f434b74b0 --- /dev/null +++ b/content/page/home/productData/product6/product6.md @@ -0,0 +1,7 @@ +--- +id: product6 +title: '' +image : ./aci_card.png +url : https://consciousinternet.org +--- + diff --git a/content/page/home/token_old.png b/content/page/home/token_old.png new file mode 100644 index 000000000..8befd2cdb Binary files /dev/null and b/content/page/home/token_old.png differ diff --git a/content/site/navigation.json b/content/site/navigation.json new file mode 100644 index 000000000..a069dae25 --- /dev/null +++ b/content/site/navigation.json @@ -0,0 +1,42 @@ +{ + "headerNavigation": [ + { + "name": "About", + "link": "/about", + "external": false, + "expandable": false + }, + { + "name": "Projects", + "link": "/projects", + "external": false, + "expandable": true + }, + { + "name": "People", + "link": "/people", + "external": false, + "expandable": true + }, + { + "name": "Blog", + "link": "/blog", + "external": false, + "expandable": false + }, + { + "name": "NewsRoom", + "link": "/news", + "external": false, + "expandable": false + } + ], + "footerNavigation": [ + { + "name": "", + "link": "", + "external": false, + "expandable": false + } + ] +} diff --git a/content/site/social.json b/content/site/social.json new file mode 100644 index 000000000..c19d34b30 --- /dev/null +++ b/content/site/social.json @@ -0,0 +1,8 @@ +{ + "social": [ + { + "icon": "linkedin", + "link": "https://www.linkedin.com/company/threefold-foundation/" + } + ] +} \ No newline at end of file diff --git a/filter.py b/filter.py new file mode 100644 index 000000000..1798838e6 --- /dev/null +++ b/filter.py @@ -0,0 +1,50 @@ +import toml +import os +import shutil + +def getListOfFiles(dirName): + # create a list of file and sub directories + # names in the given directory + listOfFile = os.listdir(dirName) + allFiles = list() + # Iterate over all the entries + for entry in listOfFile: + # Create full path + fullPath = os.path.join(dirName, entry) + # If entry is a directory then get the list of files in this directory + if os.path.isdir(fullPath): + allFiles = allFiles + getListOfFiles(fullPath) + else: + allFiles.append(fullPath) + + return allFiles +def do(): + files = getListOfFiles("content") + for file in files: + if not file.endswith(".md"): + continue + + t = "" + start = False + + with open(file) as f: + for line in f: + if line.startswith("---"): + if not start: + start = True + continue + else: + break + + if line.startswith("private:"): + if line.replace("private:", "").strip() == "1": + shutil.rmtree(os.path.abspath(os.path.dirname(file))) + else: + continue + + + + + +if __name__ == "__main__": + do() \ No newline at end of file diff --git a/manual/README.md b/manual/README.md new file mode 100644 index 000000000..d910e0a3f --- /dev/null +++ b/manual/README.md @@ -0,0 +1,118 @@ +# metadata + +## metadata per project page + +``` +--- +id: seeds +title: Planet Regenerative Economy +status: planned, internal, test, public +startdate: 2021-03-01 +countries: +cities: +rank: 1 +excerpt: +created: 2019-03-20 +image: ./seeds.png +image_caption: seeds +logo: ./logo.png +author: kristine_vilnite +members: franz_josef_allmayer +websites: +tags: digitaltwin, grid, cloud, farming +private: 0 +potential: +linkedin: +--- +``` + +- id: uniquely chosen name, which should not change over time +- title which shows on overview +- status: planned, internal, test, public +- startdate: when then project will start and be available on crystaltwin or tfgrid +- countries: where is the team, can be comma separated list +- cities: ... +- rank: 1 is lowest prio, 5 highest (what to show first) +- excerpt: short content to show in overview (DONT MAKE IT TOO LONG) +- created: when the project was registered/created +- image: +- image caption: +- logo: +- author: 1 or more persons who created the content +- members: 1 or more persons behind project (the members of the project, use the id) +- websites: +- tags: generic to allow us to search & show. Choose from: + - digitaltwin : for project who will use digital twin as backend + - grid : for project will use the grid + - data_center : for projects that will use the VDC (Cloud) + - tech : techological solution + - security : safety layer projects + - payment : token provider, issuer + - farming : for projects that are farmers +- private: + - 0 : projects that are visible to all + - 1 : projects that we keep private +- potential: describe the potential for a project e.g. 1m users in X months, X TB of storage, ... can use multiple lanes +- linkedin: link to projects linkedin page + +the section for vimeo: +``` +
+ + + +
+ +``` + +to use breaks do ```enter
enter``` + +## metadata per person page + +``` +--- +id: kristine_vilnite +name: Kristine Vilnite +rank: 4 +memberships: foundation (threefold_tech, project, ambassador, farmer, gridcouncil.. see other options below) +bio: info about the person (values, mission, why threefold, experience, current occupation etc.) +excerpt: very short line highliting person (from description) +linkedin: https://www.linkedin.com/... +websites: https://threefold.io/, https://www.mazraa.io/ +image: ./kristine_vilnite.png +project_ids: threefold_foundation +countries: Latvia +cities: Riga +private: 0 +--- +``` + +- meberships, choose from: + - threefold_foundation, threefold_tech, ambassador, farmer, project, guardian, techcounil, gridcouncil +- bio: business experience/skills +- project_ids: which projects person is part of +- private: + +the section for vimeo: +``` +
+ + + +
+``` + + + +# examples + +## project + + +see https://github.com/threefoldtech/www_partners_v2/blob/main/content/project/vlinder/vlinder.md + +## person + +exammple: https://github.com/threefoldtech/www_partners_v2/blob/main/content/person/adnan_fatayerji/adnan_fatayerji.md + + diff --git a/manual/contribute.md b/manual/contribute.md new file mode 100644 index 000000000..e89e69e77 --- /dev/null +++ b/manual/contribute.md @@ -0,0 +1,3 @@ +# how to contribute + +... TODO diff --git a/src/assets/images/TFN_black.svg b/src/assets/images/TFN_black.svg new file mode 100644 index 000000000..f787872d3 --- /dev/null +++ b/src/assets/images/TFN_black.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/templates/Projects.vue b/src/templates/Projects.vue new file mode 100644 index 000000000..4f1247bc2 --- /dev/null +++ b/src/templates/Projects.vue @@ -0,0 +1,80 @@ + + + + +query ($private: Int){ + entries: allProject (sortBy: "rank", order: DESC, filter: { private: { ne: $private }}, tags: { id: {in: ["tech", "foundation"]}}){ + totalCount + edges { + node { + title + path + members { + id + name + image(width:64, height:64, fit:inside) + path + }, + rank + linkedin + excerpt + image(width:800) + path + timeToRead + logo + } + } + } + + memberships: allProjectTag{ + edges{ + node{ + id + title + path + } + } + } +} + + + + diff --git a/src/templates/Team.vue b/src/templates/Team.vue new file mode 100644 index 000000000..a6fe728d3 --- /dev/null +++ b/src/templates/Team.vue @@ -0,0 +1,69 @@ + + + +query ($private: Int){ + entries: allPerson (sortBy: "rank", order: DESC, filter: { private: { ne: $private }, memberships: { id: {in: ["foundation", "tech"]}}}){ + totalCount + edges { + node { + path + content + excerpt + name + rank + bio + linkedin + websites + countries + cities + image(width:800) + private + } + } + } + + memberships: allMembership(filter: {title: {in: ["foundation", "tech"]}}){ + edges{ + node{ + id + title + path + } + } + } +} + + +