feat: atualiza estrutura de estilos e build process
This commit is contained in:
parent
0cac5e9bb0
commit
90949a9451
@ -5,7 +5,7 @@ function createSaveButton() {
|
|||||||
|
|
||||||
// Adicionar ícone do Launchr
|
// Adicionar ícone do Launchr
|
||||||
const icon = document.createElement('img');
|
const icon = document.createElement('img');
|
||||||
icon.src = chrome.runtime.getURL('images/logo.png');
|
icon.src = chrome.runtime.getURL('src/assets/icon16.png');
|
||||||
icon.alt = 'Launchr';
|
icon.alt = 'Launchr';
|
||||||
icon.className = 'launchr-icon';
|
icon.className = 'launchr-icon';
|
||||||
|
|
||||||
|
|||||||
@ -1,31 +1,33 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "Sua Extensão",
|
"name": "Launchr Extension",
|
||||||
"version": "1.0",
|
"version": "1.0.0",
|
||||||
"description": "Extensão para salvar posts do LinkedIn e gerar mensagens personalizadas.",
|
"description": "Extensão para salvar posts do LinkedIn e gerar mensagens personalizadas.",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"activeTab",
|
"activeTab",
|
||||||
"storage",
|
"storage",
|
||||||
"contextMenus",
|
"contextMenus",
|
||||||
"scripting",
|
"scripting"
|
||||||
"windows"
|
|
||||||
],
|
],
|
||||||
"host_permissions": [
|
"host_permissions": [
|
||||||
"https://launchr.com.br/*",
|
"https://launchr.com.br/*",
|
||||||
"https://api.openai.com/*",
|
"https://api.openai.com/*",
|
||||||
"*://www.linkedin.com/*"
|
"*://www.linkedin.com/*"
|
||||||
],
|
],
|
||||||
|
"content_security_policy": {
|
||||||
|
"extension_pages": "script-src 'self'; object-src 'self'"
|
||||||
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"service_worker": "background.js",
|
"service_worker": "background.js",
|
||||||
"type": "module"
|
"type": "module"
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
"default_popup": "popup.html",
|
"default_popup": "popup.html",
|
||||||
"default_title": "Minha Extensão",
|
"default_title": "Launchr",
|
||||||
"default_icon": {
|
"default_icon": {
|
||||||
"16": "icon16.png",
|
"16": "src/assets/icon16.png",
|
||||||
"48": "icon48.png",
|
"48": "src/assets/icon48.png",
|
||||||
"128": "icon128.png"
|
"128": "src/assets/icon128.png"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
@ -36,15 +38,12 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"icons": {
|
"icons": {
|
||||||
"16": "icon16.png",
|
"16": "src/assets/icon16.png",
|
||||||
"48": "icon48.png",
|
"48": "src/assets/icon48.png",
|
||||||
"128": "icon128.png"
|
"128": "src/assets/icon128.png"
|
||||||
},
|
},
|
||||||
"web_accessible_resources": [{
|
"web_accessible_resources": [{
|
||||||
"resources": [
|
"resources": ["src/assets/*", "src/styles/*"],
|
||||||
"images/*",
|
|
||||||
"lib/*"
|
|
||||||
],
|
|
||||||
"matches": ["<all_urls>"]
|
"matches": ["<all_urls>"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
@ -52,7 +52,7 @@
|
|||||||
<div id="loginSection" class="container p-4">
|
<div id="loginSection" class="container p-4">
|
||||||
<!-- Logo -->
|
<!-- Logo -->
|
||||||
<div class="d-flex align-items-center mb-4">
|
<div class="d-flex align-items-center mb-4">
|
||||||
<img src="./images/logo.png" alt="Launchr" height="32" class="me-2">
|
<img src=".src/assets/logo.png" alt="Launchr" height="32" class="me-2">
|
||||||
<small class="text-muted">Versão 1.3.6</small>
|
<small class="text-muted">Versão 1.3.6</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -99,7 +99,7 @@
|
|||||||
<div class="container-fluid px-0">
|
<div class="container-fluid px-0">
|
||||||
<!-- Logo -->
|
<!-- Logo -->
|
||||||
<a class="navbar-brand" href="#">
|
<a class="navbar-brand" href="#">
|
||||||
<img src="./images/logo.png" alt="Launchr" height="32">
|
<img src="./src/assets/logo.png" alt="Launchr" height="32">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Links centralizados -->
|
<!-- Links centralizados -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user