Création initiale du projet Amber

This commit is contained in:
2018-09-03 23:08:32 +02:00
parent a2c4523880
commit 6d4cadc2ae
35 changed files with 781 additions and 2 deletions

View File

@ -0,0 +1,9 @@
.row
#logo
.col-sm-12.col-md-6
h2 = t "welcome_to_amber"
p Thank you for trying out the Amber Framework. We are working hard to provide a super fast and reliable framework that provides all the productivity tools you are used to without sacrificing the speed.
.list-group
a.list-group-item.list-group-item-action target="_blank" href="https://docs.amberframework.org" Getting Started with Amber Framework
a.list-group-item.list-group-item-action target="_blank" href="https://github.com/veelenga/awesome-crystal" List of Awesome Crystal projects and shards
a.list-group-item.list-group-item-action target="_blank" href="https://crystalshards.xyz" What's hot in Crystal right now

View File

@ -0,0 +1,2 @@
- active = context.request.path == "/" ? "active" : ""
a class="nav-item #{active}" href="/" Home

View File

@ -0,0 +1,32 @@
doctype html
html
head
title Cdj Carnetdejeu using Amber
meta charset="utf-8"
meta http-equiv="X-UA-Compatible" content="IE=edge"
meta name="viewport" content="width=device-width, initial-scale=1"
link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
link rel="stylesheet" href="/dist/main.bundle.css"
link rel="apple-touch-icon" href="/favicon.png"
link rel="icon" href="/favicon.png"
link rel="icon" type="image/x-icon" href="/favicon.ico"
body
.masthead
.container
nav.nav
== render(partial: "layouts/_nav.slang")
.container
.row
.col-sm
- flash.each do |key, value|
div class="alert alert-#{key}"
p = flash[key]
.row
.col-sm-12.main
== content
script src="https://code.jquery.com/jquery-3.3.1.min.js"
script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"
script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"
script src="/dist/main.bundle.js"