phation 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +69 -101
  2. package/package.json +13 -3
  3. package/server.json +36 -0
  4. package/animate/testset/eval.mjs +0 -24
  5. package/animate/testset/expected.json +0 -23
  6. package/animate/testset/holdout/commerce-delete-item-button.tsx +0 -38
  7. package/animate/testset/holdout/commerce-gallery.tsx +0 -96
  8. package/animate/testset/holdout/commerce-tile.tsx +0 -50
  9. package/animate/testset/holdout/shadcn-button-group-demo.tsx +0 -114
  10. package/animate/testset/holdout/shadcn-card-demo.tsx +0 -63
  11. package/animate/testset/holdout/shadcn-command-dialog.tsx +0 -87
  12. package/animate/testset/holdout/shadcn-drawer-dialog.tsx +0 -90
  13. package/animate/testset/holdout/shadcn-field-switch.tsx +0 -24
  14. package/animate/testset/holdout/shadcn-hover-card-demo.tsx +0 -40
  15. package/animate/testset/holdout/shadcn-mode-toggle.tsx +0 -40
  16. package/animate/testset/holdout/shadcn-toggle-group-demo.tsx +0 -22
  17. package/animate/testset/holdout.json +0 -14
  18. package/animate/testset/holdout2/chatbot-artifact-close-button.tsx +0 -30
  19. package/animate/testset/holdout2/chatbot-message-actions.tsx +0 -211
  20. package/animate/testset/holdout2/chatbot-sidebar-history-item.tsx +0 -132
  21. package/animate/testset/holdout2/chatbot-sidebar-toggle.tsx +0 -35
  22. package/animate/testset/holdout2/chatbot-suggested-actions.tsx +0 -82
  23. package/animate/testset/holdout2/chatbot-weather.tsx +0 -434
  24. package/animate/testset/holdout2/site-code-tabs.tsx +0 -26
  25. package/animate/testset/holdout2/site-copy-button.tsx +0 -121
  26. package/animate/testset/holdout2/site-github-link.tsx +0 -38
  27. package/animate/testset/holdout2/site-mobile-nav.tsx +0 -220
  28. package/animate/testset/holdout2/site-mode-switcher.tsx +0 -97
  29. package/animate/testset/holdout2/site-page-nav.tsx +0 -15
  30. package/animate/testset/holdout2.json +0 -15
  31. package/animate/testset/screens/commerce-cart-add-to-cart.tsx +0 -94
  32. package/animate/testset/screens/commerce-cart-modal.tsx +0 -256
  33. package/animate/testset/screens/commerce-navbar-mobile-menu.tsx +0 -104
  34. package/animate/testset/screens/commerce-product-variant-selector.tsx +0 -106
  35. package/animate/testset/screens/shadcn-accordion-demo.tsx +0 -61
  36. package/animate/testset/screens/shadcn-alert-dialog-demo.tsx +0 -35
  37. package/animate/testset/screens/shadcn-card-with-form.tsx +0 -59
  38. package/animate/testset/screens/shadcn-collapsible-demo.tsx +0 -46
  39. package/animate/testset/screens/shadcn-dialog-demo.tsx +0 -50
  40. package/animate/testset/screens/shadcn-drawer-demo.tsx +0 -136
  41. package/animate/testset/screens/shadcn-login-form.tsx +0 -71
  42. package/animate/testset/screens/shadcn-nav-main.tsx +0 -73
  43. package/animate/testset/screens/shadcn-section-cards.tsx +0 -102
  44. package/animate/testset/screens/shadcn-sheet-demo.tsx +0 -47
  45. package/animate/testset/screens/shadcn-switch-demo.tsx +0 -11
  46. package/animate/testset/screens/shadcn-tabs-demo.tsx +0 -80
  47. package/animate/testset/screens/taxonomy-main-nav.tsx +0 -61
  48. package/animate/testset/screens/taxonomy-post-item.tsx +0 -42
  49. package/animate/testset/screens/taxonomy-pricing.tsx +0 -69
  50. package/animate/testset/screens/taxonomy-user-account-nav.tsx +0 -65
@@ -1,69 +0,0 @@
1
- import Link from "next/link"
2
-
3
- import { cn } from "@/lib/utils"
4
- import { buttonVariants } from "@/components/ui/button"
5
- import { Icons } from "@/components/icons"
6
-
7
- export const metadata = {
8
- title: "Pricing",
9
- }
10
-
11
- export default function PricingPage() {
12
- return (
13
- <section className="container flex flex-col gap-6 py-8 md:max-w-[64rem] md:py-12 lg:py-24">
14
- <div className="mx-auto flex w-full flex-col gap-4 md:max-w-[58rem]">
15
- <h2 className="font-heading text-3xl leading-[1.1] sm:text-3xl md:text-6xl">
16
- Simple, transparent pricing
17
- </h2>
18
- <p className="max-w-[85%] leading-normal text-muted-foreground sm:text-lg sm:leading-7">
19
- Unlock all features including unlimited posts for your blog.
20
- </p>
21
- </div>
22
- <div className="grid w-full items-start gap-10 rounded-lg border p-10 md:grid-cols-[1fr_200px]">
23
- <div className="grid gap-6">
24
- <h3 className="text-xl font-bold sm:text-2xl">
25
- What&apos;s included in the PRO plan
26
- </h3>
27
- <ul className="grid gap-3 text-sm text-muted-foreground sm:grid-cols-2">
28
- <li className="flex items-center">
29
- <Icons.check className="mr-2 h-4 w-4" /> Unlimited Posts
30
- </li>
31
- <li className="flex items-center">
32
- <Icons.check className="mr-2 h-4 w-4" /> Unlimited Users
33
- </li>
34
-
35
- <li className="flex items-center">
36
- <Icons.check className="mr-2 h-4 w-4" /> Custom domain
37
- </li>
38
- <li className="flex items-center">
39
- <Icons.check className="mr-2 h-4 w-4" /> Dashboard Analytics
40
- </li>
41
- <li className="flex items-center">
42
- <Icons.check className="mr-2 h-4 w-4" /> Access to Discord
43
- </li>
44
- <li className="flex items-center">
45
- <Icons.check className="mr-2 h-4 w-4" /> Premium Support
46
- </li>
47
- </ul>
48
- </div>
49
- <div className="flex flex-col gap-4 text-center">
50
- <div>
51
- <h4 className="text-7xl font-bold">$19</h4>
52
- <p className="text-sm font-medium text-muted-foreground">
53
- Billed Monthly
54
- </p>
55
- </div>
56
- <Link href="/login" className={cn(buttonVariants({ size: "lg" }))}>
57
- Get Started
58
- </Link>
59
- </div>
60
- </div>
61
- <div className="mx-auto flex w-full max-w-[58rem] flex-col gap-4">
62
- <p className="max-w-[85%] leading-normal text-muted-foreground sm:leading-7">
63
- Taxonomy is a demo app.{" "}
64
- <strong>You can test the upgrade and won&apos;t be charged.</strong>
65
- </p>
66
- </div>
67
- </section>
68
- )
69
- }
@@ -1,65 +0,0 @@
1
- "use client"
2
-
3
- import Link from "next/link"
4
- import { User } from "next-auth"
5
- import { signOut } from "next-auth/react"
6
-
7
- import {
8
- DropdownMenu,
9
- DropdownMenuContent,
10
- DropdownMenuItem,
11
- DropdownMenuSeparator,
12
- DropdownMenuTrigger,
13
- } from "@/components/ui/dropdown-menu"
14
- import { UserAvatar } from "@/components/user-avatar"
15
-
16
- interface UserAccountNavProps extends React.HTMLAttributes<HTMLDivElement> {
17
- user: Pick<User, "name" | "image" | "email">
18
- }
19
-
20
- export function UserAccountNav({ user }: UserAccountNavProps) {
21
- return (
22
- <DropdownMenu>
23
- <DropdownMenuTrigger>
24
- <UserAvatar
25
- user={{ name: user.name || null, image: user.image || null }}
26
- className="h-8 w-8"
27
- />
28
- </DropdownMenuTrigger>
29
- <DropdownMenuContent align="end">
30
- <div className="flex items-center justify-start gap-2 p-2">
31
- <div className="flex flex-col space-y-1 leading-none">
32
- {user.name && <p className="font-medium">{user.name}</p>}
33
- {user.email && (
34
- <p className="w-[200px] truncate text-sm text-muted-foreground">
35
- {user.email}
36
- </p>
37
- )}
38
- </div>
39
- </div>
40
- <DropdownMenuSeparator />
41
- <DropdownMenuItem asChild>
42
- <Link href="/dashboard">Dashboard</Link>
43
- </DropdownMenuItem>
44
- <DropdownMenuItem asChild>
45
- <Link href="/dashboard/billing">Billing</Link>
46
- </DropdownMenuItem>
47
- <DropdownMenuItem asChild>
48
- <Link href="/dashboard/settings">Settings</Link>
49
- </DropdownMenuItem>
50
- <DropdownMenuSeparator />
51
- <DropdownMenuItem
52
- className="cursor-pointer"
53
- onSelect={(event) => {
54
- event.preventDefault()
55
- signOut({
56
- callbackUrl: `${window.location.origin}/login`,
57
- })
58
- }}
59
- >
60
- Sign out
61
- </DropdownMenuItem>
62
- </DropdownMenuContent>
63
- </DropdownMenu>
64
- )
65
- }