Quellcode durchsuchen

MiKee customization

maxep vor 7 Jahren
Ursprung
Commit
3261b2e65c

+ 62 - 0
Dockerfile

@@ -0,0 +1,62 @@
+FROM nginx:alpine
+MAINTAINER Maxime Epain "me@maxep.me"
+
+EXPOSE 80
+
+# Packages
+RUN apk --no-cache add \
+  ruby \
+  ruby-dev \
+  ruby-irb \
+  ruby-rdoc \
+  ruby-bigdecimal
+
+RUN apk --no-cache add \
+  zlib-dev \
+  build-base \
+  libxml2-dev \
+  libxslt-dev \
+  readline-dev \
+  libffi-dev \
+  yaml-dev \
+  zlib-dev \
+  libffi-dev \
+  cmake
+
+RUN apk --no-cache add \
+  linux-headers \
+  openjdk8-jre \
+  less \
+  zlib \
+  libxml2 \
+  readline \
+  libxslt \
+  libffi \
+  git \
+  nodejs \
+  tzdata \
+  shadow \
+  bash \
+  su-exec \
+  nodejs-npm \
+  libressl \
+  yarn
+
+# Install jekyll
+RUN gem install jekyll bundler
+
+# --
+RUN addgroup -Sg 1000 jekyll
+RUN adduser  -Su 1000 -G \
+  jekyll jekyll
+
+# Add site
+COPY . /home/app/site
+RUN chown -R jekyll:jekyll /home/app/site
+
+# Build the site with Jekyll
+WORKDIR /home/app/site
+RUN jekyll build
+
+# Copy site
+COPY _site/ /usr/share/nginx/html

+ 12 - 11
_config.yml

@@ -8,16 +8,16 @@
 # General App Info
 #
 app:
-  name: Awesome App # REQUIRED - Enter your app name
-  ios_id: 912209541 # REQUIRED - 10 Digit Numeric App ID (lookup in iTunes Connect)
+  name: MiKee # REQUIRED - Enter your app name
+  ios_id: 1348470981 # REQUIRED - 10 Digit Numeric App ID (lookup in iTunes Connect)
   android_id: # Optional - Enter Android app id like: com.example.app
 
-  icon: # Leave blank to auto-magically populate
+  icon: images/app-icon-512.png # Leave blank to auto-magically populate
   # To update use path relative to project root with no leading slash:
   # e.g. images/app-icon-512.png
   # 512px or greater, square
 
-  #favicon: # uncomment if uploading own favicon
+  favicon: images/favicon.png # uncomment if uploading own favicon
   # To update use path relative to project root with no leading slash:
   # e.g. images/app-favicon.png - can be .ico or .png
   # 16px or greater, square
@@ -39,10 +39,11 @@ app:
   # To update use path relative to project root with no leading slash:
   # e.g. images/app-social_image.png
   # 512px or greater, square or width = 2X height
+  appetize_key: 5mr4fvxmmrpea13dj8hbc8ark4
 #
 # Marketing
 #
-marketing_header: Does Awesome Stuff # Optional
+marketing_header: Safe Passord Manager # Optional
 marketing_desc: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
 
 #
@@ -80,12 +81,12 @@ device: iphone-se-silver-vertical # REQUIRED
 #
 # Theme Settings
 #
-background_color: "#989898" # Optional
-background_image: /images/backgrounds/58-usersthink-stock-image-web.jpg # Optional - Use Relative path e.g. images/backgrounds/image.jpg
-text_color: white # Optional
-link_color: # Optional
+background_color: white # Optional
+background_image: # Optional - Use Relative path e.g. images/backgrounds/image.jpg
+text_color: black # Optional
+link_color: "#7576FC"
 social_link_color: white # Optional
-download_button_background_color: "#0191FF" # Optional
+download_button_background_color: "#7576FC" # Optional
 download_button_text_color: white; # Optional
 
 #
@@ -93,7 +94,7 @@ download_button_text_color: white; # Optional
 #
 # If you want specific meta info for your <head></head> tags
 #
-title: # Optional - Enter your site title
+title: MiKee # Optional - Enter your site title
 description: # Optional - Enter your site description
 
 #

BIN
apple-icon-precomposed.png


BIN
favicon.ico


BIN
images/app-icon-512.jpg


BIN
images/app-icon-512.png


BIN
images/app-screen-640x1136.jpg


BIN
images/awesome-app-landing-page-screenshot.png


BIN
images/backgrounds/31-usersthink-stock-image-web.jpg


BIN
images/backgrounds/37-usersthink-stock-image-web.jpg


BIN
images/backgrounds/58-usersthink-stock-image-web.jpg


BIN
images/backgrounds/71-usersthink-stock-image-web.jpg


BIN
images/backgrounds/73-usersthink-stock-image-web.jpg


BIN
images/backgrounds/75-usersthink-stock-image-web.jpg


BIN
images/backgrounds/81-usersthink-stock-image-web.jpg


BIN
images/backgrounds/91-usersthink-stock-image-web.jpg


BIN
images/backgrounds/95-usersthink-stock-image-web.jpg


BIN
images/config.png


BIN
images/devices/iphone-se-silver-vertical.png


BIN
images/devices/iphone-se-space-gray-vertical.png


BIN
images/devices/ipod-touch-blue-vertical.png


BIN
images/favicon.png


BIN
images/fork.png


+ 7 - 1
themes/default/index.html

@@ -44,6 +44,12 @@
 
       <div class="col-sm-6">
 
+        <!-- Appetize -->
+      {% if site.app.appetize_key %}
+        <iframe src="https://appetize.io/embed/{{ site.app.appetize_key }}?autoplay=true&orientation=portrait&deviceColor=black&screenOnly=false&disableHome=true&device=iphonex&scale=100" width="409px" height="845px" frameborder="0" scrolling="no">
+        </iframe>
+      {% else %}
+
         <!-- App Preview or Screenshot(s) -->
         <div class="device {{ site.device }}">
           {% if site.app.video %}
@@ -51,7 +57,6 @@
                 <iframe src="{{ site.app.video }}" height="426.66" width="240" allowfullscreen="" frameborder="0">
                 </iframe>
               </div>
-
           {% else %}
                <img
                 class="app-screenshot"
@@ -59,6 +64,7 @@
                />
           {% endif %}
         </div>
+        {% endif %}
       </div>
     </div>
 

+ 2 - 2
themes/default/styles.scss

@@ -121,11 +121,11 @@ a:hover {
 
 .download-btn:focus,
 .download-btn:hover {
-  background-color: darken(#0191FF, 20%);
+  background-color: darken(#0191FF, 5%);
   color: #fff;
 
   {% if site.download_button_background_color %}
-  background-color: darken({{ site.download_button_background_color }}, 20%);
+  background-color: darken({{ site.download_button_background_color }}, 5%);
   {% endif %}
 
   {% if site.download_button_text_color %}