From 55d6f26542564fc9764151d6ead655909246ed81 Mon Sep 17 00:00:00 2001 From: edmishchenko <87074420+edmishchenko@users.noreply.github.com> Date: Wed, 24 Jan 2024 15:06:09 +0100 Subject: [PATCH] Update getStarted files --- docs/css/getStarted.css | 36 ++++++++++++++++++---- docs/getStarted.html | 68 ++++++++++++++++++++++------------------- 2 files changed, 67 insertions(+), 37 deletions(-) diff --git a/docs/css/getStarted.css b/docs/css/getStarted.css index c67af99..7fe5269 100644 --- a/docs/css/getStarted.css +++ b/docs/css/getStarted.css @@ -12,6 +12,9 @@ body { header { padding: 40px 5%; + width: 100%; + margin: 0 auto; + max-width: 1400px; display: flex; justify-content: space-between; align-content: end; @@ -104,6 +107,8 @@ header .logo-red { main { padding: 20px 5%; + margin: 0 auto; + max-width: 1400px; display: flex; } @@ -115,13 +120,16 @@ main .second-column { width: 70%; padding-right: 5%; margin-left: 22%; - font-family: 'Inter', sans-serif; + font-family: 'Mona Sans', sans-serif; } main .third-column { width: 20%; + max-width: 500px; display: flex; position: fixed; + font-family: 'Mona Sans', sans-serif; + font-weight: 400; } main .third-column .tree-container { @@ -131,30 +139,32 @@ main .third-column .tree-container { font-weight: 400; color: rgba(130, 130, 130, 1); line-height: 38px; + font-family: 'Mona Sans', sans-serif; } main .third-column .tree-container p { line-height: 30px; + font-family: 'Mona-Sans', sans-serif; + font-weight: 400; } main .third-column .tree-container p a{ font-weight: 400; margin: 0 0 18px; color: rgba(81, 81, 81, 1); - padding-left: 16px; + } main .third-column .tree-container p a .current-dot { - position: absolute; - left: 0; padding-top: 5px; + padding-right: 12px; color: transparent; } main .third-column .tree-container a { text-decoration: none; font-size: 16px; - font-family: 'Inter', sans-serif; + font-family: 'Mona Sans', sans-serif; font-weight: 500; line-height: 19px; color: rgba(51, 51, 51, 1); @@ -330,6 +340,8 @@ main .second-column .container .article-block{ border-radius: 12px; margin-bottom: 16px; margin-right: 16px; + display: flex; + flex-direction: column; } main .second-column .container .article-block img { @@ -344,7 +356,8 @@ main .second-column .container .article-block p { font-size: 20px; line-height: 24px; margin-top: 0; - margin-bottom: 38px; + padding-bottom: 28px; + margin-bottom: auto; } main .second-column .container .article-block button { @@ -358,6 +371,8 @@ main .second-column .container .article-block button { line-height: 19px; width: 100%; font-family: 'Inter', sans-serif; + margin-top: auto; + margin-bottom: 18px; } main .second-column .container .article-block button:hover { @@ -427,7 +442,16 @@ footer .social-media-container svg { box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.04); transition: opacity 0.5s ease, transform 0.5s ease; display: block; + margin-left: -5%; + padding-left: 5%; + } + + main .third-column .tree-container { + padding-left: 15%; + } + main .third-column .tree-container p a { + line-height: 50px; } main .second-column .container { diff --git a/docs/getStarted.html b/docs/getStarted.html index 1abcf87..1237ab7 100644 --- a/docs/getStarted.html +++ b/docs/getStarted.html @@ -40,9 +40,9 @@

1. Prerequisites

  1. Xcode (For macOS): If you don't have Xcode installed, it is recommended to install it from the Mac App Store. Xcode includes Swift, and the installation of Xcode will automatically include Swift as part of the development tools.
  2. Android Studio: Android Studio is the official integrated development environment (IDE) for Android app development. You can download Android Studio from the official website: Android Studio Download.
  3. + href="https://developer.android.com/studio"> Android Studio Download.
  4. SCADE IDE (Optional): If you are interested in using Scade for Swift development, you can download it from SCADE's official website: Scade Download.
  5. + href="https://www.scade.io/download">Scade Download.

2. How to Install Swift for Android

For macOS

@@ -57,7 +57,7 @@

For macOS

  • Run the downloaded installer and follow the setup instructions.
  • Launch Android Studio eand complete the initial configuration, including the installation of the Android SDK.
  • Install Android NDK, by clicking on Tools -> SDK Manager -> SDK Tools tab. Select the NDK(side by side) and CMake checkboxes. Click OK to download and install.
  • -
  • Install Android Emulator if you want to run on Android emulators
  • +
  • Install Android Emulator if you want to run on Android emulators
    1. @@ -88,7 +88,7 @@

      For Linux

      Currently Swift for Android is available for macOS only. It will be available for Linux very soon.

      3. Next Steps: Create a Hello World App on Android Studio using Swift

      -
      Refer here to quickly create and run the app on Android Studio using Swift.
      +
      Refer here to quickly create and run the app on Android Studio using Swift.

      How to Create a Hello World Application

        @@ -337,7 +337,7 @@

        Run the Hello World App

        -

        Source Code: Please find the source code of Hello World App(Swift for Android) here

        +

        Source Code: Please find the source code of Hello World App(Swift for Android) here

        Go Further

        @@ -347,38 +347,44 @@

        Go Further

        Implement RecyclerView using Swift PM libraries

        - + + +
        -

        Implement RecyclerView using Swift PM libraries

        - -
        -
        - -

        Implement RecyclerView using Swift PM libraries

        - +

        Swift for Android: How to use Swift-Crypto with Android Studio

        + + +
        -

        Implement RecyclerView using Swift PM libraries

        - -
        -
        - -

        Implement RecyclerView using Swift PM libraries

        - +

        Using Swift PM libraries in the Android Studio projects

        + + +
        + + + + + + + + + + + + + +
        @@ -532,7 +538,7 @@

        Go Further

        const targetId = link.getAttribute('href').substring(1); const targetElement = document.getElementById(targetId); if (targetElement) { - observer = new IntersectionObserver(handleIntersection, { threshold: 0.5 }); + observer = new IntersectionObserver(handleIntersection, { threshold: 1 }); observer.observe(targetElement); }