Skip to content

Commit

Permalink
feat: 增加 desc
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilIrving committed May 10, 2024
1 parent d8e3fca commit 04a7617
Show file tree
Hide file tree
Showing 6 changed files with 203 additions and 203 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ end_of_line = lf # 控制换行类型(lf | cr | crlf)
insert_final_newline = true # 始终在文件末尾插入一个新行
indent_style = space # 缩进风格(tab | space)
indent_size = 2 # 缩进大小
max_line_length = 130 # 最大行长度
max_line_length = 80 # 最大行长度

[*.md] # 表示仅对 md 文件适用以下规则
max_line_length = off # 关闭最大行长度限制
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<title>HEIC/HEIF to PNG/JPEG Converter - Simple, Free, and Offline</title>
<meta name="description" content="Convert HEIC/HEIF to PNG with high quality and lossless compression. Simply drag&#039;n&#039;drop your iPhone photos and get JPG or PNG files in seconds!">
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="HEIC/HEIF to PNG/JPEG Converter - Simple, Free, and Offline | Convertools.site" />
Expand All @@ -32,4 +32,4 @@
</script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ import { RouterView } from 'vue-router'
transform: translateY(-3px);
box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.4), 0px 4px 6px rgba(0, 0, 0, 0.3);
}
</style>
</style>
1 change: 1 addition & 0 deletions src/stores/counter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { defineStore } from 'pinia'
export const useCounterStore = defineStore('counter', () => {
const count = ref(0)
const doubleCount = computed(() => count.value * 2)

function increment() {
count.value++
}
Expand Down
62 changes: 31 additions & 31 deletions src/views/heictopng/Description.vue
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
<template>
<div class="py-8">
<h2 class="my-2 text-xl font-bold text-center">step-by-step guide</h2>
<section>
<ul class="text-sm">
<li>1. Choose the HEIC/HEIF files you want to convert.</li>
<li>2. Drag and drop the files or click on the "Browse files" button to select them.</li>
<li>3. Choose the options you want to use for the conversion.</li>
<li>4. Click on the "Convert" button to start the conversion process.</li>
<li>5. Wait for the conversion process to finish.</li>
<li>6. Download the converted files to your computer.</li>
</ul>
</section>
<h2 class="my-2 text-xl font-bold text-center">Features</h2>
<section class="grid grid-cols-3 gap-x-2 gap-y-4">
<section v-for="item in features" :key="item.title" class="p-4 bg-white rounded-lg shadow-lg">
<h4 class="my-2 text-sm font-bold text-center">{{ item.title }}</h4>
<p class="text-sm">{{ item.description }}</p>
</section>
</section>
<!-- <h2 class="my-2 text-xl font-bold text-center">Difference Between HEIC, JPEG, and PNG</h2> -->
<div class="py-8">
<h2 class="my-2 text-xl font-bold text-center">step-by-step guide</h2>
<section>
<ul class="text-sm">
<li>1. Choose the HEIC/HEIF files you want to convert.</li>
<li>2. Drag and drop the files or click on the "Browse files" button to select them.</li>
<li>3. Choose the options you want to use for the conversion.</li>
<li>4. Click on the "Convert" button to start the conversion process.</li>
<li>5. Wait for the conversion process to finish.</li>
<li>6. Download the converted files to your computer.</li>
</ul>
</section>
<h2 class="my-2 text-xl font-bold text-center">Features</h2>
<section class="grid grid-cols-3 gap-x-2 gap-y-4">
<section v-for="item in features" :key="item.title" class="p-4 bg-white rounded-lg shadow-lg">
<h4 class="my-2 text-sm font-bold text-center">{{ item.title }}</h4>
<p class="text-sm">{{ item.description }}</p>
</section>
</section>
<!-- <h2 class="my-2 text-xl font-bold text-center">Difference Between HEIC, JPEG, and PNG</h2> -->



</div>
</div>
</template>

<script setup>
const features = [
{ title: 'Simple to use', description: 'Convert HEIC/HEIF to PNG with high quality and lossless compression.' },
{ title: 'Convert multiple files at once', description: 'Convert multiple HEIC/HEIF files at once and download them as a zip file.' },
{ title: 'Keep your files secure', description: 'an offline solution, your files are not uploaded to any server and are kept secure.' },
{ title: 'Keep original size & quality', description: 'Your files are not resized or cropped, and the quality is preserved.' },
{ title: 'No registration required', description: 'You do not need to create an account or provide any personal information.' },
{ title: 'No need to download any software', description: 'You can convert HEIC/HEIF files using our website without installing any software.' },
{ title: 'Convenient ways to save converted files', description: 'You can save your converted files to your computer, Google Drive, or Dropbox.' },
{ title: 'Keep or remove EXIF metadata', description: 'You can choose to keep or remove EXIF metadata from your converted files.' },
{ title: 'Crop & resize options', description: 'You can crop and resize your HEIC/HEIF files before converting them to PNG.' },
{ title: 'Simple to use', description: 'Convert HEIC/HEIF to PNG with high quality and lossless compression.' },
{ title: 'Convert multiple files at once', description: 'Convert multiple HEIC/HEIF files at once and download them as a zip file.' },
{ title: 'Keep your files secure', description: 'an offline solution, your files are not uploaded to any server and are kept secure.' },
{ title: 'Keep original size & quality', description: 'Your files are not resized or cropped, and the quality is preserved.' },
{ title: 'No registration required', description: 'You do not need to create an account or provide any personal information.' },
{ title: 'No need to download any software', description: 'You can convert HEIC/HEIF files using our website without installing any software.' },
{ title: 'Convenient ways to save converted files', description: 'You can save your converted files to your computer, Google Drive, or Dropbox.' },
{ title: 'Keep or remove EXIF metadata', description: 'You can choose to keep or remove EXIF metadata from your converted files.' },
{ title: 'Crop & resize options', description: 'You can crop and resize your HEIC/HEIF files before converting them to PNG.' },
]
</script>
</script>
Loading

0 comments on commit 04a7617

Please sign in to comment.