Code Monkey home page Code Monkey logo

responsivestarter's Introduction

ResponsiveStarter

a starter template for a responsive, angular, typescript website.

Install

After cloning run the following in this order npm install bower install

2 gulp tasks to compile typescript to javascript gulp compile-ts

finally to start the Node server and browsersync gulp start-dev

Features

I'm still fairly new to web development workflows and wanted a starter template for some of the technologies I've been learning including

  • angularjs
  • typescript
  • gulp
  • angular-ui-router
  • responsive hamburger menu for smaller screens

ShrinkNav.ts

An angularjs directive that shrinks the top navigation bar from 50px to 35px when scrolling goes beyond a certain height (50px) If your navigation bar is a different height say 100px simply change the shrinkHeight eg

<header role="banner" class="header" shrink-nav shrink-height="50">

Notes & further development

Bootstrap could easily be added to expand on content flow especially in the footer. The reason I didn't use it for this template is that I wanted a full screen navigation page when the hamburger is clicked.

I have included the typescript definition files but probably should move that job to gulp for leaness

responsivestarter's People

Contributors

swilkov avatar

Watchers

 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.