Skip to content

Commit

Permalink
rename to venus, modify logo etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie-5miles committed Mar 6, 2019
1 parent 9d99f17 commit c0b0795
Show file tree
Hide file tree
Showing 38 changed files with 78 additions and 229 deletions.
2 changes: 1 addition & 1 deletion app/_locales/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "The name of the application"
},
"approved": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"description": "Die Beschreibung der Erweiterung"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "Der Name der Erweiterung"
},
"approved": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"message": "Amount + Gas"
},
"appDescription": {
"message": "CyberMiles Browser Extension",
"message": "CyberMiles Blockchain Wallet",
"description": "The description of the application"
},
"appName": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"description": "La descripción de la aplicación"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "El nombre de la aplicación"
},
"approved": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"description": "La description de l'application"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "Le nom de l'application"
},
"approve": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/ht/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "The name of the application"
},
"approve": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"description": "La descrizione dell'applicazione"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "Il nome dell'applicazione"
},
"approve": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "The name of the application"
},
"attemptingConnect": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/nl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"description": "De beschrijving van de applicatie"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "De naam van de applicatie"
},
"attemptingConnect": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/ph/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"description": "Ang deskripsyon ng application"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "Ang pangalan ng application"
},
"attemptingConnect": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/pl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"description": "Opis aplikacji"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "Nazwa aplikacji"
},
"approve": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/pt/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"description": "A descrição da aplicação"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "Nome da aplicação"
},
"attemptingConnect": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "The name of the application"
},
"approved": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/sk/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "The name of the application"
},
"approved": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/sl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "The name of the application"
},
"approve": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/th/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "The name of the application"
},
"attemptingConnect": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/tr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"description": "Uygulama açıklaması"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "Uygulama ismi"
},
"approved": {
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/vi/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
},
"appName": {
"description": "Tên phần mềm",
"message": "MetaMask"
"message": "Venus"
},
"attemptingConnect": {
"message": "Đang kết nối đến blockchain."
Expand Down
2 changes: 1 addition & 1 deletion app/_locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"message": "数量 + Gas"
},
"appDescription": {
"message": "CMT浏览器插件",
"message": "CyberMiles 区块链钱包",
"description": "The description of the application"
},
"appName": {
Expand Down
4 changes: 2 additions & 2 deletions app/_locales/zh_TW/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
"message": "數額 + Gas"
},
"appDescription": {
"message": "乙太坊瀏覽器擴充插件",
"message": "CyberMiles 區塊鏈錢包",
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"message": "Venus",
"description": "The name of the application"
},
"approved": {
Expand Down
Binary file modified app/images/icon-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/icon-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/icon-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/icon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/icon-38.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/icon-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/info-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
137 changes: 9 additions & 128 deletions app/images/logo/metamask-fox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 8 additions & 56 deletions app/images/logo/metamask-logo-horizontal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion notices/archive/notice_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Venus is beta software.

When you log in to Venus, your current account's address is visible to every new site you visit. This can be used to look up your account balances of CMT and other tokens.

For your privacy, for now, please sign out of MetaMask when you're done using a site.
For your privacy, for now, please sign out of Venus when you're done using a site.
2 changes: 1 addition & 1 deletion notices/archive/notice_4.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Dear Venus Users,

There have been several instances of high-profile legitimate websites such as BTC Manager and Games Workshop that have had their websites temporarily compromised. This involves showing a fake MetaMask window on the page asking for user's seed phrases. MetaMask will never open itself in this way and users are encouraged to report these instances immediately to our support email at [support@cybermiles.io](mailto:support@cybermiles.io).
There have been several instances of high-profile legitimate websites such as BTC Manager and Games Workshop that have had their websites temporarily compromised. This involves showing a fake Venus window on the page asking for user's seed phrases. Venus will never open itself in this way and users are encouraged to report these instances immediately to our support email at [support@cybermiles.io](mailto:support@cybermiles.io).
20 changes: 16 additions & 4 deletions old-ui/app/components/mascot.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
const inherits = require('util').inherits
const Component = require('react').Component
const h = require('react-hyperscript')
const metamaskLogo = require('metamask-logo')
const debounce = require('debounce')
// const metamaskLogo = require('metamask-logo')
// const debounce = require('debounce')

module.exports = Mascot

inherits(Mascot, Component)
function Mascot () {
Component.call(this)
/*
this.logo = metamaskLogo({
followMouse: true,
pxNotRatio: true,
Expand All @@ -18,19 +19,29 @@ function Mascot () {
this.refollowMouse = debounce(this.logo.setFollowMouse.bind(this.logo, true), 1000)
this.unfollowMouse = this.logo.setFollowMouse.bind(this.logo, false)
*/
}

Mascot.prototype.render = function () {
// this is a bit hacky
// the event emitter is on `this.props`
// and we dont get that until render
this.handleAnimationEvents()
// this.handleAnimationEvents()

return h('#metamask-mascot-container', {
style: { zIndex: 0 },
})
}, [
h('img', {
style: {
width: '120px',
height: '120px',
},
src: 'images/logo/metamask-fox.svg',
})
])
}

/*
Mascot.prototype.componentDidMount = function () {
var targetDivId = 'metamask-mascot-container'
var container = document.getElementById(targetDivId)
Expand All @@ -57,3 +68,4 @@ Mascot.prototype.lookAt = function (target) {
this.logo.lookAt(target)
this.refollowMouse()
}
*/
4 changes: 2 additions & 2 deletions old-ui/app/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ InfoScreen.prototype.render = function () {
h('a.info', {
target: '_blank',
style: { width: '85vw' },
href: 'http://remix.cybermiles.io/',
}, 'Remix for CMT'),
href: 'http://europa.cybermiles.io/',
}, 'Europa'),
]),
h('div', [
h('a.info', {
Expand Down
8 changes: 0 additions & 8 deletions old-ui/app/unlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ UnlockScreen.prototype.render = function () {
animationEventEmitter: this.animationEventEmitter,
}),

h('h1', {
style: {
fontSize: '1.4em',
textTransform: 'uppercase',
color: '#7F8082',
},
}, 'MetaMask'),

h('input.large-input', {
type: 'password',
id: 'password-box',
Expand Down
20 changes: 16 additions & 4 deletions ui/app/components/mascot.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
const inherits = require('util').inherits
const Component = require('react').Component
const h = require('react-hyperscript')
const metamaskLogo = require('metamask-logo')
const debounce = require('debounce')
// const metamaskLogo = require('metamask-logo')
// const debounce = require('debounce')

module.exports = Mascot

inherits(Mascot, Component)
function Mascot ({width = '200', height = '200'}) {
Component.call(this)
/*
this.logo = metamaskLogo({
followMouse: true,
pxNotRatio: true,
Expand All @@ -18,19 +19,29 @@ function Mascot ({width = '200', height = '200'}) {
this.refollowMouse = debounce(this.logo.setFollowMouse.bind(this.logo, true), 1000)
this.unfollowMouse = this.logo.setFollowMouse.bind(this.logo, false)
*/
}

Mascot.prototype.render = function () {
// this is a bit hacky
// the event emitter is on `this.props`
// and we dont get that until render
this.handleAnimationEvents()
// this.handleAnimationEvents()

return h('#metamask-mascot-container', {
style: { zIndex: 0 },
})
}, [
h('img', {
style: {
width: '120px',
height: '120px',
},
src: 'images/logo/metamask-fox.svg',
})
])
}

/*
Mascot.prototype.componentDidMount = function () {
var targetDivId = 'metamask-mascot-container'
var container = document.getElementById(targetDivId)
Expand All @@ -57,3 +68,4 @@ Mascot.prototype.lookAt = function (target) {
this.logo.lookAt(target)
this.refollowMouse()
}
*/
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ export default class InfoTab extends PureComponent {
</div>
<div className="info-tab__link-item">
<a
href="http://remix.cybermiles.io/"
href="http://europa.cybermiles.io/"
target="_blank"
rel="noopener noreferrer"
>
<span className="info-tab__link-text">
Remix for CMT
Europa
</span>
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ui/app/components/pages/settings/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ class Info extends Component {
]),
h('div.settings__info-link-item', [
h('a', {
href: 'http://remix.cybermiles.io/',
href: 'http://europa.cybermiles.io/',
target: '_blank',
}, [
h('span.settings__info-link', "Remix for CMT"),
h('span.settings__info-link', "Europa"),
]),
]),
h('div.settings__info-link-item', [
Expand Down

0 comments on commit c0b0795

Please sign in to comment.