Coder Social home page Coder Social logo

simonaco / page-transitions-travelapp Goto Github PK

View Code? Open in Web Editor NEW
133.0 11.0 21.0 2.37 MB

Travel App, Native-like Page Transitions

Home Page: https://page-transitions-travelapp.azurewebsites.net

License: MIT License

TypeScript 62.85% HTML 14.86% CSS 1.24% Dockerfile 0.36% SCSS 20.69%
page-transitions animations angular rxjs page-transitions-angular native-like-transitions angular-universal

page-transitions-travelapp's Introduction

Page Transitions Travelapp

Fork

๐Ÿ™‹๐Ÿผ This repository is a rewrite with Angular & Angular Universal of Sarah Drasner's orginal work with Vue & Nuxt.

Live demo: https://page-transitions-travelapp.azurewebsites.net

Original

This demo shows an example of how to achieve native-like page transitions on the web. There's much to be improved here- it's not meant to be a full-fledged web application, just a quick demo to show how this kind of implementation could theoretically work. These concepts can and should be expressed differently in your own application, the sky's the limit here! This is created with Nuxt and Vue.

Article explaining the demo is available at https://css-tricks.com/native-like-animations-for-page-transitions-on-the-web

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at http://localhost:4200/
$ ng serve

# build for production and launch server
$ npm run build:ssr && npm run serve:ssr

# generate static project
$ npm run build:ssr

Runing in Docker

First build the project. See build for details.

Now you can build Docker image:

docker build -t page-transitions-travelapp .

and run it:

docker run -p 80:80 page-transitions-travelapp

Navigate to http://localhost in order to see the containerized application.

Further help

For detailed explanation on how things work, checkout the Angular Universal docs.

page-transitions-travelapp's People

Contributors

beeman avatar peterblazejewicz avatar simonaco avatar vitaliy-bobrov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

page-transitions-travelapp's Issues

Docker build fails

Docker build fails with error message:
Step 1/6 : FROM nginx:alpine
alpine: Pulling from library/nginx
no matching manifest for linux/amd64 in the manifest list entries
Exited with code 1

Font loading isn't working

<link href="https://fonts.googleapis.com/css?family=Josefin+Sans|Playfair+Display" rel="preload" as="font">

Why not just the plain old rel="stylesheet"?

From Chrome DevTools:

The resource https://fonts.googleapis.com/css?family=Josefin+Sans|Playfair+Display was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

Code cleaup

There are a lot of unused imports, code style issues. I could prepare PR with cleanups ;)

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.