forked from flutter/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure flutter-for/react-native is mobile-friendly by making images r…
…esponsive (flutter#1790) * Ensure flutter-for/react-native is mobile-friendly by making images responsive - Make flutter-for/react-native mobile friendly by making images responsive. - Move flutter-for images into _assets folder (contributes to flutter#1303) - Fix 404 for `/docs/get-started/flutter-for/react-native-devs/images` * Ensure two gesture GIFs are of the same size
- Loading branch information
Showing
49 changed files
with
64 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.3 KB
src/_assets/image/get-started/android/react-native/flutter-gestures.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added
BIN
+14.6 KB
src/_assets/image/get-started/android/react-native/hello-world-basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Oops, something went wrong.
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
Oops, something went wrong.
File renamed without changes
26 changes: 26 additions & 0 deletions
26
src/docs/get-started/flutter-for/_android-ios-figure-pair.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% comment %} | ||
TODO: Fernando, should we set all `figure-caption` to have centered text, | ||
or locally use class="text-center"? I'd favor the former. | ||
I've (chalin) temporarily used .text-center below. | ||
|
||
Sadly, Jekyll doesn't seem to supported nested includes, so the following won't work: | ||
|
||
{% include app-figure.md image="{{include.image}}" platform="Android" %} | ||
{% include app-figure.md image="{{include.image}}" platform="iOS" %} | ||
|
||
{% endcomment -%} | ||
|
||
<figure class="site-figure"> | ||
<div class="site-figure-container"> | ||
{% asset 'get-started/android/{{include.image}}' | ||
alt='{{include.alt}} on Android' | ||
class='{{include.class}}' %} | ||
<figcaption class="figure-caption">Android</figcaption> | ||
</div> | ||
<div class="site-figure-container"> | ||
{% asset 'get-started/ios/{{include.image}}' | ||
alt='{{include.alt}} on iOS' | ||
class='{{include.class}}' %} | ||
<figcaption class="figure-caption">iOS</figcaption> | ||
</div> | ||
</figure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-240 KB
src/docs/get-started/flutter-for/react-native-devs/images/6b18b6e158b15685.png
Diff not rendered.
Binary file removed
BIN
-85.5 KB
src/docs/get-started/flutter-for/react-native-devs/images/android.png
Diff not rendered.
Binary file removed
BIN
-35.4 KB
src/docs/get-started/flutter-for/react-native-devs/images/canvas_android.png
Diff not rendered.
Binary file removed
BIN
-25 KB
src/docs/get-started/flutter-for/react-native-devs/images/canvas_iOS.png
Diff not rendered.
Binary file removed
BIN
-55.6 KB
src/docs/get-started/flutter-for/react-native-devs/images/flutter_fade_android.gif
Diff not rendered.
Binary file removed
BIN
-128 KB
...s/get-started/flutter-for/react-native-devs/images/flutter_gestures_android.gif
Diff not rendered.
Binary file removed
BIN
-118 KB
src/docs/get-started/flutter-for/react-native-devs/images/flutter_gestures_iOS.gif
Diff not rendered.
Binary file removed
BIN
-35.2 KB
.../get-started/flutter-for/react-native-devs/images/hello_world_basic_android.png
Diff not rendered.
Binary file removed
BIN
-24.2 KB
...docs/get-started/flutter-for/react-native-devs/images/hello_world_basic_iOS.png
Diff not rendered.
Diff not rendered.
Binary file removed
BIN
-85.5 KB
src/docs/get-started/flutter-for/react-native-devs/images/modular_android.png
Diff not rendered.
Binary file removed
BIN
-65.5 KB
src/docs/get-started/flutter-for/react-native-devs/images/modular_iOS.png
Diff not rendered.
Binary file removed
BIN
-84.8 KB
src/docs/get-started/flutter-for/react-native-devs/images/stack_android.png
Diff not rendered.
Binary file removed
BIN
-76.9 KB
src/docs/get-started/flutter-for/react-native-devs/images/stack_iOS.png
Diff not rendered.