Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
スペース -> タブ
  • Loading branch information
arrow2nd committed Feb 21, 2023
1 parent a1402a4 commit 5acc047
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/.vuepress/mitheme/src/client/layouts/Landing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

<Navbar @toggle-sidebar="toggleSidebar"/>

<div class="sidebar-mask" @click="toggleSidebar(false)" />
<div class="sidebar-mask" @click="toggleSidebar(false)" />

<Sidebar>
<template #bottom>
<Sidebar>
<template #bottom>
<MkDots :class="$style.sidebarDots" :space="12"/>
<MkAd :class="$style.koko9" class="mkAd"/>
</template>
</Sidebar>
<MkAd :class="$style.koko9" class="mkAd"/>
</template>
</Sidebar>

<div class="top">
<ClientOnly>
Expand Down Expand Up @@ -204,8 +204,8 @@
<script lang="ts" setup>
import { ref, onMounted } from 'vue';
import {
ClientOnly,
usePageFrontmatter,
ClientOnly,
usePageFrontmatter,
} from '@vuepress/client';
import Navbar from '@theme/Navbar.vue'
import Sidebar from '@theme/Sidebar.vue'
Expand Down Expand Up @@ -250,13 +250,13 @@ const vFadeIn = {
let particleEnabled = ref(true);
const isSidebarOpen = ref(false);
const toggleSidebar = (to?: boolean): void => {
isSidebarOpen.value = typeof to === 'boolean' ? to : !isSidebarOpen.value;
isSidebarOpen.value = typeof to === 'boolean' ? to : !isSidebarOpen.value;
}
onMounted(() => {
const lang = navigator.language.toLowerCase();
if (location.pathname === '/' && lang.startsWith('it')) {
location.href = '/it/';
location.href = '/it/';
} else {
if (location.pathname === '/' && !lang.startsWith('ja')) {
location.href = '/en/';
Expand Down Expand Up @@ -301,12 +301,12 @@ onMounted(() => {
.fade-enter-active,
.fade-leave-active {
transition: opacity 1s ease;
transition: opacity 1s ease;
}
.fade-enter-from,
.fade-leave-to {
opacity: 0;
opacity: 0;
}
@keyframes spin {
Expand All @@ -329,10 +329,10 @@ html {
> .bg {
position: absolute;
top: 0;
top: 0;
left: 0;
width: 100%;
height: 100%;
height: 100%;
overflow: hidden;
> .object1 {
Expand Down Expand Up @@ -383,7 +383,7 @@ html {
> .top {
position: relative;
padding-top: var(--globalHeaderHeight);
padding-top: var(--globalHeaderHeight);
height: 1200px;
> .container {
Expand Down Expand Up @@ -484,7 +484,7 @@ html {
> .dots1 {
position: absolute;
right: 900px;
top: calc(200px + var(--globalHeaderHeight, 0px));
top: calc(200px + var(--globalHeaderHeight, 0px));
width: 300px;
height: 300px;
color: var(--c-brand);
Expand All @@ -495,7 +495,7 @@ html {
> .dots2 {
position: absolute;
right: 120px;
top: calc(500px + var(--globalHeaderHeight, 0px));
top: calc(500px + var(--globalHeaderHeight, 0px));
width: 300px;
height: 300px;
color: var(--c-brand);
Expand All @@ -506,7 +506,7 @@ html {
> .screenshot.desktop {
position: absolute;
right: 300px;
top: calc(128px + var(--globalHeaderHeight, 0px));
top: calc(128px + var(--globalHeaderHeight, 0px));
width: 800px;
border-radius: 10px;
box-shadow: 2px 2px 32px rgba(0, 0, 0, 0.1);
Expand All @@ -517,7 +517,7 @@ html {
> .screenshot.mobile {
position: absolute;
right: 650px;
top: calc(400px + var(--globalHeaderHeight, 0px));
top: calc(400px + var(--globalHeaderHeight, 0px));
height: 400px;
border-radius: 10px;
box-shadow: 2px 2px 32px rgba(0, 0, 0, 0.1);
Expand All @@ -528,7 +528,7 @@ html {
> .ai {
position: absolute;
right: 130px;
top: calc(128px + var(--globalHeaderHeight, 0px));
top: calc(128px + var(--globalHeaderHeight, 0px));
height: 900px;
}
Expand Down

0 comments on commit 5acc047

Please sign in to comment.