This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
1,517 additions
and
368 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
// Enable the ESlint flat config support | ||
"eslint.experimental.useFlatConfig": true, | ||
|
||
// Disable the default formatter, use eslint instead | ||
"prettier.enable": false, | ||
"editor.formatOnSave": false, | ||
|
||
// Auto fix | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit", | ||
"source.organizeImports": "never" | ||
}, | ||
|
||
// Silent the stylistic rules in you IDE, but still auto fix them | ||
"eslint.rules.customizations": [ | ||
{ "rule": "style/*", "severity": "off" }, | ||
{ "rule": "format/*", "severity": "off" }, | ||
{ "rule": "*-indent", "severity": "off" }, | ||
{ "rule": "*-spacing", "severity": "off" }, | ||
{ "rule": "*-spaces", "severity": "off" }, | ||
{ "rule": "*-order", "severity": "off" }, | ||
{ "rule": "*-dangle", "severity": "off" }, | ||
{ "rule": "*-newline", "severity": "off" }, | ||
{ "rule": "*quotes", "severity": "off" }, | ||
{ "rule": "*semi", "severity": "off" } | ||
], | ||
|
||
// Enable eslint for all supported languages | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact", | ||
"vue", | ||
"html", | ||
"markdown", | ||
"json", | ||
"jsonc", | ||
"yaml", | ||
"toml" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,23 @@ const { isSettingsOpen, email, horizontalSplit, previewMode, previewModes, edito | |
<div class="p-6 flex flex-col gap-y-7"> | ||
<div class="flex justify-between items-center"> | ||
<div class="flex flex-col content-center text-sm"> | ||
<p class="block font-medium text-gray-700 dark:text-gray-200">Horizontal Split</p> | ||
<p class="text-gray-500 dark:text-gray-400 text-sm">Split the email preview and code editor horizontally</p> | ||
<p class="block font-medium text-gray-700 dark:text-gray-200"> | ||
Horizontal Split | ||
</p> | ||
<p class="text-gray-500 dark:text-gray-400 text-sm"> | ||
Split the email preview and code editor horizontally | ||
</p> | ||
</div> | ||
<UToggle v-model="horizontalSplit" /> | ||
</div> | ||
<div class="flex justify-between items-center"> | ||
<div class="flex flex-col content-center text-sm"> | ||
<p class="block font-medium text-gray-700 dark:text-gray-200">Preview Mode</p> | ||
<p class="text-gray-500 dark:text-gray-400 text-sm">Choose between the preview modes</p> | ||
<p class="block font-medium text-gray-700 dark:text-gray-200"> | ||
Preview Mode | ||
</p> | ||
<p class="text-gray-500 dark:text-gray-400 text-sm"> | ||
Choose between the preview modes | ||
</p> | ||
</div> | ||
<USelectMenu v-model="previewMode" class="min-w-[100px]" :options="previewModes"> | ||
<template v-if="previewMode" #label> | ||
|
@@ -26,8 +34,12 @@ const { isSettingsOpen, email, horizontalSplit, previewMode, previewModes, edito | |
</div> | ||
<div class="flex justify-between items-center"> | ||
<div class="flex flex-col content-center text-sm"> | ||
<p class="block font-medium text-gray-700 dark:text-gray-200">Editor Language</p> | ||
<p class="text-gray-500 dark:text-gray-400 text-sm">Choose which code language to display in the editor</p> | ||
<p class="block font-medium text-gray-700 dark:text-gray-200"> | ||
Editor Language | ||
</p> | ||
<p class="text-gray-500 dark:text-gray-400 text-sm"> | ||
Choose which code language to display in the editor | ||
</p> | ||
</div> | ||
<USelectMenu v-model="editorCode" class="min-w-[100px]" :options="editorCodes"> | ||
<template v-if="editorCode" #label> | ||
|
@@ -36,10 +48,10 @@ const { isSettingsOpen, email, horizontalSplit, previewMode, previewModes, edito | |
</template> | ||
</USelectMenu> | ||
</div> | ||
<hr class="border-gray-700" /> | ||
<hr class="border-gray-700"> | ||
<UFormGroup class="" size="sm" label="Email" description="The email address that will be used to send the test emails"> | ||
<UInput v-model="email" class="mt-2" placeholder="[email protected]" icon="i-heroicons-envelope" | ||
/></UFormGroup> | ||
<UInput v-model="email" class="mt-2" placeholder="[email protected]" icon="i-heroicons-envelope" /> | ||
</UFormGroup> | ||
</div> | ||
</UModal> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.