From d86593843033c70bf103dcb04514c9e5e5d885e6 Mon Sep 17 00:00:00 2001 From: Kenryu Shibata Date: Thu, 3 Oct 2024 16:22:20 +0900 Subject: [PATCH] 10/3/24 --- assets/styles/app.css | 20 +- assets/styles/color-pallet.css | 1 + components/LinkCard.vue | 71 ++ components/NewsCard.vue | 33 +- components/PageTop.vue | 9 +- components/TheFooter.vue | 25 +- components/TheHeader.vue | 4 +- composables/windowDimensions.ts | 13 +- docs/assets/highlight.css | 7 + docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- ...osables_windowDimensions.ViewPortType.html | 6 +- .../utils_dropDown.DropDownAlignment.html | 6 +- docs/enums/utils_dropDown.DropDownMode.html | 6 +- docs/enums/utils_news.EntryType.html | 4 + docs/functions/api_getArticle.default.html | 9 + .../functions/api_getArticleList.default.html | 7 + docs/functions/api_getTime.default.html | 5 +- ..._windowDimensions.useWindowDimensions.html | 6 +- ...utils_asyncDatabase.asyncDatabaseRead.html | 6 + ...tils_asyncDatabase.asyncDatabaseWrite.html | 6 + ...utils_generateSeoMeta.generateSeoMeta.html | 13 + docs/index.html | 11 +- .../utils_dropDown.DropDownEntry.html | 6 +- .../utils_dropDown.DropDownProperty.html | 12 +- docs/interfaces/utils_news.ArticleInfo.html | 11 + docs/interfaces/utils_news.NewsEntry.html | 12 + .../utils_newsCard.NewsCardProperty.html | 6 + .../utils_pageTop.PageTopProperty.html | 6 + docs/modules/api_getArticle.html | 3 + docs/modules/api_getArticleList.html | 3 + docs/modules/api_getTime.html | 3 +- docs/modules/utils_asyncDatabase.html | 6 + docs/modules/utils_generateSeoMeta.html | 3 + docs/modules/utils_news.html | 5 + docs/modules/utils_newsCard.html | 3 + docs/modules/utils_pageTop.html | 3 + ...ase.asyncDatabaseRowsCallbackFunction.html | 2 + ...ase.asyncDatabaseVoidCallbackFunction.html | 2 + eslint.config.js | 180 ++-- nuxt.config.ts | 9 +- package-lock.json | 919 ++++-------------- package.json | 5 +- pages/index.vue | 24 +- pages/news/[article].vue | 2 + pages/news/index.vue | 4 +- pages/projects/index.vue | 176 +++- pages/projects/rocket.vue | 108 +- public/images/cansat_top.jpg | Bin 0 -> 554972 bytes public/images/education-1.jpg | Bin 0 -> 300081 bytes public/images/kosen1_gunma-cgv5-a.JPG | Bin 0 -> 1859919 bytes public/images/licenseNotices.md | 2 + public/images/news-top.jpg | Bin 0 -> 94202 bytes public/images/page-top.jpg | Bin 0 -> 75136 bytes public/images/rocket/alpha3.jpg | Bin 0 -> 212521 bytes public/images/rocket/rocket_02.jpg | Bin 0 -> 207906 bytes public/images/rocket_top.jpg | Bin 0 -> 445511 bytes server/api/getArticle.ts | 5 +- server/api/getNewsList.ts | 5 +- utils/asyncDatabase.ts | 16 +- utils/linkCard.ts | 20 + utils/news.ts | 3 +- 62 files changed, 931 insertions(+), 905 deletions(-) create mode 100644 components/LinkCard.vue create mode 100644 docs/enums/utils_news.EntryType.html create mode 100644 docs/functions/api_getArticle.default.html create mode 100644 docs/functions/api_getArticleList.default.html create mode 100644 docs/functions/utils_asyncDatabase.asyncDatabaseRead.html create mode 100644 docs/functions/utils_asyncDatabase.asyncDatabaseWrite.html create mode 100644 docs/functions/utils_generateSeoMeta.generateSeoMeta.html create mode 100644 docs/interfaces/utils_news.ArticleInfo.html create mode 100644 docs/interfaces/utils_news.NewsEntry.html create mode 100644 docs/interfaces/utils_newsCard.NewsCardProperty.html create mode 100644 docs/interfaces/utils_pageTop.PageTopProperty.html create mode 100644 docs/modules/api_getArticle.html create mode 100644 docs/modules/api_getArticleList.html create mode 100644 docs/modules/utils_asyncDatabase.html create mode 100644 docs/modules/utils_generateSeoMeta.html create mode 100644 docs/modules/utils_news.html create mode 100644 docs/modules/utils_newsCard.html create mode 100644 docs/modules/utils_pageTop.html create mode 100644 docs/types/utils_asyncDatabase.asyncDatabaseRowsCallbackFunction.html create mode 100644 docs/types/utils_asyncDatabase.asyncDatabaseVoidCallbackFunction.html create mode 100644 public/images/cansat_top.jpg create mode 100644 public/images/education-1.jpg create mode 100644 public/images/kosen1_gunma-cgv5-a.JPG create mode 100644 public/images/licenseNotices.md create mode 100644 public/images/news-top.jpg create mode 100644 public/images/page-top.jpg create mode 100644 public/images/rocket/alpha3.jpg create mode 100644 public/images/rocket/rocket_02.jpg create mode 100644 public/images/rocket_top.jpg create mode 100644 utils/linkCard.ts diff --git a/assets/styles/app.css b/assets/styles/app.css index 8eff43b..26fc707 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -6,6 +6,11 @@ src: url("../fonts/NotoSansJP-VariableFont_wght.ttf") format("truetype"); } +:root { + --main-margin-top-bottom: 2rem; + --main-margin-left-right: 5rem; +} + * { font-family: "Noto Sans JP"; } @@ -14,20 +19,15 @@ display: grid; } -.page-enter-active, -.page-leave-active { - transition: all ease-in-out 0.4s; -} - -.page-enter-from, -.page-leave-to { - opacity: 0; -} - body { margin: 0; } +main { + margin: var(--main-margin-top-bottom) var(--main-margin-left-right); +} + + html { font-size: 16px; scrollbar-width: none; diff --git a/assets/styles/color-pallet.css b/assets/styles/color-pallet.css index 5936a02..dc2f6d1 100644 --- a/assets/styles/color-pallet.css +++ b/assets/styles/color-pallet.css @@ -15,6 +15,7 @@ --starlight: #efefe8; --starship: #e3dd39; --sun2: #ef8e38; + --sun4: #d70040; --sunlight: #fff8df; --uranus: #ace5ee; --venus1: #eed053; diff --git a/components/LinkCard.vue b/components/LinkCard.vue new file mode 100644 index 0000000..903075f --- /dev/null +++ b/components/LinkCard.vue @@ -0,0 +1,71 @@ + + + + + \ No newline at end of file diff --git a/components/NewsCard.vue b/components/NewsCard.vue index a6aa521..7cd4701 100644 --- a/components/NewsCard.vue +++ b/components/NewsCard.vue @@ -8,11 +8,18 @@ const datePosted = new Date( property.newsEntry.date as number ).toLocaleDateString("ja-JP", { dateStyle: "medium" }); -const coverImagePath = ref(property.newsEntry.coverImagePath ? property.newsEntry.coverImagePath : "/sera-logo-text.svg"); +const coverImagePath = ref( + property.newsEntry.coverImagePath + ? property.newsEntry.coverImagePath + : "/sera-logo-text.svg" +); @@ -74,7 +75,7 @@ useSeoMeta( diff --git a/pages/news/[article].vue b/pages/news/[article].vue index e86d969..b58a5cd 100644 --- a/pages/news/[article].vue +++ b/pages/news/[article].vue @@ -40,6 +40,7 @@ onMounted(() => {