Skip to content

Commit

Permalink
fix: replace defaults with Pristine
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejonas committed Jul 12, 2019
1 parent 1cb1049 commit 4dbc982
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 41 deletions.
12 changes: 6 additions & 6 deletions .pristine/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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! 💎"
Expand Down Expand Up @@ -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. 🚀"

Expand Down
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
<h1 align="center" style="margin-top: 1em; margin-bottom: 3em;">
<p><a href="https://jade.builders"><img alt="jade logo" src="https://raw.githubusercontent.com/etclabscore/jade-media-assets/master/jade-logo-light/jade-logo-light%20(PNG)/256x256.png" alt="jade.builders" width="125"></a></p>
<p>👋 Welcome to jade.builders!</p>
<p><a href="https://pristine.builders"><img alt="jade logo" src="https://raw.githubusercontent.com/etclabscore/jade-media-assets/master/jade-logo-light/jade-logo-light%20(PNG)/256x256.png" alt="pristine.builders" width="125"></a></p>
<p>👋 Welcome to pristine.builders!</p>
</h1>

[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.

<br>

### 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?

Keeping in mind the above core principles, there are many ways you can get involved in improving the website!

- 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:
Expand All @@ -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.

Expand Down
16 changes: 8 additions & 8 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -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/' },
Expand All @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/theme/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions docs/.vuepress/theme/components/Hero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
<img
alt="Ethereum.org Hero Image - Dark"
class="show-dark"
width="auto"
height="auto"
src="https://raw.githubusercontent.com/etclabscore/jade-media-assets/master/jade-logo-dark/jade-logo-dark%20(PNG)/256x256.png"
src="DARK_LOGO_URL"
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/developers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
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
---
<div class="center">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.</div>
<div class="center">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.</div>

<div class="intro-blocks">

<router-link to="/beginners/" class="intro-block">

<ul>
<li><span class="arrow">→</span>Beginners</li>
<li class="highlight">Completely new to Jade?</li>
<li>What is Jade?</li>
<li class="highlight">Completely new to Pristine?</li>
<li>What is Pristine?</li>
<li>Why should I care?</li>
</ul>

Expand All @@ -22,7 +22,7 @@ sidebar: false

<ul>
<li><span class="arrow">→</span>Use</li>
<li>What can I do with Jade today?</li>
<li>What can I do with Pristine today?</li>
</ul>

</router-link>
Expand All @@ -32,7 +32,7 @@ sidebar: false
<ul>
<li><span class="arrow">→</span>Learn</li>
<li>Beginner resources</li>
<li>How Jade works</li>
<li>How Pristine works</li>
</ul>

</router-link>
Expand Down

0 comments on commit 4dbc982

Please sign in to comment.