GithubHelp home page GithubHelp logo

codelitt / launchpage-rails Goto Github PK

View Code? Open in Web Editor NEW
320.0 320.0 50.0 148 KB

Prelaunch MVP landing page (open source alternative to LaunchRock) to get you going quickly so you can focus on your product. Written in Ruby and Rails 4.2 with email collection for two or more user types, social sharing after user signs in, and automailer to new user.

Ruby 75.49% JavaScript 1.36% CoffeeScript 2.83% CSS 6.64% HTML 13.69%

launchpage-rails's Introduction

WARNING

This repository has been discontinuated, our current website code is stored on: https://github.com/codelittinc/codelitt-v2

Codelitt

Description

Awesome company website!

Installation

  • Create gemset rvm use 2.1.1@codelitt --create

  • Install gems bundle install

  • Run the server rails server

  • Watch stylesheets for changes compass watch

Setup

Stylesheets

  • We are using SASS(SCSS) for stylesheets.
  • They are stored in the public/sass folder and compiled to CSS in the public/stylesheets folder.
  • The stylesheet folder is not committed in order to keep the repo DRY.

Partials

  • We are using partials for each element of the page.
  • All partials are called in application.scss.
  • The layout.erb then links to the compiled application.css.

Media Queries

Media queries are simple using the breakpoint gem.

Variables

Use the same values as bootstrap for media queries.

  $sm: 768px;
  $md: 992px;
  $lg: 1200px;
Example:

Using breakpoint we can set the height to auto if the page width is bigger than 768px which is our $sm value.

   .codelitt-big {
      margin: -20px 0 0;
      padding: 0;
      width: 100%;
      height: 400px;

      background: $codelitt-dark;

      @include breakpoint($sm) {
        height: auto;
    }

launchpage-rails's People

Contributors

avinoth avatar bryant1410 avatar codelitt avatar kaiomagalhaes 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  avatar  avatar

launchpage-rails's Issues

Ideas for: post signup survey and questionaire

What is the best way to gather more information from the possible users, considering that we need it simple and fast for the startup customize.

Maybe add a link after the subscribe for a survey and the startup implement his own way( The cheapest I think is google form)

Project description typo

The project description says "Prelaunch app written in Ruby and Rails 4...". The Gemfile uses Rails 3.2.

[discuss] Sinatra vs. Rails

Rails is pretty heavy for what this needs to do, however, originally I made the call for Rails just because it had most of the things needed. I don't really intend to migrate (mostly time). I just want to open an issue to allow people to discuss because I know there will be some comments on the approach I took.

Pros of sticking with Rails:

  • Rails is common environment
  • Easy for most people to spin up quickly (original goal of the project)
  • It's already in Rails (dev time)
  • May be easier for people to extend

Cons of sticking with Rails:

  • One could argue that this is overkill
  • Bad example of code simplicity.

Add a "purchase flow" to test if users will click through to buy

The real test for many startups is will people pay for this. We should add a fake purchase flow in which the user would click through to purchase and we just show an error that it is currently not accepting orders but can still track how many people 'intended' to purchase.

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.