-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
5 changed files
with
169 additions
and
101 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[ | ||
{ | ||
"name" : "Anchor", | ||
"cover" : "https://cdn.devdojo.com/images/august2024/theme-anchor.jpeg", | ||
"slug" : "anchor", | ||
"description": "Anchor is the default theme available. This theme is clean with a sidebar app layout design.", | ||
"repo" : "https://github.com/thedevdojo/wave" | ||
}, | ||
{ | ||
"name" : "Blank", | ||
"cover" : "https://cdn.devdojo.com/images/august2024/theme-blank.jpeg", | ||
"slug" : "blank", | ||
"description": "This is a minimal blank theme that can be used to easily modify. It also contains a sidebar app layout.", | ||
"repo" : "https://github.com/thedevdojo/wave" | ||
}, | ||
{ | ||
"name" : "Cove", | ||
"cover" : "https://cdn.devdojo.com/images/august2024/theme-cove.jpeg", | ||
"slug" : "cove", | ||
"description": "This blue colored theme is a good template for showcasing your SaaS. Top bar app layout", | ||
"repo" : "https://github.com/thedevdojo/wave" | ||
} | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1 @@ | ||
<layout title="Static Starter Template" src="main.html"> | ||
|
||
<div x-data class="max-w-6xl px-6 pt-12 pb-20 mx-auto xl:px-0"> | ||
|
||
<div class="flex flex-col py-12 text-center text-white lg:py-16"> | ||
<h2 class="font-book font-styling w-full font-display mb-2 leading-none text-left md:text-center text-[3rem] lg:text-[3.5rem] pistol-font tracking-tight md:leading-[120%] font-gradient">Templates</h2> | ||
<p class="sans text-left w-full md:text-center max-w-3xl mx-auto opacity-60 text-[1.125rem] md:leading-[1.5] text-slate-11 font-normal">Hand-crafted HTML templates to help you build your next project.</p> | ||
</div> | ||
|
||
<div class="grid items-center justify-center w-full h-auto grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3 md:gap-10"> | ||
|
||
<ForEach collection="templates" as="template"> | ||
<div x-data @click="window.dispatchEvent(new CustomEvent('show-template-preview', { detail : { url: '{template.url}' }})); window.dispatchEvent(new CustomEvent('set-active-template', { detail: { slug: '{template.slug}' }}));" | ||
class="flex w-full overflow-hidden transition-all duration-75 ease-out border rounded-md cursor-pointer border-neutral-700 sm:rounded-xl sm:shadow-lg group opacity-95 hover:opacity-100"> | ||
<div class="flex flex-col"> | ||
<div class="relative overflow-hidden"> | ||
<img src="{template.cover}" class="w-full relative z-10 group-hover:scale-[1.02] transition-all ease-out duration-300 overflow-hidden h-auto"> | ||
|
||
</div> | ||
<div class="relative "> | ||
<div class="relative bottom-0 left-0 z-20 w-full px-5 py-2 leading-none bg-white border-t border-b bg-opacity-90 border-neutral-800"> | ||
<code class="font-mono text-xs font-medium text-transparent bg-clip-text bg-gradient-to-r from-blue-400 to-pink-400 via-green-400"> | ||
<If condition="template.slug != 'starter'"> | ||
<span>static new project --{template.slug}</span> | ||
</If> | ||
<If condition="template.slug == 'starter'"> | ||
<span>static new project</span> | ||
</If> | ||
</code> | ||
</div> | ||
<div class="flex items-center w-full p-5 pb-2"> | ||
|
||
<div class="relative flex flex-col items-center justify-center h-auto"> | ||
<h3 class="relative flex items-center -mt-px text-lg font-semibold leading-none text-gray-200 group-hover:text-gray-100 "> | ||
<span>{template.name}</span> | ||
<svg class="group-hover:translate-x-0 -translate-x-1 w-2.5 h-2.5 stroke-current ml-1 -rotate-45 transition-all ease-in-out duration-200 transform" viewBox="0 0 13 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="svg" transform="translate(0.666667, 2.333333)" stroke="currentColor" stroke-width="2.4"><g><polyline class="transition-all duration-200 ease-out opacity-0 delay-0 group-hover:opacity-100" points="5.33333333 0 10.8333333 5.5 5.33333333 11"></polyline><line class="transition-all duration-200 ease-out transform -translate-x-1 opacity-0 group-hover:translate-x-0 group-hover:opacity-100 group-hover:ml-0" x1="10.8333333" y1="5.5" x2="0.833333333" y2="5.16666667"></line></g></g></g></svg> | ||
</h3> | ||
</div> | ||
</div> | ||
<p class="px-5 text-sm text-white/60 group-hover:text-white/80">{template.description}</p> | ||
|
||
|
||
<div class="px-5 pt-1 pb-5"> | ||
<div class="flex items-center justify-center w-full px-3 py-2 mt-3 space-x-1.5 text-sm font-medium text-center duration-300 ease-out rounded-md bg-neutral-100 group-hover:bg-white text-neutral-800"> | ||
<span class="duration-100 ease-out">Live Preview</span> | ||
<svg class="w-3.5 h-3.5 duration-100 ease-out stroke-current" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z" /><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" /></svg> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</ForEach> | ||
</div> | ||
|
||
<include src="template-previews.html"></include> | ||
|
||
</div> | ||
|
||
</layout> | ||
<layout url="{ url('/themes') }" src="redirect.html"></layout> |
Oops, something went wrong.