![]()
-
+
![]()
-
+
![]()
-
+
{{ props.text ?? (type === 'empty' ? i18n.ts.nothing : type === 'notFound' ? i18n.ts.notFound : type === 'error' ? i18n.ts.somethingHappened : null) }}
@@ -66,18 +36,6 @@ const props = defineProps<{
position: relative;
text-align: center;
padding: 32px;
-
- &.error {
- .icon {
- color: var(--MI_THEME-error);
- }
- }
-
- &.warn {
- .icon {
- color: var(--MI_THEME-warn);
- }
- }
}
.img {
@@ -88,9 +46,8 @@ const props = defineProps<{
}
.icon {
- width: 64px;
- height: 64px;
+ width: 65px;
+ height: 65px;
margin: 0 auto;
- color: var(--MI_THEME-accent);
}
diff --git a/packages/frontend/src/components/global/MkSystemIcon.vue b/packages/frontend/src/components/global/MkSystemIcon.vue
new file mode 100644
index 0000000000..3285d5a940
--- /dev/null
+++ b/packages/frontend/src/components/global/MkSystemIcon.vue
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/frontend/src/components/index.ts b/packages/frontend/src/components/index.ts
index 33d3532c1d..9981772ae8 100644
--- a/packages/frontend/src/components/index.ts
+++ b/packages/frontend/src/components/index.ts
@@ -25,6 +25,7 @@ import MkPageHeader from './global/MkPageHeader.vue';
import MkStickyContainer from './global/MkStickyContainer.vue';
import MkLazy from './global/MkLazy.vue';
import MkResult from './global/MkResult.vue';
+import MkSystemIcon from './global/MkSystemIcon.vue';
import PageWithHeader from './global/PageWithHeader.vue';
import PageWithAnimBg from './global/PageWithAnimBg.vue';
import SearchMarker from './global/SearchMarker.vue';
@@ -63,6 +64,7 @@ export const components = {
MkStickyContainer: MkStickyContainer,
MkLazy: MkLazy,
MkResult: MkResult,
+ MkSystemIcon: MkSystemIcon,
PageWithHeader: PageWithHeader,
PageWithAnimBg: PageWithAnimBg,
SearchMarker: SearchMarker,
@@ -95,6 +97,7 @@ declare module '@vue/runtime-core' {
MkStickyContainer: typeof MkStickyContainer;
MkLazy: typeof MkLazy;
MkResult: typeof MkResult;
+ MkSystemIcon: typeof MkSystemIcon;
PageWithHeader: typeof PageWithHeader;
PageWithAnimBg: typeof PageWithAnimBg;
SearchMarker: typeof SearchMarker;
diff --git a/packages/frontend/src/pages/debug.vue b/packages/frontend/src/pages/debug.vue
new file mode 100644
index 0000000000..4dae1b57a9
--- /dev/null
+++ b/packages/frontend/src/pages/debug.vue
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Error
+ Warning
+ Info
+ Success
+ Question
+
+
+
+
+
+
+
diff --git a/packages/frontend/src/router.definition.ts b/packages/frontend/src/router.definition.ts
index 462b8e713f..5e0e6f7286 100644
--- a/packages/frontend/src/router.definition.ts
+++ b/packages/frontend/src/router.definition.ts
@@ -591,6 +591,10 @@ export const ROUTE_DEF = [{
path: '/reversi/g/:gameId',
component: page(() => import('@/pages/reversi/game.vue')),
loginRequired: false,
+}, {
+ path: '/debug',
+ component: page(() => import('@/pages/debug.vue')),
+ loginRequired: false,
}, {
// テスト用リダイレクト設定。ログイン中ユーザのプロフィールにリダイレクトする
path: '/redirect-test',