Supplementary guide 2: basic re-branding changes (2.0.2)

This is a supplementary guide to main Progressive Web Apps: 2.0.2 (build 11110) compilation documentation and covers basic re-branding changes. Please note that bellow changes will work only after all other compilation steps from the main guide are completed.

Guide assumes that you have already:
1. Downloaded  "Skmobileapp 2.0.2"  source code of apps from https://hello.skadate.com/index.php?rp=/download/category/27/Mobile-Applications.html
2. Unpacked downloaded skmobileapp.zip file. /skmobileapp/ folder was created.

The next step is making basic re-branding changes

Logo

1. Prepare logo.png image. Recommended size for square shape logos: 210x210px. Recommended size for rectangle type of logos: 512-600px wide.This image will be displayed above sign in form on a sign in page of app.

Place your logo image into skmobileapp/application/src/assets/img folder.

2. Open skmobileapp/application/src/pages/user/login/index.html file in code editor of your choice.
Find following line within the file: <img src="./assets/img/logo.svg" alt="" class="sk-logo" />
Replace it with: <img src="./assets/img/logo.png" alt="" class="sk-logo" />

3. Open skmobileapp/application/src/theme/page-variables/login/variables.scss in code editor of your choice.
Adjust 27vw value within $sk-login-logo-width: 27vw;  to set logo width.


Icons

1. Prepare pwa_icon.png image (512x512px).
Place your pwa_icon.png image into /skmobileapp/application/src/assets/img folder. Your icon must replace default heart pwa_icon.png. 

2. Prepare apple-touch-icon.png (512x512px) with background color ( background color is required). This icon will be used for iOS devices.

Place your apple-touch-icon.png image into /skmobileapp/application/src/assets/img folder. Your icon must replace default heart apple-touch-icon.png.

3. Prepare pwa_splash_icon.png (512x512px). This icon will appear on a splash screen while app is loading on a white background.

Place your pwa_splash_icon.png image into /skmobileapp/application/src/assets/img folder. Your icon must replace default heart pwa_splash_icon.png.


Preloader

1. Prepare pwa_preloader.png (512x512px) image. This image will be displayed when user signs-in or deletes their profile.
Place your pwa_preloader.png into skmobileapp/application/src/assests/img folder.

2. Open skmobileapp/application/src/shared/components/page-preloader/index.html in code editor of your choice.
Find following line within the file: <img src="./assets/img/page_preloader.svg" alt="" />
Replace it with: <img src="./assets/img/page_preloader.png" alt="" />

3. Open skmobileapp/application/src/shared/components/page-preloader/index.scss in code editor of your choice.

Find following CSS within the file:
.sk-page-preloader {
    position: absolute;
    @include position(0, 0, 0, 0);
    background-color: color($colors, light);
    z-index: 1000;
    @include flex(flex, column, center, center);
    @include animation(sk-preloader, 1.2s, linear, infinite);
}

Add following propery into the class from above:
img {
        width: 20rem;
    }

End result:
.sk-page-preloader {
    position: absolute;
    @include position(0, 0, 0, 0);
    background-color: color($colors, light);
    z-index: 1000;
    @include flex(flex, column, center, center);
    @include animation(sk-preloader, 1.2s, linear, infinite);
    img {
        width: 20rem;
    }
}


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Progressive Web Apps: 2.0.2 (build 11110) compilation & installation

This is the main guide for compiling and installing SkaDate web applications (version 2.0.2...

Supplementary guide 4: custom re-branding changes (2.0.2) (optional)

This is a supplementary guide to main Progressive Web Apps: 2.0.2 (build10) compilation...

Supplementary guide 3: preparing application.config.json (2.0.2)

This is a supplementary guide to main Progressive Web Apps: 2.0.2 (build 11110) compilation...

Supplementary guide 1: obtaining Firebase project credentials

Firebase project credentails are used within application.config.json . After you complete all...

Supplementary guide 5: sharing access details with SkaDate team

SkaDate team needs following access details to compile and configure  web apps(PWA) for you:...