Skip to content

Commit

Permalink
feat: add logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed Jun 30, 2019
1 parent a0cf396 commit 7e9bb05
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 38 deletions.
Binary file removed public/favicon.ico
Binary file not shown.
Binary file modified public/icons/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 public/icons/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 removed public/icons/19.png
Binary file not shown.
Binary file added public/icons/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 removed public/icons/38.png
Binary file not shown.
Binary file modified public/icons/48.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 public/icons/724.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 0 additions & 17 deletions public/index.html

This file was deleted.

5 changes: 0 additions & 5 deletions src/background.js

This file was deleted.

13 changes: 5 additions & 8 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
"activeTab",
"tabs"
],
"background": {
"scripts": [
"background.js"
],
"persistent": false
},
"content_scripts":[{
"matches":[
"<all_urls>"
Expand All @@ -29,8 +23,11 @@
"default_popup": "popup/popup.html",
"default_title": "__MSG_extName__",
"default_icon": {
"19": "icons/19.png",
"38": "icons/38.png"
"16": "icons/16.png",
"32": "icons/32.png",
"48": "icons/48.png",
"128": "icons/128.png",
"724": "icons/724.png"
}
}
}
10 changes: 6 additions & 4 deletions src/popup/router/pages/Index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="main">
<h1>{{ titleText }}</h1>
<img src="./logo.png" alt="logo" />
<v-btn color="primary" @click.native="onFormatClick">{{
formatText
}}</v-btn>
Expand Down Expand Up @@ -31,9 +31,6 @@ export default {
computed: {
...mapState(["options"]),
titleText() {
return chrome.i18n.getMessage("extName");
},
formatText() {
return chrome.i18n.getMessage("format");
Expand Down Expand Up @@ -97,6 +94,11 @@ text-color=#fcf9ec
color text-color
margin 20px 0 50px
img
height 100px
filter drop-shadow(0 0 30px #12d3cf)
margin 100px 0
button.v-btn
color text-color
width 200px
Expand Down
Binary file added src/popup/router/pages/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ module.exports = {
browserExtension: {
registry: undefined,
components: {
background: true,
background: false,
contentScripts: true,
popup: true
},
api: "chrome",
usePolyfill: false,
autoImportPolyfill: false,
componentOptions: {
background: {
entry: "src/background.js"
},
contentScripts: {
entries: {
content: "src/content_scripts/index.js"
Expand Down

0 comments on commit 7e9bb05

Please sign in to comment.