Skip to content

Commit ffda067

Browse files
committed
Add logo and links
1 parent a075a87 commit ffda067

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

css/tailwind.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE HTML><html dir="ltr" lang="en"><head><meta charset="utf-8" /><meta content="width=device-width, initial-scale=1" name="viewport" /><meta content="Joy Web Framework" name="title" /><meta content="The full stack janet web framework" name="description" /><title>Joy Framework</title><link rel="stylesheet" href="css/atom-one-light.css" /><link rel="stylesheet" href="css/tailwind.min.css" /><link rel="stylesheet" href="css/app.css" /><link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /></head><body><div class="lg:mt-10"><div class="container p-4 mx-auto"><div class="self-stretch flex-row lg:flex sm:block md:block lg:space-x-4"><div class="flex-1"><div class="flex flex-col self-stretch flex-auto space-y-2"><h1 class="text-5xl text-gray-800">Joy</h1><h2 class="text-3xl tracking-tight text-gray-800">A maximalist web framework for lisp aficionados</h2><h4 class="text-l text-gray-800">Use the <a href="https://janet-lang.org" class="text-indigo-500 underline">janet</a> programming language to build web apps faster with less code and very low memory usage.</h4><div class="mt-4"><a href="https://github.com/joy-framework/joy/blob/master/docs/introduction.md" class="inline-block my-6 px-5 py-3 rounded-lg bg-indigo-500 text-white shadow-lg hover:bg-indigo-700">Read the docs</a></div></div></div><div class="flex-1"><pre><code class="rounded-lg p-6 clojure">(import joy :prefix &quot;&quot;)
1+
<!DOCTYPE HTML><html dir="ltr" lang="en"><head><meta charset="utf-8" /><meta content="width=device-width, initial-scale=1" name="viewport" /><meta content="Joy Web Framework" name="title" /><meta content="The full stack janet web framework" name="description" /><title>Joy Framework</title><link rel="stylesheet" href="css/atom-one-light.css" /><link rel="stylesheet" href="css/tailwind.min.css" /><link rel="stylesheet" href="css/app.css" /><link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /></head><body><div class="container p-4 mx-auto"><div class="self-stretch flex-row lg:flex sm:block md:block"><a href="index.html" class="text-indigo-500 underline"><img src="logo@2x.png" class="w-32"></img></a><div class="flex-1"></div><div class="self-stretch flex-row lg:flex sm:block md:block lg:space-x-4"><a href="powered-by.html" class="text-indigo-500 underline">Powered By</a><a href="https://github.com/joy-framework/joy/blob/master/docs/introduction.md" class="text-indigo-500 underline">Docs</a><a href="https://github.com/joy-framework/joy" class="text-indigo-500 underline">Github</a></div></div><div class="lg:mt-10"><div class="self-stretch flex-row lg:flex sm:block md:block lg:space-x-4"><div class="flex-1"><div class="flex flex-col self-stretch flex-auto space-y-2"><h1 class="text-5xl text-gray-800">Joy</h1><h2 class="text-3xl tracking-tight text-gray-800">A maximalist web framework for lisp aficionados</h2><h4 class="text-l text-gray-800">Use the <a href="https://janet-lang.org" class="text-indigo-500 underline">janet</a> programming language to build web apps faster with less code and very low memory usage.</h4><div class="mt-4"><a href="https://github.com/joy-framework/joy/blob/master/docs/introduction.md" class="inline-block my-6 px-5 py-3 rounded-lg bg-indigo-500 text-white shadow-lg hover:bg-indigo-700">Read the docs</a></div></div></div><div class="flex-1"><pre><code class="rounded-lg p-6 clojure">(import joy :prefix &quot;&quot;)
22

33
(route :get &quot;&#x2F;&quot; :home)
44

index.janet

+10-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@
55
(-> (string "./examples/" name) slurp string))
66

77
(layout
8-
[mt-10
9-
[container
8+
[container
9+
[hstack
10+
[link {:href "index.html"}
11+
[logo {:src "logo@2x.png"}]]
12+
[spacer]
13+
[hstack:md
14+
[link {:href "powered-by.html"} "Powered By"]
15+
[link {:href "https://github.com/joy-framework/joy/blob/master/docs/introduction.md"} "Docs"]
16+
[link {:href "https://github.com/joy-framework/joy"} "Github"]]]
17+
[mt-10
1018
[hstack:md
1119
[spacer
1220
[vstack:sm

logo@2x.png

30.7 KB
Loading

src/html.janet

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@
3434
(def text:light :div.text-gray-600)
3535
(def text :div.text-gray-800)
3636

37-
(def link :a.text-indigo-500.underline)
37+
(def link :a.text-indigo-500.underline)
38+
39+
(def logo :img.w-32)

0 commit comments

Comments
 (0)