-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b103922
commit df92fa2
Showing
37 changed files
with
527 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
backend/lib/azimutt_web/templates/website/docs/_footer.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<%= if @page[:children] do %> | ||
<div class="bg-white pt-12 px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl"> | ||
<ul role="list" class="list-inside list-disc"> | ||
<%= for page <- @page.children do %> | ||
<%= render "docs/_menu-item.html", conn: @conn, item: page %> | ||
<% end %> | ||
</ul> | ||
</div> | ||
</div> | ||
<% end %> | ||
|
||
<div class="bg-white pt-12 px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl"> | ||
<a href={"https://github.com/azimuttapp/azimutt/blob/main/backend/lib/azimutt_web/templates/website/docs/#{@page.slug}.html.heex"} target="_blank" rel="noopener noreferrer" class="font-semibold text-indigo-600 hover:underline"> | ||
<Icon.pencil kind="solid" class="w-4 h-4 mr-1 inline" /> Update this page | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="bg-white pt-3 px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl"> | ||
<nav class="flex gap-3"> | ||
<%= if @prev do %> | ||
<a href={Routes.website_path(@conn, :doc, @prev.slug)} class="block w-full rounded-lg px-4 py-3 shadow-sm ring-1 ring-inset ring-gray-300 hover:ring-indigo-500"> | ||
Previous<br> | ||
<span class="text-base font-semibold leading-7 text-indigo-600">« <%= @prev.name %></span> | ||
</a> | ||
<% else %> | ||
<div class="w-full"></div> | ||
<% end %> | ||
|
||
<%= if @next do %> | ||
<a href={Routes.website_path(@conn, :doc, @next.slug)} class="block w-full rounded-lg px-4 py-3 shadow-sm ring-1 ring-inset ring-gray-300 hover:ring-indigo-500 text-right"> | ||
Next<br> | ||
<span class="text-base font-semibold leading-7 text-indigo-600"><%= @next.name %> »</span> | ||
</a> | ||
<% else %> | ||
<div class="w-full"></div> | ||
<% end %> | ||
</nav> | ||
</div> | ||
</div> | ||
|
||
<%= render "_footer.html", conn: @conn %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<h2 id={Azimutt.Utils.Slugme.slugify(@title)} class="mt-16 text-2xl font-bold tracking-tight text-gray-900 group"> | ||
<%= @title %> | ||
<a href={"##{Azimutt.Utils.Slugme.slugify(@title)}"} class="ml-1 text-indigo-600 hover:underline opacity-0 group-hover:opacity-100 transition-opacity">#</a> | ||
</h2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<h3 id={Azimutt.Utils.Slugme.slugify(@title)} class="mt-8 text-xl font-bold tracking-tight text-gray-900 group"> | ||
<%= @title %> | ||
<a href={"##{Azimutt.Utils.Slugme.slugify(@title)}"} class="ml-1 text-indigo-600 hover:underline opacity-0 group-hover:opacity-100 transition-opacity">#</a> | ||
</h3> |
25 changes: 25 additions & 0 deletions
25
backend/lib/azimutt_web/templates/website/docs/_header.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<div class="bg-white px-6 pt-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl text-base leading-7 text-gray-700"> | ||
<nav class="flex" aria-label="Breadcrumb"> | ||
<ol role="list" class="flex items-center space-x-4"> | ||
<li> | ||
<a href={Routes.website_path(@conn, :index)} class="text-gray-400 hover:text-gray-500"> | ||
<Icon.home class="h-5 w-5 flex-shrink-0" /> | ||
<span class="sr-only">Home</span> | ||
</a> | ||
</li> | ||
<li class="flex items-center"> | ||
<Icon.slash kind="outline" class="h-5 w-5 flex-shrink-0 text-gray-300" /> | ||
<a href={Routes.website_path(@conn, :docs)} class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700">Documentation</a> | ||
</li> | ||
<%= for parent <- @page.parents do %> | ||
<li class="flex items-center"> | ||
<Icon.slash kind="outline" class="h-5 w-5 flex-shrink-0 text-gray-300" /> | ||
<a href={Routes.website_path(@conn, :doc, parent.slug)} class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" aria-current="page"><%= parent.name %></a> | ||
</li> | ||
<% end %> | ||
</ol> | ||
</nav> | ||
<h1 class="mt-3 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl"><%= @page.name %></h1> | ||
</div> | ||
</div> |
15 changes: 15 additions & 0 deletions
15
backend/lib/azimutt_web/templates/website/docs/_menu-item.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<li> | ||
<%= if @item[:slug] do %> | ||
<a href={Routes.website_path(@conn, :doc, @item.slug)} class="underline font-semibold text-indigo-600"><%= @item.name %></a> | ||
<% else %> | ||
<span class="font-semibold"><%= @item.name %></span> | ||
<% end %> | ||
<%= if @item[:details] do %>- <%= @item.details %><% end %> | ||
<%= if @item[:children] do %> | ||
<ul role="list" class="list-inside list-disc pl-3"> | ||
<%= for child <- @item.children do %> | ||
<%= render "docs/_menu-item.html", conn: @conn, item: child %> | ||
<% end %> | ||
</ul> | ||
<% end %> | ||
</li> |
14 changes: 14 additions & 0 deletions
14
backend/lib/azimutt_web/templates/website/docs/api.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<%= render "docs/_header.html", conn: @conn, page: @page %> | ||
|
||
<div class="bg-white px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl text-base leading-7 text-gray-700"> | ||
<p class="mt-6 text-xl leading-8"> | ||
Work In Progress 😅 | ||
</p> | ||
|
||
<%= render "docs/_h2.html", title: "Source schema" %> | ||
<%= render "docs/_h2.html", title: "Schema documentation" %> | ||
</div> | ||
</div> | ||
|
||
<%= render "docs/_footer.html", conn: @conn, page: @page, prev: @prev, next: @next %> |
15 changes: 15 additions & 0 deletions
15
backend/lib/azimutt_web/templates/website/docs/cli.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<%= render "docs/_header.html", conn: @conn, page: @page %> | ||
|
||
<div class="bg-white px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl text-base leading-7 text-gray-700"> | ||
<p class="mt-6 text-xl leading-8"> | ||
Work In Progress 😅 | ||
</p> | ||
|
||
<%= render "docs/_h2.html", title: "Analyze" %> | ||
<%= render "docs/_h2.html", title: "Export" %> | ||
<%= render "docs/_h2.html", title: "Gateway" %> | ||
</div> | ||
</div> | ||
|
||
<%= render "docs/_footer.html", conn: @conn, page: @page, prev: @prev, next: @next %> |
16 changes: 16 additions & 0 deletions
16
backend/lib/azimutt_web/templates/website/docs/collaboration.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<%= render "docs/_header.html", conn: @conn, page: @page %> | ||
|
||
<div class="bg-white px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl text-base leading-7 text-gray-700"> | ||
<p class="mt-6 text-xl leading-8"> | ||
Work In Progress 😅 | ||
</p> | ||
|
||
<%= render "docs/_h2.html", title: "Organizations" %> | ||
<%= render "docs/_h3.html", title: "User rights" %> | ||
<%= render "docs/_h2.html", title: "Private links" %> | ||
<%= render "docs/_h2.html", title: "Embed" %> | ||
</div> | ||
</div> | ||
|
||
<%= render "docs/_footer.html", conn: @conn, page: @page, prev: @prev, next: @next %> |
11 changes: 11 additions & 0 deletions
11
backend/lib/azimutt_web/templates/website/docs/converters.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<%= render "docs/_header.html", conn: @conn, page: @page %> | ||
|
||
<div class="bg-white px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl text-base leading-7 text-gray-700"> | ||
<p class="mt-6 text-xl leading-8"> | ||
Work In Progress 😅 | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<%= render "docs/_footer.html", conn: @conn, page: @page, prev: @prev, next: @next %> |
22 changes: 22 additions & 0 deletions
22
backend/lib/azimutt_web/templates/website/docs/create-your-project.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<%= render "docs/_header.html", conn: @conn, page: @page %> | ||
|
||
<div class="bg-white px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl text-base leading-7 text-gray-700"> | ||
<p class="mt-6 text-xl leading-8"> | ||
Work In Progress 😅 | ||
</p> | ||
|
||
<%= render "docs/_h2.html", title: "From database" %> | ||
<ul class="list-inside list-disc"> | ||
<li>extracts schema, comments & statistics</li> | ||
<li>needed rights</li> | ||
</ul> | ||
|
||
<%= render "docs/_h2.html", title: "From SQL" %> | ||
<%= render "docs/_h3.html", title: "Export your database schema" %> | ||
|
||
<%= render "docs/_h2.html", title: "From JSON" %> | ||
</div> | ||
</div> | ||
|
||
<%= render "docs/_footer.html", conn: @conn, page: @page, prev: @prev, next: @next %> |
15 changes: 15 additions & 0 deletions
15
backend/lib/azimutt_web/templates/website/docs/data-exploration.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<%= render "docs/_header.html", conn: @conn, page: @page %> | ||
|
||
<div class="bg-white px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl text-base leading-7 text-gray-700"> | ||
<p class="mt-6 text-xl leading-8"> | ||
Work In Progress 😅 | ||
</p> | ||
|
||
<%= render "docs/_h2.html", title: "SQL query" %> | ||
<%= render "docs/_h2.html", title: "Rows navigation" %> | ||
<%= render "docs/_h2.html", title: "AI query generation" %> | ||
</div> | ||
</div> | ||
|
||
<%= render "docs/_footer.html", conn: @conn, page: @page, prev: @prev, next: @next %> |
11 changes: 11 additions & 0 deletions
11
backend/lib/azimutt_web/templates/website/docs/data-privacy.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<%= render "docs/_header.html", conn: @conn, page: @page %> | ||
|
||
<div class="bg-white px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl text-base leading-7 text-gray-700"> | ||
<p class="mt-6 text-xl leading-8"> | ||
Work In Progress 😅 | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<%= render "docs/_footer.html", conn: @conn, page: @page, prev: @prev, next: @next %> |
11 changes: 11 additions & 0 deletions
11
backend/lib/azimutt_web/templates/website/docs/database-analysis.html.heex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<%= render "docs/_header.html", conn: @conn, page: @page %> | ||
|
||
<div class="bg-white px-6 lg:px-8"> | ||
<div class="mx-auto max-w-3xl text-base leading-7 text-gray-700"> | ||
<p class="mt-6 text-xl leading-8"> | ||
Work In Progress 😅 | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<%= render "docs/_footer.html", conn: @conn, page: @page, prev: @prev, next: @next %> |
Oops, something went wrong.