Jelajahi Sumber

chore: add logo

Ahmad Kholid 3 tahun lalu
induk
melakukan
34ea00e518

TEMPAT SAMPAH
src/assets/images/logo.png


+ 5 - 0
src/assets/svg/logo.svg

@@ -0,0 +1,5 @@
+<svg width="600" height="600" viewBox="0 0 600 600" fill="none" xmlns="http://www.w3.org/2000/svg">
+<rect x="53" y="58" width="452" height="452" rx="80" fill="white" stroke="#181818" stroke-width="30" stroke-linejoin="round"/>
+<rect x="95" y="90" width="452" height="452" rx="80" fill="#18181B"/>
+<path d="M293.667 220.666C304.723 198.554 336.277 198.554 347.333 220.666L432.308 390.616C444.814 415.628 419.067 443.212 392.87 433.428C363.012 422.277 332.936 412.348 320.5 412.348C308.064 412.348 277.988 422.277 248.13 433.428C221.933 443.212 196.186 415.628 208.692 390.616L293.667 220.666Z" fill="#FEF08A"/>
+</svg>

+ 2 - 1
src/components/newtab/app/AppSidebar.vue

@@ -1,5 +1,6 @@
 <template>
-  <aside class="fixed h-screen left-0 top-0 w-16 py-5 bg-white z-50">
+  <aside class="fixed h-screen left-0 top-0 w-16 py-6 bg-white z-50">
+    <img src="@/assets/svg/logo.svg" class="w-10 mb-4 mx-auto" />
     <div
       class="space-y-2 relative text-center"
       @mouseleave="showHoverIndicator = false"

+ 2 - 3
src/manifest.json

@@ -9,7 +9,7 @@
   },
   "browser_action": {
     "default_popup": "popup.html",
-    "default_icon": "icon-34.png"
+    "default_icon": "icon-128.png"
   },
   "icons": {
     "128": "icon-128.png"
@@ -20,6 +20,5 @@
     "storage",
     "unlimitedStorage",
     "<all_urls>"
-  ],
-  "web_accessible_resources": ["content.styles.css", "icon-128.png", "icon-34.png"]
+  ]
 }

+ 5 - 2
src/newtab/pages/logs/[id].vue

@@ -24,9 +24,12 @@
     </div>
     <div class="flex items-start">
       <ui-list class="w-7/12 mr-6">
-        <ui-list-item v-for="(item, index) in activeLog.history" :key="index">
+        <ui-list-item
+          v-for="(item, index) in activeLog.history"
+          :key="index"
+          :title="item.message || item.type"
+        >
           <span
-            :title="item.message || item.type"
             :class="logsType[item.type].color"
             class="p-1 rounded-lg align-middle inline-block mr-2"
           >

+ 1 - 1
src/utils/shared.js

@@ -1,4 +1,4 @@
-/* to-do screenshot, cookies, assets, tab loaded, opened tab, and close tab block? */
+/* to-do screenshot, looping, cookies, assets, tab loaded, opened tab, and close tab block? */
 /* prev and next page block? */
 
 export const tasks = {