Skip to content
Permalink
Browse files

Reponsive design ? Anyone ?

  • Loading branch information...
Depado committed Feb 24, 2016
1 parent 3687a5a commit 1694f798359f27da8a436c6a804ab6e18c56a89f
Showing with 45 additions and 37 deletions.
  1. +20 −0 assets/css/custom.css
  2. +2 −1 main.go
  3. +23 −36 templates/index.html
@@ -0,0 +1,20 @@
.parallax-container {
height: 300px;
}

.section {
background: url(/static/img/background.png) repeat;
}

.header {
color: #EE6E73;
font-weight: 300;
}

.salmon {
color: #EE6E73;
}

.card .card-action a {
color: black;
}
@@ -15,12 +15,13 @@ func main() {

tbox, _ := rice.FindBox("templates")

gin.SetMode(gin.ReleaseMode)
r := gin.Default()
if err = utils.InitAssetsTemplates(r, tbox, nil, "index.html"); err != nil {
log.Fatal(err)
}
r.GET("/", func(c *gin.Context) {
c.HTML(http.StatusOK, "index.html", gin.H{})
})
r.Run(":8093")
r.Run(":8005")
}
@@ -2,33 +2,12 @@
<html>

<head>
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="/static/css/materialize.min.css" media="screen,projection" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link type="text/css" rel="stylesheet" href="/static/css/custom.css" media="screen,projection" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Depado</title>
<style media="screen">
.parallax-container {
height: 300px;
}
.section {
background: url(/static/img/background.png) repeat;
}
.header {
color: #EE6E73;
font-weight: 300;
}
.salmon {
color: #EE6E73;
}
.card .card-action a {
color: black;
}
</style>
</head>

<body>
@@ -66,7 +45,7 @@ <h4 class="header">Developer, Geek, New Technologies Enthusiast</h4>
<h2 class="header">Projects</h2>
<h4 class="header">Here is a list of some of my projects.</h4>
<div class="row">
<div class="col s4">
<div class="col s12 m6 l6">
<div class="card">
<div class="card-content">
<span class="card-title grey-text text-darken-4">GoMonit</span>
@@ -90,7 +69,7 @@ <h4 class="header">Here is a list of some of my projects.</h4>
</div>
</div>
</div>
<div class="col s4">
<div class="col s12 m6 l6">
<div class="card">
<div class="card-content">
<span class="card-title grey-text text-darken-4">Goploader</span>
@@ -117,7 +96,9 @@ <h4 class="header">Here is a list of some of my projects.</h4>
</div>
</div>
</div>
<div class="col s4">
</div>
<div class="row">
<div class="col s12 m6 l6">
<div class="card">
<div class="card-content">
<span class="card-title grey-text text-darken-4">Go-b0tsec</span>
@@ -137,7 +118,7 @@ <h4 class="header">Here is a list of some of my projects.</h4>
</div>
</div>
</div>
<div class="col s4">
<div class="col s12 m6 l6">
<div class="card">
<div class="card-content">
<span class="card-title grey-text text-darken-4">MarkDownBlog</span>
@@ -164,7 +145,9 @@ <h4 class="header">Here is a list of some of my projects.</h4>
</div>
</div>
</div>
<div class="col s4">
</div>
<div class="row">
<div class="col s12 m6 l6">
<div class="card">
<div class="card-content">
<span class="card-title grey-text text-darken-4">GoPaste</span>
@@ -192,7 +175,7 @@ <h4 class="header">Here is a list of some of my projects.</h4>
</div>
</div>
</div>
<div class="col s4">
<div class="col s12 m6 l6">
<div class="card">
<div class="card-content">
<span class="card-title grey-text text-darken-4">Unicorn Chat</span>
@@ -215,7 +198,9 @@ <h4 class="header">Here is a list of some of my projects.</h4>
</div>
</div>
</div>
<div class="col s4">
</div>
<div class="row">
<div class="col s12 m6 l6">
<div class="card">
<div class="card-content">
<span class="card-title grey-text text-darken-4">LostInNetwork</span>
@@ -239,7 +224,7 @@ <h4 class="header">Here is a list of some of my projects.</h4>
</div>
</div>
</div>
<div class="col s4">
<div class="col s12 m6 l6">
<div class="card">
<div class="card-content">
<span class="card-title grey-text text-darken-4">Flask-Skeleton</span>
@@ -265,7 +250,9 @@ <h4 class="header">Here is a list of some of my projects.</h4>
</div>
</div>
</div>
<div class="col s4">
</div>
<div class="row">
<div class="col s12 m6 l6">
<div class="card">
<div class="card-content">
<span class="card-title grey-text text-darken-4">GoFIP</span>
@@ -311,9 +298,9 @@ <h4 class="header">Database</h4>
<div class="chip">PostgreSQL</div>
<div class="chip">MySQL</div>
<div class="chip">SQLite</div>
<div class="chip">MongoDB</div>
<br />
<br />
<div class="chip">MongoDB</div>
<div class="chip">BoltDB</div>
<br />
<br />
@@ -341,10 +328,10 @@ <h4 class="header center">Frameworks</h4>
<div class="chip">Flask</div>
<div class="chip">Django</div>
<div class="chip">SQLAlchemy</div>
<div class="chip">Gorm</div>
<div class="chip">Gin</div>
<br />
<br />
<div class="chip">Gorm</div>
<div class="chip">Gin</div>
<div class="chip">Goji</div>
<br />
<br />

0 comments on commit 1694f79

Please sign in to comment.
You can’t perform that action at this time.