Skip to content

Commit 172a476

Browse files
committed
chore: wip
1 parent 77faaa9 commit 172a476

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+4029
-95
lines changed

resources/components/Dashboard/Sidebar.stx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@
1717
class="flex flex-1 flex-col gap-y-8"
1818
>
1919
<li>
20+
<div class="text-xs font-semibold leading-6 text-gray-400 pt-4">
21+
Navigation
22+
</div>
23+
2024
<ul
2125
role="list"
22-
class="-mx-2 space-y-1"
26+
class="-mx-2 mt-2 space-y-1"
2327
>
2428
<li>
2529
<!-- Current: "bg-gray-50 text-blue-600", Default: "text-gray-700 hover:text-blue-600 hover:bg-gray-50" -->
@@ -76,6 +80,7 @@
7680
<div class="text-xs font-semibold leading-6 text-gray-400">
7781
Management
7882
</div>
83+
7984
<ul
8085
role="list"
8186
class="-mx-2 mt-2 space-y-1"
@@ -138,7 +143,7 @@
138143

139144
<li>
140145
<div class="text-xs font-semibold leading-6 text-gray-400">
141-
Your Models
146+
Your App
142147
</div>
143148
<ul
144149
role="list"

resources/components/Marketing/Footer.stx

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,31 @@ const currentYear = computed(() => new Date().getFullYear())
33
</script>
44

55
<template>
6-
<footer class="bg-slate-50">
6+
<footer class="bg-white">
7+
<!-- <footer class="bg-slate-50"> -->
78
<Container>
89
<div class="py-16">
9-
<Logo class="mx-auto h-10 w-auto" />
10+
<!-- <Logo class="mx-auto h-10 w-auto" /> -->
1011
<nav class="mt-10 text-sm" aria-label="quick links">
1112
<div class="-my-1 flex justify-center gap-x-6">
12-
<NavLink href="#features">
13-
Features
14-
</NavLink>
13+
<NavLink href="/" class="italic text-xl">
14+
Stay tuned.
15+
</NavLink>
16+
<!-- <NavLink href="#features">
17+
Features
18+
</NavLink>
1519
<NavLink href="#testimonials">
16-
Testimonials
17-
</NavLink>
20+
Testimonials
21+
</NavLink>
1822
<NavLink href="#pricing">
19-
Pricing
20-
</NavLink>
21-
<NavLink href="#pricing">
22-
News
23-
</NavLink>
24-
<NavLink href="#pricing">
25-
Changelog
26-
</NavLink>
23+
Dashboard
24+
</NavLink>
25+
<NavLink href="/blog">
26+
News
27+
</NavLink>
28+
<NavLink href="/changelog">
29+
Changelog
30+
</NavLink> -->
2731
</div>
2832
</nav>
2933
</div>

resources/components/Marketing/Header.stx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import Button from '../Button.stx'
2121
</NavLink>
2222

2323
<NavLink href="#pricing">
24-
Pricing
24+
Dashboard
2525
</NavLink>
2626

2727
<NavLink href="/blog">

resources/components/Marketing/Hero.stx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ const companies = ref([
2929
</h1>
3030
<p class="mx-auto mt-6 max-w-2xl text-lg tracking-tight text-slate-700">
3131
Stacks is a type-safe full-stack framework for Artisans.
32-
<br>Rapid development, for the best full-stack teams, or individuals.
32+
<br>Rapid development, for the best full-stack teams, and individuals.
3333
</p>
3434
<div class="mt-10 flex justify-center gap-x-6">
3535
<Button variant="solid" color="black" href="/register">
3636
View Documentation
3737
</Button>
38+
3839
<Button
3940
href="https://www.youtube.com/watch?v=dQw4w9WgXcQ"
4041
variant="outline"
@@ -48,7 +49,8 @@ const companies = ref([
4849
<span class="ml-3">Get Started</span>
4950
</Button>
5051
</div>
51-
<div class="mt-36 lg:mt-44">
52+
53+
<!-- <div class="mt-36 lg:mt-44">
5254
<p class="font-display text-base text-slate-900">
5355
Trusted, among others, by the following companies
5456
</p>
@@ -67,6 +69,6 @@ const companies = ref([
6769
</ul>
6870
</li>
6971
</ul>
70-
</div>
72+
</div> -->
7173
</Container>
7274
</template>
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<script setup>
2+
import { ref } from 'vue'
3+
4+
// Reactive state for the email input
5+
const email = ref('')
6+
7+
// Method to handle email submission
8+
function submitEmail() {
9+
console.log(email.value) // Log the email to the console
10+
email.value = '' // Clear the input field after submission
11+
}
12+
</script>
13+
14+
<template>
15+
<div class="relative isolate overflow-hidden bg-white">
16+
<svg class="absolute inset-0 -z-10 h-full w-full stroke-gray-200 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]" aria-hidden="true">
17+
<defs>
18+
<pattern id="0787a7c5-978c-4f66-83c7-11c213f99cb7" width="200" height="200" x="50%" y="-1" patternUnits="userSpaceOnUse">
19+
<path d="M.5 200V.5H200" fill="none" />
20+
</pattern>
21+
</defs>
22+
<rect width="100%" height="100%" stroke-width="0" fill="url(#0787a7c5-978c-4f66-83c7-11c213f99cb7)" />
23+
</svg>
24+
25+
<div class="mx-auto max-w-7xl px-6 pb-24 pt-10 sm:pb-32 lg:flex lg:px-8 lg:py-40">
26+
<div class="mx-auto max-w-2xl lg:mx-0 lg:max-w-xl lg:flex-shrink-0 lg:pt-8">
27+
<!-- <img class="h-11" src="https://tailwindui.com/img/logos/mark.svg?color=blue&amp;shade=600" alt="Your Company"> -->
28+
<Logo class="h-11 w-auto" />
29+
30+
<div class="mt-24 sm:mt-32 lg:mt-16">
31+
<a href="#" class="inline-flex space-x-6">
32+
<span class="rounded-full bg-blue-600/10 px-3 py-1 text-sm font-semibold leading-6 text-blue-600 ring-1 ring-inset ring-blue-600/10">Coming soon</span>
33+
<span class="inline-flex items-center space-x-2 text-sm font-medium leading-6 text-gray-600">
34+
<!-- <span>Just shipped v1.0</span> -->
35+
<ChevronRightIcon class="h-5 w-5 text-gray-400" aria-hidden="true" />
36+
</span>
37+
</a>
38+
</div>
39+
<h1 class="mt-10 text-4xl font-bold tracking-tight text-gray-900 sm:text-6xl">
40+
Develop modern apps, clouds & libraries.
41+
Faster.
42+
</h1>
43+
<p class="mt-6 text-lg leading-8 text-gray-600">
44+
Stacks is a type-safe full-stack framework for Artisans. Rapid development, for the best full-stack teams, and individuals. Enter your email below to get informed about our upcoming releases.
45+
</p>
46+
<div class="mt-10 flex items-center gap-x-6">
47+
<!-- <a href="#" class="rounded-md bg-blue-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600">Get started</a> -->
48+
<div>
49+
<div class="flex rounded-md shadow-sm">
50+
<div class="relative flex flex-grow items-stretch focus-within:z-10">
51+
<div class="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3">
52+
<!-- <UsersIcon class="h-5 w-5 text-gray-400" aria-hidden="true" /> -->
53+
<div class="i-heroicons-envelope h-5 w-5 text-gray-400" />
54+
</div>
55+
<input id="email" v-model="email" type="email" name="email" class="block w-full rounded-none rounded-l-md border-0 py-1.5 pl-10 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-blue-600 sm:text-sm sm:leading-6" placeholder="enter-your@email.com">
56+
</div>
57+
<button type="button" class="relative -ml-px inline-flex items-center gap-x-1.5 rounded-r-md px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50" @click="submitEmail">
58+
<!-- <BarsArrowUpIcon class="-ml-0.5 h-5 w-5 text-gray-400" aria-hidden="true" /> -->
59+
Submit
60+
</button>
61+
</div>
62+
</div>
63+
<a href="https://stacksjs.org/docs" class="text-sm font-semibold leading-6 text-gray-900">Learn more <span aria-hidden="true">→</span></a>
64+
</div>
65+
</div>
66+
<div class="mx-auto mt-16 flex max-w-2xl sm:mt-24 lg:ml-10 lg:mr-0 lg:mt-0 lg:max-w-none lg:flex-none xl:ml-32">
67+
<div class="max-w-3xl flex-none sm:max-w-5xl lg:max-w-none">
68+
<div class="-m-2 rounded-xl bg-gray-900/5 p-2 ring-1 ring-inset ring-gray-900/10 lg:-m-4 lg:rounded-2xl lg:p-4">
69+
<img src="https://tailwindui.com/img/component-images/project-app-screenshot.png" alt="App screenshot" width="2432" height="1442" class="w-[76rem] rounded-md shadow-2xl ring-1 ring-gray-900/10">
70+
</div>
71+
</div>
72+
</div>
73+
</div>
74+
</div>
75+
</template>

resources/views/index.stx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,18 @@ useHead({
4040
</script>
4141

4242
<template>
43-
<Header />
43+
<!-- <Header /> -->
4444

4545
<main>
46-
<Hero />
46+
<Hero2 />
47+
<!-- <Hero /> -->
48+
<!-- <PrimaryFeatures />
4749
<PrimaryFeatures2 />
4850
<SecondaryFeatures />
4951
<CallToAction />
5052
<Testimonials />
51-
<Pricing />
52-
<Faqs />
53+
<Pricing /> -->
54+
<!-- <Faqs /> -->
5355
</main>
5456

5557
<Footer />

storage/framework/core/alias/src/index.ts

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,31 @@ export const alias: Record<string, string> = {
209209
'stacks/x-ray': p.xRayPath('src/index.ts'),
210210
'stacks/x-ray/*': p.xRayPath('src/*'),
211211
'~/app/*': p.appPath('*'),
212-
'~/config/*': p.projectConfigPath('*'),
212+
'~/config/ai': p.projectConfigPath('ai.ts'),
213+
'~/config/analytics': p.projectConfigPath('analytics.ts'),
214+
'~/config/api': p.projectConfigPath('api.ts'),
215+
'~/config/app': p.projectConfigPath('app.ts'),
216+
'~/config/cache': p.projectConfigPath('cache.ts'),
217+
'~/config/cli': p.projectConfigPath('cli.ts'),
218+
'~/config/cloud': p.projectConfigPath('cloud.ts'),
219+
'~/config/database': p.projectConfigPath('database.ts'),
220+
'~/config/dns': p.projectConfigPath('dns.ts'),
221+
'~/config/docs': p.projectConfigPath('docs.ts'),
222+
'~/config/email': p.projectConfigPath('email.ts'),
223+
'~/config/git': p.projectConfigPath('git.ts'),
224+
'~/config/hashing': p.projectConfigPath('hashing.ts'),
225+
'~/config/library': p.projectConfigPath('library.ts'),
226+
'~/config/logger': p.projectConfigPath('logger.ts'),
227+
'~/config/notification': p.projectConfigPath('notification.ts'),
228+
'~/config/payment': p.projectConfigPath('payment.ts'),
229+
'~/config/ports': p.projectConfigPath('ports.ts'),
230+
'~/config/queue': p.projectConfigPath('queue.ts'),
231+
'~/config/search-engine': p.projectConfigPath('search-engine.ts'),
232+
'~/config/security': p.projectConfigPath('security.ts'),
233+
'~/config/services': p.projectConfigPath('services.ts'),
234+
'~/config/storage': p.projectConfigPath('storage.ts'),
235+
'~/config/team': p.projectConfigPath('team.ts'),
236+
'~/config/ui': p.projectConfigPath('ui.ts'),
213237
'~/lang/*': p.langPath('*'),
214238
'~/components/*': p.componentsPath('*'),
215239
'~/functions/*': p.functionsPath('*'),
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Vue 3 + Vite
2+
3+
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4+
5+
## Recommended IDE Setup
6+
7+
- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (previously Volar) and disable Vetur
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/stacks.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Stacks</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.ts"></script>
12+
</body>
13+
</html>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "@stacksjs/command-palette",
3+
"type": "module",
4+
"version": "0.0.0",
5+
"private": true,
6+
"exports": {
7+
".": {
8+
"types": "./dist/index.d.ts",
9+
"import": "./dist/index.js"
10+
},
11+
"./*": {
12+
"import": "./dist/*"
13+
}
14+
},
15+
"module": "dist/index.js",
16+
"types": "dist/index.d.ts",
17+
"scripts": {
18+
"dev": "vite",
19+
"build": "vite build",
20+
"preview": "vite preview"
21+
},
22+
"dependencies": {
23+
"vue": "^3.4.21"
24+
},
25+
"devDependencies": {
26+
"@vitejs/plugin-vue": "^5.0.4",
27+
"vite": "^5.2.0"
28+
}
29+
}

0 commit comments

Comments
 (0)