new landing page ui

This commit is contained in:
Emily
2024-07-23 18:13:45 +02:00
parent 3eb32145aa
commit e6c9ad9470
7 changed files with 459 additions and 109 deletions

View File

@@ -0,0 +1,25 @@
<script lang="ts" setup>
const props = defineProps<{ placeholder?: string, modelValue: string }>();
const emits = defineEmits<{
(e: "update:modelValue", value: string): void
}>();
const handleChange = (event: Event) => {
const target = event.target as HTMLInputElement;
emits('update:modelValue', target.value);
};
//TODO: FUNCTIONALITY + PLACEHOLDER DARK
</script>
<template>
<input class="bg-lyx-widget-light text-lyx-text-dark poppins rounded-md outline outline-[1px] outline-lyx-widget-lighter" type="text"
:placeholder="props.placeholder"
:value="props.modelValue"
@input="handleChange">
</template>