create gists
This commit is contained in:
parent
79a17290d5
commit
43a8412f06
90 changed files with 1777 additions and 2107 deletions
|
|
@ -1,29 +1,3 @@
|
|||
<%!-- <header class="px-4 sm:px-6 lg:px-8"> --%>
|
||||
<%!-- <div class="flex items-center justify-between border-b border-zinc-100 py-3 text-sm"> --%>
|
||||
<%!-- <div class="flex items-center gap-4"> --%>
|
||||
<%!-- <a href="/"> --%>
|
||||
<%!-- <img src={~p"/images/logo.svg"} width="36" /> --%>
|
||||
<%!-- </a> --%>
|
||||
<%!-- <p class="bg-brand/5 text-brand rounded-full px-2 font-medium leading-6"> --%>
|
||||
<%!-- v<%= Application.spec(:phoenix, :vsn) %> --%>
|
||||
<%!-- </p> --%>
|
||||
<%!-- </div> --%>
|
||||
<%!-- <div class="flex items-center gap-4 font-semibold leading-6 text-zinc-900"> --%>
|
||||
<%!-- <a href="https://twitter.com/elixirphoenix" class="hover:text-zinc-700"> --%>
|
||||
<%!-- @elixirphoenix --%>
|
||||
<%!-- </a> --%>
|
||||
<%!-- <a href="https://github.com/phoenixframework/phoenix" class="hover:text-zinc-700"> --%>
|
||||
<%!-- GitHub --%>
|
||||
<%!-- </a> --%>
|
||||
<%!-- <a --%>
|
||||
<%!-- href="https://hexdocs.pm/phoenix/overview.html" --%>
|
||||
<%!-- class="rounded-lg bg-zinc-100 px-2 py-1 hover:bg-zinc-200/80" --%>
|
||||
<%!-- > --%>
|
||||
<%!-- Get Started <span aria-hidden="true">→</span> --%>
|
||||
<%!-- </a> --%>
|
||||
<%!-- </div> --%>
|
||||
<%!-- </div> --%>
|
||||
<%!-- </header> --%>
|
||||
<main class="bg-ctp-base px-4 py-20 sm:px-6 lg:px-8">
|
||||
<div class="mx-auto max-w-2xl">
|
||||
<.flash_group flash={@flash} />
|
||||
|
|
|
|||
|
|
@ -8,20 +8,37 @@
|
|||
<%= assigns[:page_title] || "" %>
|
||||
</.live_title>
|
||||
<link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} />
|
||||
<link phx-track-statuc rel="stylesheet" href={~p"/fonts/Iosevka.css"} />
|
||||
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
|
||||
</script>
|
||||
</head>
|
||||
<body class="ctp-mocha bg-ctp-base text-ctp-overlay0">
|
||||
<body class="ctp-mocha bg-ctp-base text-base text-ctp-overlay0">
|
||||
<%= if @current_user do %>
|
||||
<div class="flex w-full">
|
||||
<div class="p-4 grow">
|
||||
<div class="p-4">
|
||||
<.link
|
||||
class="text-ctp-mauve font-bold hover:border-b-2 border-ctp-mauve"
|
||||
class="text-ctp-mauve text-sm font-bold hover:border-b-2 border-ctp-mauve"
|
||||
navigate={~p"/"}
|
||||
>
|
||||
zoey
|
||||
</.link>
|
||||
</div>
|
||||
<div class="p-4">
|
||||
<.link
|
||||
class="text-ctp-pink text-sm hover:border-b-2 border-ctp-pink"
|
||||
navigate={~p"/images"}
|
||||
>
|
||||
image
|
||||
</.link>
|
||||
</div>
|
||||
<div class="p-4 grow">
|
||||
<.link
|
||||
class="text-ctp-pink text-sm hover:border-b-2 border-ctp-pink"
|
||||
navigate={~p"/gists"}
|
||||
>
|
||||
gists
|
||||
</.link>
|
||||
</div>
|
||||
<ul class="relative z-10 flex items-center gap-4 px-4 sm:px-6 lg:px-8 justify-end">
|
||||
<li class="text-[0.8125rem] leading-6">
|
||||
<%= @current_user.email %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue