diff --git a/src/components/HeadLine.vue b/src/components/HeadLine.vue index 0e5cb51..3b61b4d 100644 --- a/src/components/HeadLine.vue +++ b/src/components/HeadLine.vue @@ -5,7 +5,7 @@
{{ line1 }}
-+
{{ line2 }}
@@ -28,6 +28,9 @@ const props = defineProps({ line2: { type: String, }, + margin: { + type: Boolean, + }, }) onMounted(() => { const observer = new IntersectionObserver(entries => { @@ -82,8 +85,11 @@ const animateCSS = (node, animation, prefix = 'animate__') => font-size: 18px; font-weight: 300; color: #686868; + max-width: 70vw; line-height: 28px; - white-space: nowrap; + } + .mt { + margin-top: 30px; } } diff --git a/src/components/Header.vue b/src/components/Header.vue index dd8af03..b35b0f6 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -182,6 +182,9 @@ onMounted(() => { if (path == '/product') { activeTab.value = 2 } + if (path == '/about') { + activeTab.value = 1 + } if (path == '/') { activeTab.value = 0 } diff --git a/src/components/about/About.vue b/src/components/about/About.vue new file mode 100644 index 0000000..b5d41a1 --- /dev/null +++ b/src/components/about/About.vue @@ -0,0 +1,35 @@ + +