Skip to content

Commit

Permalink
style(aside): pdf icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Oct 6, 2021
1 parent 9ebadea commit 8f5867d
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 7 deletions.
Binary file added src/assets/editor/pdf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/components/editor/aside/pdf/AsideConfigurationPDF.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
class="wb-aside-button"
:text="t('editor.aside.pdf.configuration')"
:shortcuts="store.state.shortcuts.configurationPDF[0]"
:icon="true"
@click.prevent="onConfiguration"
>
<img width="20" class="mr-2" src="@/assets/editor/pdf.png" />
</AsideText>
</template>

Expand Down
2 changes: 2 additions & 0 deletions src/components/editor/aside/pdf/AsideGeneratePDF.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
class="wb-aside-button"
:text="t('editor.aside.pdf.title')"
:shortcuts="store.state.shortcuts.generatePDF[0]"
:icon="true"
@click.prevent="onGeneratePDF"
>
<img width="20" class="mr-2" src="@/assets/editor/pdf.png" />
</AsideText>
</template>

Expand Down
2 changes: 2 additions & 0 deletions src/components/editor/aside/pdf/AsidePreviewPDF.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
class="wb-aside-button"
:text="t('editor.aside.pdf.preview')"
:shortcuts="store.state.shortcuts.previewPDF[0]"
:icon="true"
@click.prevent="onPreviewPDF"
>
<img width="20" class="mr-2" src="@/assets/editor/pdf.png" />
</AsideText>
</template>

Expand Down
9 changes: 8 additions & 1 deletion src/components/editor/main/EditorBaseHeader.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<template>
<div
class="flex justify-end items-center relative bg-white-opacity dark:bg-black-opacity"
class="
flex
justify-end
items-center
relative
bg-white-opacity
dark:bg-black-opacity
"
>
<HeroIcon class="wb-icon inline-flex" @click.prevent="onSwitcher">
<svg
Expand Down
6 changes: 3 additions & 3 deletions src/lang/br/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ export default {
},
},
pdf: {
title: 'Gerar PDF',
preview: 'Simular PDF',
configuration: 'Configurar PDF',
title: 'Gerar',
preview: 'Simular',
configuration: 'Configurar',
},
commands: {
title: 'Comandos',
Expand Down
6 changes: 3 additions & 3 deletions src/lang/en/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ export default {
},
},
pdf: {
title: 'Generate PDF',
preview: 'Preview PDF',
configuration: 'Configure PDF',
title: 'Generate',
preview: 'Preview',
configuration: 'Configure',
},
commands: {
title: 'Commands',
Expand Down

0 comments on commit 8f5867d

Please sign in to comment.