diff --git a/app.vue b/app.vue index 70b1a23..3bd5bd8 100644 --- a/app.vue +++ b/app.vue @@ -22,7 +22,7 @@ provide(ID_INJECTION_KEY, { current: 0 }) -const { loadMenuData } = useLoadComposable() +const { loadMenuData } = useFetchComposable() const seoTitle = 'Developer Dewdew | 개발자 이연주' const seoDescription = '안녕하세요. FE 개발자 이연주입니다.' diff --git a/assets/scss/mobile/pages/tech_list.scss b/assets/scss/mobile/pages/tech_list.scss index af28137..bc00b34 100644 --- a/assets/scss/mobile/pages/tech_list.scss +++ b/assets/scss/mobile/pages/tech_list.scss @@ -9,13 +9,16 @@ .write-button-container { margin-left: unset; } - .tech-timeline { + .articles { padding-left: unset; .tech-card { - .card-header { + .card-card-title { flex-direction: column; align-items: flex-start; } + .card-sub-head { + width: $space-percent-100; + } } } } diff --git a/assets/scss/shared/components/header.scss b/assets/scss/shared/components/header.scss index a5e3b25..50933d8 100644 --- a/assets/scss/shared/components/header.scss +++ b/assets/scss/shared/components/header.scss @@ -10,7 +10,7 @@ align-items: center; background-color: var(--d-header-bg-color); filter: alpha(opacity=30); - z-index: 100; + z-index: 10; .header-container { width: $space-1000; .logo { @@ -34,25 +34,6 @@ } } } - .float-mobile-menu { - position: fixed; - align-items: center; - bottom: calc($space-20vh + $space-10vh); - right: $space-30; - opacity: .4; - width: $space-50; - height: calc($space-200 + $space-60); - padding: $space-4 0; - gap: $space-8; - border-radius: $space-12; - background-color: var(--d-bg-white-color); - .mobile-menu-links { - margin: $space-4 auto; - @include headline3; - color: var(--d-text-dark-color); - cursor: pointer; - } - } .github { padding: $space-2 0; cursor: pointer; @@ -60,4 +41,21 @@ height: auto; } } +} + +.mobile-logo { + cursor: pointer; +} + +.mobile-menu-links { + @include headline4; + text-decoration: none; + transition: all .1s ease-in-out; + cursor: pointer; + &:hover { + scale: 1.1; + } + &:hover, &:focus { + cursor: pointer; + } } \ No newline at end of file diff --git a/assets/scss/shared/pages/tech_detail.scss b/assets/scss/shared/pages/tech_detail.scss index fbc2b9e..a9cecea 100644 --- a/assets/scss/shared/pages/tech_detail.scss +++ b/assets/scss/shared/pages/tech_detail.scss @@ -65,15 +65,7 @@ margin: $space-20 $space-10; @include headline4; } - .el-timeline { - margin-top: $space-20; - .el-timeline-item { - width: $space-percent-100; - .el-timeline-item__content { - @include tiptap-template; - } - } - } + @include tiptap-template; .message-component { .name { @include headline6; diff --git a/assets/scss/shared/pages/tech_list.scss b/assets/scss/shared/pages/tech_list.scss index e53d4ff..254e565 100644 --- a/assets/scss/shared/pages/tech_list.scss +++ b/assets/scss/shared/pages/tech_list.scss @@ -7,7 +7,6 @@ */ .tech-lists { position: relative; - height: $space-80vh; width: $space-100vw; overflow-x: hidden; .write-button-container { @@ -15,13 +14,9 @@ margin-top: $space-100; overflow-y: auto; } - .tech-timeline { + .articles { max-height: $space-60vh; width: $space-80vw; - scrollbar-width: none; - ::-webkit-scrollbar { - display: none; - } .tech-card { cursor: pointer; .title { diff --git a/components/AHeader.client.vue b/components/AHeader.client.vue index d5120ab..4a24278 100644 --- a/components/AHeader.client.vue +++ b/components/AHeader.client.vue @@ -13,14 +13,13 @@
@@ -68,7 +67,6 @@ + + +
+
+ + + + {{ menu.title }} + + +
@@ -93,6 +137,7 @@ const { url } = useImageStorage() const desktopModeTrigger = computed(() => { return width.value > 999 }) +const sideMenuTrigger = ref(false) const locales = [ { label: t('localeMenu.korean'), value: 'ko' }, @@ -118,4 +163,9 @@ const isDark = computed({ } }) +const clickLogo = () => { + navigateTo('/') + sideMenuTrigger.value = false +} + diff --git a/components/atoms/CardComponent.vue b/components/atoms/CardComponent.vue index 36d8d47..6cd33ed 100644 --- a/components/atoms/CardComponent.vue +++ b/components/atoms/CardComponent.vue @@ -1,16 +1,26 @@