diff --git a/.vscode/settings.json b/.vscode/settings.json index ad8767b3..deefd6d4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,4 @@ { - "vsicons.presets.angular": true -} \ No newline at end of file + "vsicons.presets.angular": true, + "editor.formatOnSave": false +} diff --git a/src/app/MetaService.ts b/src/app/MetaService.ts new file mode 100644 index 00000000..b798079a --- /dev/null +++ b/src/app/MetaService.ts @@ -0,0 +1,82 @@ +import { Injectable } from '@angular/core'; +import { Meta, Title } from '@angular/platform-browser'; + +@Injectable({ + providedIn: 'root', +}) + +export class MetaService { + constructor(private title: Title, private meta: Meta) { } + + clearAllTags() { + + // Only remove og, twitter, and description meta tags to avoid removing things like the viewport tag. + + let tags = this.meta.getTags('property^="og:"'); + for (let i = 0; i < tags.length; i++) { + this.meta.removeTagElement(tags[i]) + } + + tags = this.meta.getTags('name^="twitter:"'); + for (let i = 0; i < tags.length; i++) { + this.meta.removeTagElement(tags[i]) + } + + this.meta.removeTag('name="description"'); + } + + update(name: string, value: string) { + let tag = null; + + // OG tags use the "property" attribute instead of "name" + if (/^og:/.test(name)) { + tag = this.meta.getTag(`property="${name}"`); + } else { + tag = this.meta.getTag(`name="${name}"`); + } + + if (name === 'title') { + this.title.setTitle(value); + } else if (tag) { + if (/^og:/.test(name)) { + this.meta.updateTag({ name: name, content: value }, `property="${name}"`) + } else { + this.meta.updateTag({ name: name, content: value }, `name="${name}"`) + } + } else { + if (/^og:/.test(name)) { + this.meta.addTag({ property: name, content: value }) + } else { + this.meta.addTag({ name: name, content: value }) + } + } + } + + remove(name: string, value: string) { + // OG tags use the "property" attribute instead of "name" + if (/^og:/.test(name)) { + this.meta.removeTag(`property="${name}"`); + } else { + this.meta.removeTag(`name="${name}"`); + } + } + + // The following "setGlobalX" functions refer to "global" as covering the three major meta schemas: w3c, OpenGraph, and Twitter. + setGlobalImage(image: string) { + if (!/^https:\/\//.test(image)) { + image = `https://www.orchid.com${image}`; + } + this.update('og:image', image); + this.update('twitter:image', image); + } + setGlobalDescription(description: string) { + this.update('description', description); + this.update('og:description', description); + this.update('twitter:description', description); + } + setGlobalTitle(title: string) { + this.update('title', title); + this.update('og:title', title); + this.update('twitter:title', title); + } +} \ No newline at end of file diff --git a/src/app/about-company/about-company.component.html b/src/app/about-company/about-company.component.html index 049cc5a5..ce85fb43 100644 --- a/src/app/about-company/about-company.component.html +++ b/src/app/about-company/about-company.component.html @@ -1,198 +1,89 @@ -
- Orchid was founded in 2017, on the principle that the internet should be more open and more accessible, to - everyone. In 2017 and 2018, Orchid successfully raised more than $48 million, and those funds immediately went - towards building the Orchid team – now with offices in CA and Berlin – and to creating the technology and - products that will advance our mission. -
-- Dr. Seven Waterhouse, Orchid co-founder & CEO discusses solutions to combat the global rise of centralized - surveillance states and how decentralization of the global internet architecture could be the key to - preserving democracy, privacy, and individual rights. -
-- As dueling interests move to control the future of the internet, users around the globe are increasingly - turning to VPNs. But what users don't know is that many VPNs fail to provide the security and privacy that - they advertise. -
+- Governments and corporate interests are competing to own the future of the internet, and with it, control - information and personal data. As users, developers, and investors, how can we take back control? -
+- How ISPs, apps, third parties, and websites are raking in the big bucks by tracking your clicks, emails, and - purchases—and what we can do to control our digital identities. -
-- Orchid’s founders bring together deep experience in the open source software community (BASH Shell, GNU Finger), - technology management (RPX IPO), blockchain investment (Bitstamp, Pantera Capital), jailbroken app package - management (Cydia) and security (Wells Fargo’s 1st Online Banking, Ethereum core security team). -
-- “Orchid struck us as one of the first killer apps that we can see getting broad appeal. It also has an important - mission that we think is very timely in the world today.” -
-
- — Matt Huang, Former Sequoia partner and Paradigm co-founder (Business Insider, Nov. 2017)
+ The Internet opened up an unlimited world of information. Its creators invited us to bring our curiosity and explore that world freely. As the Internet grew, exploring freely became harder. Web 2.0 business models incentivized companies to watch and track us and sell our data. And in some places, limits were placed on the information we can see. But that is changing. The decentralized Web 3.0 being built on Ethereum is allowing the Internet to be reclaimed by its users. At Orchid we share in this mission. We use Web 3.0 technology to offer users better digital privacy today, so we can realize the promise of the Web 1.0 and explore freely again. Orchid was founded in 2017 to help restore the open and accessible Internet for everyone. Since then, we have grown an incredible team based in San Francisco and Berlin that is releasing the Orchid tokenized VPN in Q4 2019.
+ Orchid’s founders bring together deep experience in the open source software community (BASH Shell, GNU Finger), technology management (RPX IPO), blockchain investment (Pantera Capital), jailbroken app package management (Cydia) and security (Wells Fargo’s 1st Online Banking employee, Ethereum core security team).
-Orchid is a Delaware c-corp
-Orchid is a Delaware c-corp
Let's reclaim the Internet together! We are looking for partnership opportunities with infrastructure + providers and integration partners that want to build with Orchid. Contact us and we'll get back to you + shortly.
+We've decided to distribute an early version of the Orchid app ahead of our network launch. This pre-release version analyzes network traffic on your phone and does not include VPN service yet (your IP address will not change). We are using the software to test and audit our networking code prior to integrating the token and interfacing with the Orchid Network. Once we launch our network, we can update the Orchid App to provide complete VPN service.
-In its initial form, this app will only be focused on one thing: analyzing and reporting the hosts that the data on your device are connecting to. For now, our app includes the following features:
-It's important to us that this app is both open source and localized to your device, meaning no third parties see your data and nothing leaves your phone. We believe that an Open Source approach embraces the core tenets of decentralization and provides the greatest opportunity to create a network capable of delivering the stability, capacity, and security necessary to provide users with the online experience they desire.
-Follow the directions below to download the Orchid App.
-