Skip to content

Commit

Permalink
Prax brand integration (#947)
Browse files Browse the repository at this point in the history
* Prax brand integration

* use transparency for favicons
  • Loading branch information
grod220 authored Apr 17, 2024
1 parent 61eb7d5 commit f23028a
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 222 deletions.
5 changes: 5 additions & 0 deletions .changeset/red-bikes-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'chrome-extension': major
---

Prax brand integration and renaming
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ The [Penumbra](https://penumbra.zone/) monorepo for all things web.

### Technical Documentation

[Visit docs](./docs/README.md) to see guiding principles, technical decisions, and general architecture of the apps and packages in this repo.
[Visit docs](./docs/README.md) to see guiding principles, technical decisions, and general architecture of the apps and
packages in this repo.

### Links

- [Penumbra Wallet](https://chrome.google.com/webstore/detail/penumbra-wallet/lkpmkhpnhknhmibgnmmhdhgdilepfghe) - chrome extension for custodying, proving, and signing transactions.
- [Prax Wallet](https://chrome.google.com/webstore/detail/penumbra-wallet/lkpmkhpnhknhmibgnmmhdhgdilepfghe) - chrome
extension for custodying, proving, and signing transactions.
- [Testnet Penumbra Dapp](https://app.testnet.penumbra.zone/) - Swap, stake, & send on Penumbra.
Binary file added apps/extension/public/favicon/icon128.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 added apps/extension/public/favicon/icon16.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 added apps/extension/public/favicon/icon32.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 added apps/extension/public/favicon/icon48.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 removed apps/extension/public/icon.png
Binary file not shown.
114 changes: 0 additions & 114 deletions apps/extension/public/logo.svg

This file was deleted.

9 changes: 7 additions & 2 deletions apps/extension/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"manifest_version": 3,
"name": "Penumbra wallet",
"name": "Prax wallet",
"version": "6.3.0",
"description": "For use in interacting with the Penumbra blockchain",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvnucOJi878TGZYnTNTrvXd9krAcpSDR/EgHcQhvjNZrKfRRsKA9O0DnbyM492c3hiicYPevRPLPoKsLgVghGDYPr8eNO7ee165keD5XLxq0wpWu14gHEPdQSRNZPLeawLp4s/rUwtzMcxhVIUYYaa2xZri4Tqx9wpR7YR1mQTAL8UsdjyitrnzTM20ciKXq1pd82MU74YaZzrcQCOmcjJtjHFdMEAYme+LuZuEugAgef9RiE/8kLQ6T7W9feYfQOky1OPjBkflpRXRgW6cACdl+MeYhKJCOHijglFsPOXX6AvnoJSeAJYRXOMVJi0ejLKEcrLpaeHgh+1WXUvc5G4wIDAQAB",
"action": {
"default_icon": "icon.png",
"default_popup": "popup.html"
},
"icons": {
"16": "favicon/icon16.png",
"32": "favicon/icon32.png",
"48": "favicon/icon48.png",
"128": "favicon/icon128.png"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
Expand Down
42 changes: 42 additions & 0 deletions apps/extension/public/prax-white-vertical.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
98 changes: 0 additions & 98 deletions apps/extension/public/um-token.svg

This file was deleted.

3 changes: 1 addition & 2 deletions apps/extension/src/routes/page/onboarding/start.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
CardTitle,
} from '@penumbra-zone/ui/components/ui/card';
import { FadeTransition } from '@penumbra-zone/ui/components/ui/fade-transition';
import { CompressedVideoLogo } from '@penumbra-zone/ui/components/ui/logo/compressed-video';
import { usePageNav } from '../../../utils/navigate';
import { PagePath } from '../paths';

Expand All @@ -16,7 +15,7 @@ export const OnboardingStart = () => {

return (
<FadeTransition>
<CompressedVideoLogo className='mb-10 self-center' />
<img src='/prax-white-vertical.svg' alt='prax logo' className='mb-5 w-60 self-center' />
<Card className='w-[400px] ' gradient>
<CardHeader className='items-center'>
<CardTitle>Explore private trading</CardTitle>
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/src/routes/popup/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const Login = () => {
<FadeTransition className='flex flex-col items-stretch justify-start'>
<div className='flex h-screen flex-col justify-between p-[30px] pt-10 '>
<div className='mx-auto my-0 h-[100px] w-[200px]'>
<img src='/logo.svg' alt='logo' />
<img src='/prax-white-vertical.svg' alt='prax logo' />
</div>
<form onSubmit={handleUnlock} className='grid gap-4'>
<PasswordInput
Expand Down
6 changes: 3 additions & 3 deletions apps/extension/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ const config: webpack.Configuration = {
}),
// html entry points
new HtmlWebpackPlugin({
favicon: 'public/icon.png',
title: 'Penumbra Wallet',
favicon: 'public/favicon/icon128.png',
title: 'Prax Wallet',
template: 'react-root.html',
filename: 'page.html',
chunks: ['page-root'],
}),
new HtmlWebpackPlugin({
title: 'Penumbra Wallet',
title: 'Prax Wallet',
template: 'react-root.html',
rootId: 'popup-root',
filename: 'popup.html',
Expand Down

0 comments on commit f23028a

Please sign in to comment.