1c5c2eed7Sopenharmony_ci/*
2c5c2eed7Sopenharmony_ci * Copyright (c) 2023 Huawei Device Co., Ltd.
3c5c2eed7Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4c5c2eed7Sopenharmony_ci * you may not use this file except in compliance with the License.
5c5c2eed7Sopenharmony_ci * You may obtain a copy of the License at
6c5c2eed7Sopenharmony_ci *
7c5c2eed7Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8c5c2eed7Sopenharmony_ci *
9c5c2eed7Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10c5c2eed7Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11c5c2eed7Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12c5c2eed7Sopenharmony_ci * See the License for the specific language governing permissions and
13c5c2eed7Sopenharmony_ci * limitations under the License.
14c5c2eed7Sopenharmony_ci */
15c5c2eed7Sopenharmony_ci
16c5c2eed7Sopenharmony_ciimport Constants from '../common/utils/constant';
17c5c2eed7Sopenharmony_ciconst ICON_SIZE = 150;
18c5c2eed7Sopenharmony_ci
19c5c2eed7Sopenharmony_ci@Entry
20c5c2eed7Sopenharmony_ci@Component
21c5c2eed7Sopenharmony_cistruct Transition {
22c5c2eed7Sopenharmony_ci
23c5c2eed7Sopenharmony_ci  build() {
24c5c2eed7Sopenharmony_ci    Flex({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }) {
25c5c2eed7Sopenharmony_ci      Image($r('app.media.app_icon'))
26c5c2eed7Sopenharmony_ci        .width(ICON_SIZE)
27c5c2eed7Sopenharmony_ci    }
28c5c2eed7Sopenharmony_ci    .width(Constants.FULL_WIDTH)
29c5c2eed7Sopenharmony_ci    .height(Constants.FULL_HEIGHT)
30c5c2eed7Sopenharmony_ci  }
31c5c2eed7Sopenharmony_ci}