default.haml 2.27 KB
Newer Older
1 2 3 4 5 6
- content_for(:head) do
  = stylesheet_link_tag :home, media: "all"

#page.container
  %header#header
    %a#login-link.btn{href: "login"} Log In
Benjamin Neff's avatar
Benjamin Neff committed
7
    = image_tag "branding/logos/logo.png"
8 9 10 11 12 13 14 15 16 17

  #banner.row
    %h1 Welcome, friend.
    %h3 You're about to change the Internet. Let's get you set up, shall we?

  #steps.row
    .span4
      %h2
        Configure your
        %abbr.helpful{title: "A Diaspora installation"} pod
Benjamin Neff's avatar
Benjamin Neff committed
18
      = image_tag "landing/cog.png"
19 20

      %p
21 22 23 24 25 26 27
        Look at
        %code.helpful{title: "General pod configuration (location to upload photos, SSL certs, etc.)"}
          config/diaspora.yml.example
        and
        %code.helpful{title: "MySQL username/password"}
          config/database.yml.example
        for help.
28 29 30

    .span4
      %h2 Try it out
Benjamin Neff's avatar
Benjamin Neff committed
31
      = image_tag "landing/smiley_laughing.png"
32 33 34 35 36 37 38

      %p
        Start by
        = link_to "creating an account", new_user_registration_path

    .span4
      %h2 Make a contribution!
Benjamin Neff's avatar
Benjamin Neff committed
39
      = image_tag "landing/pen_write.png"
40 41 42 43 44 45 46 47 48 49 50

      %p
        Make Diaspora even better! Fork the project on
        = link_to "Github", "http://github.com/diaspora/diaspora"
        make some changes, and submit a pull request.

  %footer
    %h3 Useful Resources
    %ul#links
      %ul.section
        %li= link_to "Codebase", "http://github.com/diaspora/diaspora", title: "Git repository"
51
        %li= link_to "Documentation", "http://wiki.diasporafoundation.org", title: "Project wiki"
52 53 54 55 56 57 58 59 60 61 62 63 64
      %ul.section
        %li= link_to "IRC - General", "http://webchat.freenode.net/?channels=diaspora", title: "#diaspora"
        %li= link_to "IRC - Development", "http://webchat.freenode.net/?channels=diaspora-dev", title: "#diaspora-dev"
      %ul.section
        %li= link_to "Discussion - General", "http://groups.google.com/group/diaspora-discuss", title: "General discussion mailing list"
        %li= link_to "Discussion - Development", "http://groups.google.com/group/diaspora-dev", title: "Dev mailing list"
      %ul.section
        %li= link_to "Find & Report bugs", "https://github.com/diaspora/diaspora/issues", title: "Bug tracker"
        %li= link_to "Learn more about Ruby On Rails!", "http://guides.rubyonrails.org/"

  #change-page
    This page can be changed to a custom landing page by creating
    %code app/views/home/_show.html.haml