diff --git a/src/resources/vue/components/Box.vue b/src/resources/vue/components/Box.vue index f69ed97..a54a1bc 100644 --- a/src/resources/vue/components/Box.vue +++ b/src/resources/vue/components/Box.vue @@ -1,27 +1,31 @@ + \ No newline at end of file diff --git a/src/resources/vue/components/ItemCard.vue b/src/resources/vue/components/ItemCard.vue index bfa62da..5a8944d 100644 --- a/src/resources/vue/components/ItemCard.vue +++ b/src/resources/vue/components/ItemCard.vue @@ -3,8 +3,8 @@
-

{{ title }}

-

{{ description }}

+

{{ title }}

+

{{ description }}

@@ -14,56 +14,55 @@ - + \ No newline at end of file diff --git a/src/resources/vue/components/icon.vue b/src/resources/vue/components/icon.vue index b20a4b1..5e62ac5 100644 --- a/src/resources/vue/components/icon.vue +++ b/src/resources/vue/components/icon.vue @@ -1,5 +1,5 @@ - + diff --git a/src/resources/vue/components/terminal-scan.vue b/src/resources/vue/components/terminal-scan.vue index 1edfbce..48c8f87 100644 --- a/src/resources/vue/components/terminal-scan.vue +++ b/src/resources/vue/components/terminal-scan.vue @@ -1,14 +1,17 @@ @@ -16,18 +19,41 @@ import Box from '../components/Box.vue'; import Button from '../components/Button.vue'; import Input from '../components/Input.vue'; + import Icon from '../components/icon.vue'; export default { name: 'index', components: { Box, Button, - Input + Input, + Icon }, methods: { searchInput() { - // TODO: Implement search input - console.log('Search input'); + // TODO: Search for library pass or item + }, + }, + props: { + direction: { + type: String, + default: 'column', + }, + text: { + type: String, + default: 'Lorem Ipsum Text', + }, + placeholder: { + type: String, + default: 'Placeholder', + }, + icon: { + type: String, + default: 'default', + }, + buttonText: { + type: String, + default: 'Button', }, }, }; @@ -41,6 +67,10 @@ gap: 40px; margin-bottom: 17px; + &.column { + flex-direction: column !important; + } + .text { color: #000; max-width: 245px; @@ -55,6 +85,21 @@ } } + .form { + display: flex; + flex-direction: column; + align-items: center; + gap: 7px; + + .form-input { + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + gap: 10px; + } + } + .button { margin-top: 15px; } diff --git a/src/resources/vue/pages/index.vue b/src/resources/vue/pages/index.vue index 505b780..4f68779 100644 --- a/src/resources/vue/pages/index.vue +++ b/src/resources/vue/pages/index.vue @@ -1,8 +1,35 @@ \ No newline at end of file + import TerminalScan from "../components/terminal-scan.vue"; + + export default { + name: "Index", + components: { + TerminalScan, + }, + }; + + \ No newline at end of file