From 4dbc98254f07b89e5168a879e87957a0b29ad908 Mon Sep 17 00:00:00 2001 From: shanejonas Date: Thu, 11 Jul 2019 19:56:57 -0700 Subject: [PATCH] fix: replace defaults with Pristine --- .pristine/post-install.sh | 12 ++++----- README.md | 34 ++++++++++++------------ docs/.vuepress/config.js | 16 +++++------ docs/.vuepress/theme/Layout.vue | 2 +- docs/.vuepress/theme/components/Hero.vue | 4 +-- docs/developers/index.md | 2 +- docs/index.md | 12 ++++----- 7 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.pristine/post-install.sh b/.pristine/post-install.sh index f36a366..5f61d35 100755 --- a/.pristine/post-install.sh +++ b/.pristine/post-install.sh @@ -5,8 +5,8 @@ RED="\033[0;31m" NC="\033[0m" # No Color defaultWebsiteName="pristine.builders" defaultName="Pristine" -defaultLightLogo="https://raw.githubusercontent.com/etclabscore/jade-media-assets/master/jade-logo-light/jade-logo-light%20(PNG)/256x256.png" -defaultDarkLogo="https://raw.githubusercontent.com/etclabscore/jade-media-assets/master/jade-logo-dark/jade-logo-dark%20(PNG)/256x256.png" +defaultLightLogo="LIGHT_LOGO_URL" +defaultDarkLogo="DARK_LOGO_URL" echo "" echo "💎 Welcome Pristine Website Post-Install setup! 💎" @@ -36,14 +36,14 @@ read darkLogo echo "" # using ~ in place of / to avoid slashes in package names conflicting with sed -find ./docs/**/* -type f -exec sed -i "" -e "s~${defaultWebsiteName}~${websiteName}~g" {} \; -find ./docs/**/* -type f -exec sed -i "" -e "s~${defaultName}~${name}~g" {} \; +grep -rl "${defaultWebsiteName}" docs | xargs sed -i "" -e "s~${defaultWebsiteName}~${websiteName}~g" +grep -rl "${defaultName}" docs | xargs sed -i "" -e "s~${defaultName}~${name}~g" sed -i "" -e "s~${defaultWebsiteName}~${websiteName}~g" README.md sed -i "" -e "s~${defaultName}~${name}~g" README.md -find ./docs/**/* -type f -exec sed -i "" -e "s~${defaultDarkLogo}~${darkLogo}~g" {} \; -find ./docs/**/* -type f -exec sed -i "" -e "s~${defaultLightLogo}~${lightLogo}~g" {} \; +grep -rl "${defaultDarkLogo}" docs | xargs sed -i "" -e "s~${defaultDarkLogo}~${darkLogo}~g" +grep -rl "${defaultLightLogo}" docs | xargs sed -i "" -e "s~${defaultLightLogo}~${lightLogo}~g" echo -e "${BLUE} 🚀 Project Setup Completed. 🚀" diff --git a/README.md b/README.md index 688ff52..6c2ed81 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,28 @@

-

jade logo

-

đź‘‹ Welcome to jade.builders!

+

jade logo

+

đź‘‹ Welcome to pristine.builders!

-[jade.builders](https://jade.builders) is a primary online resource for the Jade community. It is improved and changed over time through the contributions of community members who submit content, give feedback, or volunteer their time to managing its evolution. +[pristine.builders](https://pristine.builders) is a primary online resource for the Pristine community. It is improved and changed over time through the contributions of community members who submit content, give feedback, or volunteer their time to managing its evolution. -If you’re interested in helping to improve [jade.builders](https://jade.builders), start here. This contribution guide will help you get started. +If you’re interested in helping to improve [pristine.builders](https://pristine.builders), start here. This contribution guide will help you get started.
-### jade.builders’s design and content is guided by three core principles: +### pristine.builders’s design and content is guided by three core principles: -**🌏 1. jade.builders is a portal to resources created by the community** +**🌏 1. pristine.builders is a portal to resources created by the community** - It will never be "encyclopedia jade" - we can’t add every link, or cover every topic - Rather, its purpose is to direct people to community-built resources - - jade.builders will always have minimal native-content + - pristine.builders will always have minimal native-content -**🛠 2. jade.builders is a work in progress, because Jade is a work in progress** +**🛠 2. pristine.builders is a work in progress, because Pristine is a work in progress** - We expect it to change over time, including both content and design - To accommodate long-term changes, the site has a simple modular structure that will let us add or remove subpages -**🧙 3. jade.builders is not a typical product website** - - jade.builders is a representation of our Jade community, and a starting point for those who want to join it, use it, and contribute to it. - - jade.builders should not be a traditional product website. There is no sales pitch. +**🧙 3. pristine.builders is not a typical product website** + - pristine.builders is a representation of our Pristine community, and a starting point for those who want to join it, use it, and contribute to it. + - pristine.builders should not be a traditional product website. There is no sales pitch. ## How can I contribute? @@ -30,8 +30,8 @@ Keeping in mind the above core principles, there are many ways you can get invol - Check out the issues page and see if there are any you can help with! - Submit links to add to specific sections that are incomplete, by submitting a pull-request -- Identify out-of-date information on jade.builders (or linked to from jade.builders) and submit a pull-request -- Suggest ideas for new subpages, new content, or other ways to improve jade.builders by opening an issue. +- Identify out-of-date information on pristine.builders (or linked to from pristine.builders) and submit a pull-request +- Suggest ideas for new subpages, new content, or other ways to improve pristine.builders by opening an issue. ## Notes on individual sub-pages: @@ -40,22 +40,22 @@ If you want to suggest changes to particular sub-pages, keep in mind the purpose ### 🛠 Developers -- The purpose of this page is to collect core technical resources helpful to someone building on Jade +- The purpose of this page is to collect core technical resources helpful to someone building on Pristine - Information should be kept as up to date as possible, as new tools appear, standards are adopted, or material is deprecated - This page will never be completely comprehensive: the goal is to list the most popular or widely used resources or tools. ### 📚 Learn -- The purpose of this page is to collect educational material about Jade on a variety of topics +- The purpose of this page is to collect educational material about Pristine on a variety of topics - Some information will be technical in nature, but it will also include non-technical information, or articles that may serve as inspiration to community members ### 📱 Use -- This page is for the person who wants to get started using Jade, but doesn’t know how. +- This page is for the person who wants to get started using Pristine, but doesn’t know how. ### 👋 Beginners -- The purpose of this page is to offer a coherent answer to the most basic questions about Jade: what is it, and why does it exist? +- The purpose of this page is to offer a coherent answer to the most basic questions about Pristine: what is it, and why does it exist? - Because this page is very simple and does not contain much content, changes to the text will be limited. - Useful contributions include: suggesting better “beginner” content to link at the bottom of the page, or suggesting images that could be added to the page to break up the text. diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 409a697..14e7513 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,9 +1,9 @@ module.exports = { - title: 'jade.builders', - description: 'Jade resources', + title: 'pristine.builders', + description: 'Pristine resources', themeConfig: { nav: [ - { text: 'jade.builders', link: '/' }, + { text: 'pristine.builders', link: '/' }, { text: 'Beginners', link: '/beginners/' }, { text: 'Use', link: '/use/' }, { text: 'Learn', link: '/learn/' }, @@ -13,11 +13,11 @@ module.exports = { head: [ ['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,maximum-scale=1,maximum-scale=1' }], ['meta', { property: 'og:type', content: 'website' }], - ['meta', { property: 'og:title', content: 'Jade' }], - ['meta', { property: 'og:site_name', content: 'jade.builders' }], - ['meta', { property: 'og:description', content: 'The Jade Suite' }], - ['meta', { property: 'og:url', content: 'https://jade.builders' }], - ['meta', { property: 'og:image', content: 'https://raw.githubusercontent.com/etclabscore/jade-media-assets/master/jade-logo-dark/jade-logo-dark%20(PNG)/256x256.png' }], + ['meta', { property: 'og:title', content: 'Pristine' }], + ['meta', { property: 'og:site_name', content: 'pristine.builders' }], + ['meta', { property: 'og:description', content: 'The Pristine Suite' }], + ['meta', { property: 'og:url', content: 'https://pristine.builders' }], + ['meta', { property: 'og:image', content: 'DARK_LOGO_URL' }], ['script', { async: true, defer: true, src: 'https://cdn.jsdelivr.net/npm/@widgetbot/crate@3' }, ` new Crate({ diff --git a/docs/.vuepress/theme/Layout.vue b/docs/.vuepress/theme/Layout.vue index 6ccdd0e..a328feb 100644 --- a/docs/.vuepress/theme/Layout.vue +++ b/docs/.vuepress/theme/Layout.vue @@ -36,7 +36,7 @@ }, computed: { isLanding() { - return this.$page.title.includes("jade.builders"); + return this.$page.title.includes("pristine.builders"); }, isRelaunch() { return this.$page.path === "/relaunch.html" diff --git a/docs/.vuepress/theme/components/Hero.vue b/docs/.vuepress/theme/components/Hero.vue index eb4c644..20cc879 100644 --- a/docs/.vuepress/theme/components/Hero.vue +++ b/docs/.vuepress/theme/components/Hero.vue @@ -6,14 +6,14 @@ class="hide-dark" width="auto" height="auto" - src="https://raw.githubusercontent.com/etclabscore/jade-media-assets/master/jade-logo-light/jade-logo-light%20(PNG)/256x256.png" + src="LIGHT_LOGO_URL" /> Ethereum.org Hero Image - Dark diff --git a/docs/developers/index.md b/docs/developers/index.md index 9e7b531..2ffcc19 100644 --- a/docs/developers/index.md +++ b/docs/developers/index.md @@ -55,7 +55,7 @@ A Pristine starting point for typescript react projects # Pristine Typescript React Jade -A Pristine starting point for typescript react projects ontop of the [Jade Suite](https://jade.builders) +A Pristine starting point for typescript react projects ontop of the [Pristine Suite](https://pristine.builders) - Auto connect to [Jade Service Runner](https://github.com/etclabscore/jade-service-runner) to ensure `multi-geth` is running. - Hooks diff --git a/docs/index.md b/docs/index.md index 85cd96b..d58bab7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,9 +1,9 @@ --- -title: "jade.builders | A suite of tools for peer-to-peer decentralized applications" +title: "pristine.builders | A suite of tools for peer-to-peer decentralized applications" date: May 20, 2019 sidebar: false --- -
The goal of Jade is to provide a suite of tools to enable the creation of truly peer-to-peer applications on top of EVM-based blockchains like Ethereum Classic.
+
The goal of Pristine is to provide a suite of tools to enable the creation of truly peer-to-peer applications on top of EVM-based blockchains like Ethereum Classic.
@@ -11,8 +11,8 @@ sidebar: false @@ -22,7 +22,7 @@ sidebar: false @@ -32,7 +32,7 @@ sidebar: false