Git Product home page Git Product logo

gravitytrope / react-native-nike-running Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sonnylazuardi/react-native-nike-running

0.0 0.0 0.0 7.97 MB

๐Ÿƒ UI & UX Prototype of redesigned Nike+ Running for React Native ๐Ÿ“ฑ+ React Native DOM (Web) ๐ŸŒ

Home Page: http://nikerunning.sonnylab.com/

License: MIT License

JavaScript 88.05% Python 2.14% Java 1.86% HTML 0.66% Ruby 2.44% Objective-C 4.84%

react-native-nike-running's Introduction

Nike+ Running - React Native & React Native DOM (Web)

UI & UX Prototype of redesigned Nike+ Running App and now support website ๐ŸŽ‰ thanks to React Native DOM

proto

gif

proto

Inspiration: https://dribbble.com/shots/2764470-Rethinking-Nike-Running

Motivation

I recently watched the talk from @vincentriemer about react native dom and I amazed that we can port directly our current react native app into website. Then, I started this experiment and see the performance and the gesture in the web.

The result is fascinating. I can reuse almost all of the components except the map and linear gradient, so I make a quick hack for the LinearGradient Component.

Demo

Website: http://nikerunning.sonnylab.com/

Expo Snack: https://snack.expo.io/@sonnylazuardi/nike-running-redesign

Installation & Running

npm i
react-native run-ios
react-native run-android

for the web:

react-native start

open http://localhost:8081/dom

Features

  • FadedZoom Transition This will add forFadedZoom transition to react-navigation (you can use it on another project)
    transitionConfig: () => ({
      screenInterpolator: sceneProps => {
        return forFadedZoom(sceneProps);
      }
    })
  • Swipeable Card The card can be swiped up-down to toggle hide and left-right to change current card view. Pan responder works smooth on the web ๐Ÿ’ช

  • Geolocation & Animated Marker The homescreen will show your current location with animated marker. For map the web now still fallback to image, need to work on the map component for RND.

  • Box Shadow & Gradient (iOS only) There will be shadow around the button and cards. I do some tricky part to achieve the linear gradient. I use gradient image and use similar LinearGradient props:

if (Platform.OS != "dom") {
  var LinearGradient = require("react-native-linear-gradient").default;
} else {
  var LinearGradient = require("../components/LinearGradient").default;
}

ยฉ 2018 Sonny Lazuardi

react-native-nike-running's People

Contributors

sonnylazuardi avatar saleksovski avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.