|
| 1 | +import { |
| 2 | + IconAdOff, |
| 3 | + IconPlant, |
| 4 | + IconFlare, |
| 5 | + IconHtml, |
| 6 | + IconDevices, |
| 7 | + IconFileDelta, |
| 8 | + IconSettingsStar, |
| 9 | +} from '@tabler/icons-react' |
| 10 | +import { useFFmpegAudioStore } from '@/stores/ffmpegAudio' |
| 11 | +import { useFFmpegVideoStore } from '@/stores/ffmpegVideo' |
| 12 | + |
1 | 13 | export const videoFormats = [
|
2 | 14 | { mime: 'video/mp4', ext: '.mp4' },
|
3 | 15 | { mime: 'video/x-flv', ext: '.flv' },
|
@@ -26,4 +38,104 @@ export const videoFormats = [
|
26 | 38 | export const videoExtensions = videoFormats.map(({ ext }) => ext)
|
27 | 39 | export const videoMimes = videoFormats.map(({ mime }) => mime)
|
28 | 40 |
|
29 |
| -export const videosTypes = [...videoExtensions, ...videoMimes] |
| 41 | +export const videoTypes = [...videoExtensions, ...videoMimes] |
| 42 | + |
| 43 | +export const videoPoints = [ |
| 44 | + { |
| 45 | + Icon: IconPlant, |
| 46 | + title: 'Free', |
| 47 | + text: 'Enjoy unlimited access to powerful video conversion tools without spending a dime, with no hidden costs or subscriptions', |
| 48 | + }, |
| 49 | + { |
| 50 | + Icon: IconAdOff, |
| 51 | + title: 'Ad-Free Experience', |
| 52 | + text: 'Convert your videos without interruptions. Our website is completely free of ads, so you can focus on what matters most—getting your work done efficiently.', |
| 53 | + }, |
| 54 | + { |
| 55 | + Icon: IconFlare, |
| 56 | + title: 'No Artificial Restrictions', |
| 57 | + text: 'We believe in giving you full control. Convert and compress videos without any hidden limits on file size or duration.', |
| 58 | + }, |
| 59 | + { |
| 60 | + Icon: IconHtml, |
| 61 | + title: 'Web-Based Convenience', |
| 62 | + text: ' No downloads, no installations. Access our video converter from any device, anywhere. Simply open your browser and start converting.', |
| 63 | + }, |
| 64 | + { |
| 65 | + Icon: IconDevices, |
| 66 | + title: 'Client-Side Processing', |
| 67 | + text: 'Your privacy is our priority. All conversions are done directly on your device, ensuring that your files never leave your computer.', |
| 68 | + }, |
| 69 | + { |
| 70 | + Icon: IconFileDelta, |
| 71 | + title: 'Supports Multiple Formats', |
| 72 | + text: 'Whether it’s MP4, AVI, MKV, or any other format, our converter handles them all with ease. Convert between dozens of video formats effortlessly.', |
| 73 | + }, |
| 74 | + { |
| 75 | + Icon: IconSettingsStar, |
| 76 | + title: 'Customizable Settings', |
| 77 | + text: 'Tailor your conversions to your specific needs. Adjust resolution, bitrate, and more with easy-to-use settings.', |
| 78 | + }, |
| 79 | +] |
| 80 | + |
| 81 | +export const audioFormats = [ |
| 82 | + { mime: 'audio/mpeg', ext: '.mp3' }, |
| 83 | + { mime: 'audio/wav', ext: '.wav' }, |
| 84 | + { mime: 'audio/flac', ext: '.flac' }, |
| 85 | + { mime: 'audio/aac', ext: '.aac' }, |
| 86 | + { mime: 'audio/ogg', ext: '.ogg' }, |
| 87 | + { mime: 'audio/midi', ext: '.midi' }, |
| 88 | + { mime: 'audio/x-m4a', ext: '.m4a' }, |
| 89 | + { mime: 'audio/x-wav', ext: '.wav' }, |
| 90 | + { mime: 'audio/x-flac', ext: '.flac' }, |
| 91 | + { mime: 'audio/ogg', ext: '.oga' }, |
| 92 | + { mime: 'audio/opus', ext: '.opus' }, |
| 93 | + { mime: 'audio/x-aiff', ext: '.aiff' }, |
| 94 | + { mime: 'audio/x-matroska', ext: '.mka' }, |
| 95 | + { mime: 'audio/amr', ext: '.amr' }, |
| 96 | + { mime: 'audio/aiff', ext: '.aif' }, |
| 97 | + { mime: 'audio/x-aac', ext: '.aac' }, |
| 98 | +] as const |
| 99 | + |
| 100 | +export const audioExtensions = audioFormats.map(({ ext }) => ext) |
| 101 | +export const audioMimes = audioFormats.map(({ mime }) => mime) |
| 102 | + |
| 103 | +export const audioTypes = [...videoExtensions, ...videoMimes] |
| 104 | + |
| 105 | +export const audioPoints = [ |
| 106 | + { |
| 107 | + Icon: IconPlant, |
| 108 | + title: 'Free', |
| 109 | + text: 'Enjoy unlimited access to powerful audio conversion tools without spending a dime, with no hidden costs or subscriptions.', |
| 110 | + }, |
| 111 | + { |
| 112 | + Icon: IconAdOff, |
| 113 | + title: 'Ad-Free Experience', |
| 114 | + text: 'Convert your audio files without interruptions. Our website is completely free of ads, so you can focus on what matters most—getting your work done efficiently.', |
| 115 | + }, |
| 116 | + { |
| 117 | + Icon: IconFlare, |
| 118 | + title: 'No Artificial Restrictions', |
| 119 | + text: 'We believe in giving you full control. Convert and compress audio files without any hidden limits on file size or duration.', |
| 120 | + }, |
| 121 | + { |
| 122 | + Icon: IconHtml, |
| 123 | + title: 'Web-Based Convenience', |
| 124 | + text: 'No downloads, no installations. Access our audio converter from any device, anywhere. Simply open your browser and start converting.', |
| 125 | + }, |
| 126 | + { |
| 127 | + Icon: IconDevices, |
| 128 | + title: 'Client-Side Processing', |
| 129 | + text: 'Your privacy is our priority. All conversions are done directly on your device, ensuring that your files never leave your computer.', |
| 130 | + }, |
| 131 | + { |
| 132 | + Icon: IconFileDelta, |
| 133 | + title: 'Supports Multiple Formats', |
| 134 | + text: 'Whether it’s MP3, WAV, FLAC, or any other format, our converter handles them all with ease. Convert between dozens of audio formats effortlessly.', |
| 135 | + }, |
| 136 | + { |
| 137 | + Icon: IconSettingsStar, |
| 138 | + title: 'Customizable Settings', |
| 139 | + text: 'Tailor your conversions to your specific needs. Adjust bitrate, sample rate, and more with easy-to-use settings.', |
| 140 | + }, |
| 141 | +] |
0 commit comments