Current section

Files

Jump to
surface priv templates surface.init layouts default index.sface
Raw

priv/templates/surface.init/layouts/default/index.sface

<section class="phx-hero">
<h1>Welcome to Phoenix!</h1>
<p>Peace of mind from prototype to production</p>
</section>
<section class="row">
{#if Code.ensure_loaded?(<%= inspect(web_module) %>.Demo)}
<article class="column">
<h2>Demo</h2>
<ul>
<li>
<a href="/demo">Card</a>
</li>
{#if Application.spec(:surface_catalogue)}
<li>
<a href="/catalogue/components/<%= inspect(web_module) %>.Components.Card/example">Examples</a>
</li>
{/if}
</ul>
</article>
{/if}
<article class="column">
<h2>Resources</h2>
<ul>
<li>
<a href="https://hexdocs.pm/phoenix/overview.html">Guides &amp; Docs</a>
</li>
<li>
<a href="https://github.com/phoenixframework/phoenix">Source</a>
</li>
<li>
<a href="https://github.com/phoenixframework/phoenix/blob/v1.6/CHANGELOG.md">v1.6 Changelog</a>
</li>
</ul>
</article>
<article class="column">
<h2>Help</h2>
<ul>
<li>
<a href="https://elixirforum.com/c/phoenix-forum">Forum</a>
</li>
<li>
<a href="https://web.libera.chat/#elixir">#elixir on Libera Chat (IRC)</a>
</li>
<li>
<a href="https://twitter.com/elixirphoenix">Twitter @elixirphoenix</a>
</li>
<li>
<a href="https://elixir-slackin.herokuapp.com/">Elixir on Slack</a>
</li>
<li>
<a href="https://discord.gg/elixir">Elixir on Discord</a>
</li>
</ul>
</article>
</section>