UPD: Refactor images
This commit is contained in:
@@ -47,10 +47,10 @@ import { AudioLines, AudioWaveform, GaugeCircle } from 'lucide-vue-next'
|
||||
import ConfigSection from '@/components/config/ConfigSection.vue'
|
||||
import SteppedSlider from '@/components/config/SteppedSlider.vue'
|
||||
import { ref } from 'vue'
|
||||
import FdIcon from '@/assets/icons/ico-fd.svg'
|
||||
import CdIcon from '@/assets/icons/ico-cd.svg'
|
||||
import VfIcon from '@/assets/icons/ico-vf.svg'
|
||||
import RcIcon from '@/assets/icons/ico-rc.svg'
|
||||
import FdIcon from '@/assets/icons/iconFineDetents.svg'
|
||||
import CdIcon from '@/assets/icons/iconCoarseDetents.svg'
|
||||
import VfIcon from '@/assets/icons/iconViscousRotation.svg'
|
||||
import RcIcon from '@/assets/icons/iconReturnToCenter.svg'
|
||||
import FeedbackTypeButton from '@/components/config/FeedbackTypeButton.vue'
|
||||
|
||||
const feedbackType = ref('fineDetents') // TODO: replace with actual value
|
||||
|
||||
@@ -140,10 +140,10 @@ import {
|
||||
import { Slider } from '@/components/ui/slider/index.js'
|
||||
import { KeyboardMusic, Squircle, Keyboard, GaugeCircle, Play, Pause } from 'lucide-vue-next'
|
||||
import ConfigSection from '@/components/config/ConfigSection.vue'
|
||||
import KeyO from '@/assets/icons/ico-key-o.svg'
|
||||
import Key from '@/assets/icons/ico-key.svg'
|
||||
import KeyG from '@/assets/icons/ico-key-g.svg'
|
||||
import KeyD from '@/assets/icons/ico-key-d.svg'
|
||||
import KeyO from '@/assets/icons/iconKeyOrange.svg'
|
||||
import Key from '@/assets/icons/iconKeyWhite.svg'
|
||||
import KeyG from '@/assets/icons/iconKeyGrey.svg'
|
||||
import KeyD from '@/assets/icons/iconKeyDark.svg'
|
||||
import { ref } from 'vue'
|
||||
import KeySelectButton from '@/components/config/KeySelectButton.vue'
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ import { Cable, Replace, Type } from 'lucide-vue-next'
|
||||
import ConfigSection from '@/components/config/ConfigSection.vue'
|
||||
import { Separator } from '@/components/ui/separator/index.js'
|
||||
import { ref } from 'vue'
|
||||
import UsbIcon from '@/assets/icons/ico-usb-logo.svg'
|
||||
import MidiIcon from '@/assets/icons/ico-midi-logo.svg'
|
||||
import UsbIcon from '@/assets/logos/logoUsb.svg'
|
||||
import MidiIcon from '@/assets/logos/logoMidi.svg'
|
||||
import ConnectionTypeButton from '@/components/config/ConnectionTypeButton.vue'
|
||||
import { Badge } from '@/components/ui/badge'
|
||||
import WIP from '@/components/WIP.vue'
|
||||
|
||||
@@ -1,31 +1,9 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="flex px-4 pt-5 pb-3 items-baseline font-heading">
|
||||
<span class="text-lg">{{ $t('preview.title') }}</span>
|
||||
|
||||
<span class="text-zinc-600">(Nano_D++)</span>
|
||||
</div>
|
||||
<div class="flex justify-center">
|
||||
<div
|
||||
class="flex bg-cover mb-6 w-72 aspect-square"
|
||||
style="background-image: url(src/assets/icons/xl-bg-ico.svg)">
|
||||
<div class="flex flex-col w-full justify-center m-9 rounded-full overflow-hidden">
|
||||
<div class="self-center w-8 mb-1 opacity-50">
|
||||
<img src="@/assets/icons/ico-midi-logo.svg" alt="midi-logo">
|
||||
</div>
|
||||
<h2 class="self-center font-pixellg text-5xl ">1337</h2>
|
||||
<div class="self-center font-pixelsm text-md pt-1 pb-2">Profile name</div>
|
||||
<DeviceBar class="self-center" />
|
||||
<span
|
||||
class="self-center text-center w-48 font-pixelsm text-xs text-muted-foreground">
|
||||
Profile description will go here! And hopefully it will be a long one! Much longer than this one! Actually, this is probably long enough. I don't think we need to make it any longer...
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="background-image: url(../../assets/images/renderNano.png)">
|
||||
<div class="flex px-4 pt-5 pb-3 items-baseline font-heading text-lg">
|
||||
{{ $t('preview.title') }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import DeviceBar from '@/components/device/DeviceBar.vue'
|
||||
import DeviceBackground from '@/assets/icons/xl-bg-ico.svg'
|
||||
</script>
|
||||
31
src/components/old/DevicePreviewOld.vue
Normal file
31
src/components/old/DevicePreviewOld.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="flex px-4 pt-5 pb-3 items-baseline font-heading">
|
||||
<span class="text-lg">{{ $t('preview.title') }}</span>
|
||||
|
||||
<span class="text-zinc-600">(Nano_D++)</span>
|
||||
</div>
|
||||
<div class="flex justify-center">
|
||||
<div
|
||||
class="flex bg-cover mb-6 w-72 aspect-square"
|
||||
style="background-image: url(../../assets/icons/xl-bg-ico.svg)">
|
||||
<div class="flex flex-col w-full justify-center m-9 rounded-full overflow-hidden">
|
||||
<div class="self-center w-8 mb-1 opacity-50">
|
||||
<img src="../../assets/logos/logoMidi.svg" alt="midi-logo">
|
||||
</div>
|
||||
<h2 class="self-center font-pixellg text-5xl ">1337</h2>
|
||||
<div class="self-center font-pixelsm text-md pt-1 pb-2">Profile name</div>
|
||||
<DeviceBar class="self-center" />
|
||||
<span
|
||||
class="self-center text-center w-48 font-pixelsm text-xs text-muted-foreground">
|
||||
Profile description will go here! And hopefully it will be a long one! Much longer than this one! Actually, this is probably long enough. I don't think we need to make it any longer...
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import DeviceBar from '@/components/device/DeviceBar.vue'
|
||||
import DeviceBackground from '@/assets/icons/xl-bg-ico.svg'
|
||||
</script>
|
||||
Reference in New Issue
Block a user