|
25 | 25 | </div> |
26 | 26 | <!-- Console Output Showcase --> |
27 | 27 | <section class="w-full"> |
28 | | - <div class="transition-all bg-base-800 border border-base-700 p-1 md:p-4 rounded-sm md:rounded-2xl shadow-2xl"> |
29 | 28 | <div class="max-w-5xl mx-auto"> |
30 | | - <div class="overflow-hidden rounded"> |
| 29 | + <Screenshot src="/assets/hero.svg" /> |
31 | 30 |
|
32 | | - <img src="/assets/hero.svg" |
33 | | - alt="Spectre.Console rich terminal output demonstration" |
34 | | - class="w-full h-auto block" |
35 | | - loading="lazy"> |
36 | | - </div> |
37 | 31 | </div> |
38 | | - </div> |
39 | 32 | </section> |
40 | 33 |
|
41 | 34 | <!-- Feature Cards --> |
|
46 | 39 | <div class="p-6 md:p-8"> |
47 | 40 | <div class="flex items-center mb-4"> |
48 | 41 | <div class="p-3 bg-tertiary-two-600 dark:bg-tertiary-two-500 rounded-lg text-white"> |
49 | | - <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 42 | + <svg class="w-4 h-4 md:w-6 md:h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
50 | 43 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" |
51 | 44 | d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path> |
52 | 45 | </svg> |
53 | 46 | </div> |
54 | | - <h2 class="text-2xl font-bold ml-4"><a href="/console">Console Documentation</a></h2> |
| 47 | + <h2 class="text-xl md:text-2xl font-bold ml-4"><a href="/console">Console Documentation</a></h2> |
55 | 48 | </div> |
56 | 49 |
|
57 | | - <p class="text-base-600 dark:text-tertiary-two-100 mb-6"> |
| 50 | + <p class="text-sm md:text-base text-base-600 dark:text-tertiary-two-100 mb-6"> |
58 | 51 | Learn how to create beautiful console output with tables, charts, progress bars, and rich text |
59 | 52 | formatting. |
60 | 53 | </p> |
|
75 | 68 | d="M9 5l7 7-7 7"></path> |
76 | 69 | </svg> |
77 | 70 | <span |
78 | | - class="group-hover:translate-x-1 transition-transform">@p.FrontMatter.Title</span> |
| 71 | + class="text-sm md:text-base group-hover:translate-x-1 transition-transform">@p.FrontMatter.Title</span> |
79 | 72 | </a> |
80 | 73 | </li> |
81 | 74 | } |
82 | 75 | </ul> |
83 | 76 | </div> |
84 | 77 |
|
85 | 78 | <a href="/console" |
86 | | - class="inline-flex items-center text-tertiary-two-700 dark:text-tertiary-two-200 font-medium hover:text-tertiary-two-800 dark:hover:text-tertiary-two-300 group/link"> |
| 79 | + class="inline-flex items-center text-sm md:text-base text-tertiary-two-700 dark:text-tertiary-two-200 font-medium hover:text-tertiary-two-800 dark:hover:text-tertiary-two-300 group/link"> |
87 | 80 | View all Console docs |
88 | 81 | <svg class="ml-1 w-4 h-4 group-hover/link:translate-x-1 transition-transform" fill="none" |
89 | 82 | stroke="currentColor" viewBox="0 0 24 24"> |
|
99 | 92 | <div class="p-6 md:p-8"> |
100 | 93 | <div class="flex items-center mb-4"> |
101 | 94 | <div class="p-3 bg-tertiary-one-600 dark:bg-tertiary-one-500 rounded-lg text-white"> |
102 | | - <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 95 | + <svg class="w-4 h-4 md:w-6 md:h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
103 | 96 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" |
104 | 97 | d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"></path> |
105 | 98 | </svg> |
106 | 99 | </div> |
107 | | - <h2 class="text-2xl font-bold ml-4"><a href="/cli">CLI Documentation</a></h2> |
| 100 | + <h2 class="text-xl md:text-2xl font-bold ml-4"><a href="/cli">CLI Documentation</a></h2> |
108 | 101 | </div> |
109 | 102 |
|
110 | | - <p class="text-base-600 dark:text-tertiary-one-100 mb-6"> |
| 103 | + <p class="text-sm md:text-base text-base-600 dark:text-tertiary-one-100 mb-6"> |
111 | 104 | Build powerful command-line applications with type-safe commands, argument parsing, and dependency |
112 | 105 | injection. |
113 | 106 | </p> |
|
122 | 115 | { |
123 | 116 | <li> |
124 | 117 | <a href="@p.Url" |
125 | | - class="flex items-center text-tertiary-one-700 dark:text-tertiary-one-400 hover:text-tertiary-one-800 dark:hover:text-tertiary-one-300 group/link"> |
| 118 | + class="flex items-center text-tertiary-one-700 dark:text-tertiary-one-400 hover:text-tertiary-one-800 dark:hover:text-tertiary-one-300 group/link"> |
126 | 119 | <svg class="w-4 h-4 mr-2 opacity-0 group-hover:opacity-100 transition-opacity" |
127 | 120 | fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
128 | 121 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" |
129 | 122 | d="M9 5l7 7-7 7"></path> |
130 | 123 | </svg> |
131 | 124 | <span |
132 | | - class="group-hover:translate-x-1 transition-transform transition-300">@p.FrontMatter.Title</span> |
| 125 | + class="group-hover:translate-x-1 text-sm md:text-base transition-transform transition-300">@p.FrontMatter.Title</span> |
133 | 126 | </a> |
134 | 127 | </li> |
135 | 128 | } |
136 | 129 | </ul> |
137 | 130 | </div> |
138 | 131 |
|
139 | 132 | <a href="/cli" |
140 | | - class="inline-flex items-center text-tertiary-one-700 dark:text-tertiary-one-400 font-medium hover:text-tertiary-one-800 dark:hover:text-tertiary-one-300 group/link"> |
| 133 | + class="text-sm md:text-base inline-flex items-center text-tertiary-one-700 dark:text-tertiary-one-400 font-medium hover:text-tertiary-one-800 dark:hover:text-tertiary-one-300 group/link"> |
141 | 134 | View all CLI docs |
142 | 135 | <svg class="ml-1 w-4 h-4 group-hover/link:translate-x-1 transition-transform" fill="none" |
143 | 136 | stroke="currentColor" viewBox="0 0 24 24"> |
|
0 commit comments