Browse Source

touch up front page lol

master
Inhji Y. 1 year ago
parent
commit
edcffebaa1
  1. BIN
      assets/static/images/dagon.png
  2. 2
      lib/dagon_web/templates/layout/app.html.eex
  3. 15
      lib/dagon_web/templates/page/index.html.eex

BIN
assets/static/images/dagon.png

After

Width: 290  |  Height: 290  |  Size: 230 KiB

2
lib/dagon_web/templates/layout/app.html.eex

@ -4,7 +4,7 @@
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Dagon · Phoenix Framework</title>
<title>DAGON.fm</title>
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
</head>
<body>

15
lib/dagon_web/templates/page/index.html.eex

@ -1,7 +1,16 @@
<section class="hero is-dark is-medium is-bold has-margin-bottom has-margin-top">
<section class="hero is-light is-bold has-margin-bottom has-margin-top">
<div class="hero-body">
<h1 class="title"><%= gettext "Welcome to %{name}!", name: "Dagon" %></h1>
<p class="subtitle">A last.fm clone written in Elixir.</p>
<div class="media">
<figure class="media-left">
<div class="image is-96x96">
<img src="<%= Routes.static_path(@conn, "/images/dagon.png") %>">
</div>
</figure>
<div class="media-content">
<h1 class="title">DAGON.fm</h1>
<p class="subtitle">A last.fm clone written in Elixir.</p>
</div>
</div>
</div>
</section>

Loading…
Cancel
Save