/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { router } from '@kit.ArkUI';

@Entry
@Component
struct Index {

  build() {
    Row(){
      Column(){
        Button($r('app.string.SideSheet10'))
          .width('100%').fontSize('20vp')
          .margin({ bottom: 15})
          .onClick(()=>{ router.pushUrl({url: 'pages/simpleBindSheet/Index'}) })

        Button($r('app.string.SideSheet6'))
          .width('100%').fontSize('20vp')
          .margin({ bottom: 15})
          .onClick(()=>{ router.pushUrl({url: 'pages/multiDeviceConversion/Index'}) })

        Button($r('app.string.SideSheet7'))
          .width('100%').fontSize('20vp')
          .margin({ bottom: 15})
          .onClick(()=>{ router.pushUrl({url: 'pages/sidePolymorphicStyle/Index'}) })

        Button($r('app.string.SideSheet8'))
          .width('100%').fontSize('20vp')
          .margin({ bottom: 15})
          .onClick(()=>{ router.pushUrl({url: 'pages/showInSubwindow/Index'}) })
        Button('popup sheet avoid keyboard')
          .width('100%').fontSize('20vp')
          .margin({ bottom: 15})
          .onClick(()=>{ router.pushUrl({url: 'pages/popupAvoidKeyboard/Index'}) })
        Button($r('app.string.AccessibilityModal'))
          .width('100%').fontSize('20vp')
          .margin({ bottom: 15})
          .onClick(()=>{ router.pushUrl({url: 'pages/accessibilityModal/Index'}) })
        Button($r('app.string.MaxHeight1'))
 	           .width('100%').fontSize('20vp')
 	           .margin({ bottom: 15})
 	           .onClick(()=>{ router.pushUrl({url: 'pages/maxHeight/Index'}) })
 	 
 	         Button($r('app.string.AvoidKeyboard1'))
 	           .width('100%').fontSize('20vp')
 	           .margin({ bottom: 15})
 	           .onClick(()=>{ router.pushUrl({url: 'pages/avoidKeyboard/Index'}) })
      }
      .width('100%')
    }
    .height('100%')
  }
}