GithubHelp home page GithubHelp logo

lukaskurz.com's Introduction

lukaskurz.com - My personal website

Drag Racing

Description

This is my personal website, a static landing page. As you might notice, not only is this written in Angular, but it also uses Angular Universal. "Angular for a static landing page?" you might ask. And yes you are right, it's overkill. But I like Angular, and I like overkill. Also, I wanted to try out Angular Universal.

Build Time Pre-rendering vs. Server-side Rendering (SSR)

This repo demonstrates the use of 2 different forms of Server-side Rendering.

Pre-render

  • Happens at build time
  • Renders your application and replaces the dist index.html with a version rendered at the route /.

Server-side Rendering (SSR)

  • Happens at runtime
  • Uses ngExpressEngine to render your application on the fly at the requested url.

Installation

  • npm install or yarn

Development (Client-side only rendering)

  • run npm run start which will start ng serve

Production (also for testing SSR/Pre-rendering locally)

npm run build:ssr && npm run serve:ssr - Compiles your application and spins up a Node Express to serve your Universal application on http://localhost:4000.

npm run build:prerender && npm run serve:prerender - Compiles your application and prerenders your applications files, spinning up a demo http-server so you can view it on http://localhost:8080 Note: To deploy your static site to a static hosting platform you will have to deploy the dist/browser folder, rather than the usual dist

lukaskurz.com's People

Contributors

lukaskurz avatar

lukaskurz.com's Issues

Transition from Greeting to About bugs on mobile

Expected Behaviour

When going from /greeting to /about the page should change with scrolling like animation.

Current Behaviour

The /greeting page only partly moves upwards, while the /about page fully moves upwards, resulting in the greeting page overlapping the /about page until the animation is finshed, followed by the sudden disappearance of the /greeting page.

Possible Solution

In the mobile view the /greeting page is bigger than 100vh while just beeing moved upwards by 100vh. Either Dynamically change the distance the /greeting page is moved upwards or limit it's size to100vh once the animation begins and hide the rest of the page with overflow: hidden.

Projects card is not centered in mobile view on first visit

Expected Behaviour

When the /projects page is opened on a mobile device, the first card containing the first project should be centered on the screen. When the device is larger than one card, two or three cards should be centered.

Current Behaviour

All cards are just sticking to the left side of the side screen, no matter what screen

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.