diff --git a/app/plugins/bookmarks/controllers/tutorials.php b/app/plugins/bookmarks/controllers/tutorials.php index 5931c88..a058562 100644 --- a/app/plugins/bookmarks/controllers/tutorials.php +++ b/app/plugins/bookmarks/controllers/tutorials.php @@ -100,4 +100,15 @@ class Tutorials extends Controller { } return Views::view( 'bookmarks.tutorials.safari.' . $tutorial ); } + + public function mobile( $tutorial = '' ) { + Navigation::setCrumbComponent( 'tutorialCrumbs', Input::get( 'url' ) ); + if ( ! in_array( $tutorial, ['iphone','android'] ) ) { + $test = new \stdClass(); + $test->pretty = 'Mobile'; + $test->printed = 'mobile'; + return Views::view( 'bookmarks.tutorials.mobileCard', [ $test ] ); + } + return Views::view( 'bookmarks.tutorials.mobile.' . $tutorial ); + } } \ No newline at end of file diff --git a/app/plugins/bookmarks/images/android/add.png b/app/plugins/bookmarks/images/android/add.png new file mode 100644 index 0000000..df8c241 Binary files /dev/null and b/app/plugins/bookmarks/images/android/add.png differ diff --git a/app/plugins/bookmarks/images/android/add2.png b/app/plugins/bookmarks/images/android/add2.png new file mode 100644 index 0000000..649bdb8 Binary files /dev/null and b/app/plugins/bookmarks/images/android/add2.png differ diff --git a/app/plugins/bookmarks/images/android/add3.png b/app/plugins/bookmarks/images/android/add3.png new file mode 100644 index 0000000..0a9eecd Binary files /dev/null and b/app/plugins/bookmarks/images/android/add3.png differ diff --git a/app/plugins/bookmarks/images/android/added.png b/app/plugins/bookmarks/images/android/added.png new file mode 100644 index 0000000..f81c901 Binary files /dev/null and b/app/plugins/bookmarks/images/android/added.png differ diff --git a/app/plugins/bookmarks/views/tutorials/list.html b/app/plugins/bookmarks/views/tutorials/list.html index cadf9c1..2b7883a 100644 --- a/app/plugins/bookmarks/views/tutorials/list.html +++ b/app/plugins/bookmarks/views/tutorials/list.html @@ -1,4 +1,42 @@
+

Mobile Tutorials

+
+ + + + +
+

Browser Tutorials

diff --git a/app/plugins/bookmarks/views/tutorials/mobile/android.html b/app/plugins/bookmarks/views/tutorials/mobile/android.html new file mode 100644 index 0000000..4fc52da --- /dev/null +++ b/app/plugins/bookmarks/views/tutorials/mobile/android.html @@ -0,0 +1,33 @@ +
+
+
+

How to add the app to your Android home-screen.

+ {tutorialCrumbs} +
+
Step 1: Open https://allthebookmarks.com in Chrome.
+

+ from this page, tap the menu icon (three dots) in the top-right corner. +

+
+ Extension settings page +
+
Step 2: Select "Add to Home screen" and a popup will let you choose the name.
+

+ Next, tap "Add". +

+
+ Extension settings page +
+
Step 3: A popup will let you drag the icon around or you can simply select "Add to Home screen".
+
+ Extension settings page +
+

+ The shortcut will now appear on your home screen. +

+
+ Extension settings page +
+
+
+
\ No newline at end of file diff --git a/app/plugins/bookmarks/views/tutorials/mobile/iphone.html b/app/plugins/bookmarks/views/tutorials/mobile/iphone.html new file mode 100644 index 0000000..ab1e479 --- /dev/null +++ b/app/plugins/bookmarks/views/tutorials/mobile/iphone.html @@ -0,0 +1,24 @@ +
+
+
+

How to add the app to your iPhone home-screen

+ {tutorialCrumbs} +
+
Step 1: Open https://allthebookmarks.com in Safari.
+ (this is required; Chrome doesn’t support adding shortcuts on iOS) +
Step 2: Tap the Share icon (square with an upward arrow).
+

+ Next, Scroll down and select "Add to Home Screen" then tap "Add". +

+
+ Extension settings page +
+

+ The shortcut will appear on your home screen. +

+
+ Extension settings page +
+
+
+
\ No newline at end of file diff --git a/app/plugins/bookmarks/views/tutorials/mobileCard.html b/app/plugins/bookmarks/views/tutorials/mobileCard.html new file mode 100644 index 0000000..d920f19 --- /dev/null +++ b/app/plugins/bookmarks/views/tutorials/mobileCard.html @@ -0,0 +1,28 @@ +
+

{pretty} Tutorials

+ +
\ No newline at end of file