Skip to content

Commit 57b1a3b

Browse files
committed
Update ServiceStack Auth to use LegacyTemplates + remove link from start page
1 parent f0342fd commit 57b1a3b

File tree

4 files changed

+9
-24
lines changed

4 files changed

+9
-24
lines changed

MyApp/Pages/Start.cshtml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
Customize & Download a new C# Project
2424
</h1>
2525
<p class="mt-6 text-xl leading-8">
26-
ServiceStack has a number of different integrated project templates to help you get started quickly
26+
ServiceStack has many ASP.NET Identity Auth project templates to get you started quickly
2727
</p>
2828
</div>
2929

@@ -50,21 +50,6 @@ const App = {
5050
</div>
5151
5252
<div id="mix" class="mb-4">
53-
<div>
54-
<div class="mb-16 max-w-prose mx-auto">
55-
<nav class="isolate flex divide-x divide-gray-200 rounded-lg shadow" aria-label="Tabs">
56-
<a href="/start#projects" class="text-gray-900 rounded-l-lg group relative min-w-0 flex-1 overflow-hidden bg-white py-4 px-4 text-center text-sm font-medium hover:bg-gray-50 focus:z-10" aria-current="page">
57-
<span>ASP.NET Identity Auth</span>
58-
<span aria-hidden="true" class="bg-indigo-500 absolute inset-x-0 bottom-0 h-0.5"></span>
59-
</a>
60-
<a href="/start-auth#projects" class="text-gray-500 hover:text-gray-700 rounded-r-lg group relative min-w-0 flex-1 overflow-hidden bg-white py-4 px-4 text-center text-sm font-medium hover:bg-gray-50 focus:z-10">
61-
<span>ServiceStack Auth</span>
62-
<span aria-hidden="true" class="bg-transparent absolute inset-x-0 bottom-0 h-0.5"></span>
63-
</a>
64-
</nav>
65-
</div>
66-
</div>
67-
6853
<div class="flex justify-center flex-col items-center">
6954
<h2 class="mb-3 text-2xl font-bold tracking-tight text-gray-900 dark:text-gray-50">Add Features</h2>
7055
<form class="flex flex-wrap">

MyApp/Pages/StartAuth.cshtml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,23 +191,23 @@ const App = {
191191
<h2 class="my-8 tracking-tight font-semibold text-xl text-slate-600">Tailwind CSS Templates</h2>
192192
<div class="flex flex-wrap justify-center gap-x-2">
193193
<div>
194-
<ProjectTemplate :name="name" :mix="mixTags" repo="NetCoreTemplates/vue-mjs" :tags="['tailwind','autoquery']" :count="count('vue-mjs')">
194+
<ProjectTemplate :name="name" :mix="mixTags" repo="LegacyTemplates/vue-mjs" :tags="['tailwind','autoquery']" :count="count('vue-mjs')">
195195
<div class="mb-3 text-xl font-medium text-gray-700 dark:text-gray-200">Razor Pages</div>
196196
<template #icon>
197197
<svg class="w-12 h-12 text-indigo-600" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M23.844 27.692a16.332 16.332 0 0 1-6.645 1.3q-6.364 0-10.013-3.243a11.3 11.3 0 0 1-3.649-8.9a13.716 13.716 0 0 1 3.785-9.898A12.716 12.716 0 0 1 16.9 3.008a11.676 11.676 0 0 1 8.425 3.006a9.994 9.994 0 0 1 3.142 7.533a10.187 10.187 0 0 1-2.318 7.114a7.532 7.532 0 0 1-5.817 2.547a2.613 2.613 0 0 1-1.845-.642a2.323 2.323 0 0 1-.764-1.6a4.9 4.9 0 0 1-4.148 2.243a4.6 4.6 0 0 1-3.507-1.479a5.706 5.706 0 0 1-1.384-4.063a9.913 9.913 0 0 1 2.2-6.357q2.2-2.763 4.8-2.763a5.063 5.063 0 0 1 4.256 1.716l.311-1.338h2.405l-2.081 9.08a10.716 10.716 0 0 0-.352 2.243q0 .972.744.972a4.819 4.819 0 0 0 3.877-2.047a8.93 8.93 0 0 0 1.621-5.681a7.98 7.98 0 0 0-2.675-6.175a9.887 9.887 0 0 0-6.919-2.432a10.6 10.6 0 0 0-8.158 3.467a12.066 12.066 0 0 0-3.2 8.495a9.561 9.561 0 0 0 3.06 7.573q3.06 2.7 8.586 2.7a13.757 13.757 0 0 0 5.675-1.054ZM19.466 12.25a3.977 3.977 0 0 0-3.6-1.716q-1.824 0-3.263 2.23a8.726 8.726 0 0 0-1.439 4.824q0 3.635 2.905 3.635a3.771 3.771 0 0 0 2.651-1.183a6.309 6.309 0 0 0 1.7-3.2Z"></path></svg>
198198
</template>
199199
</ProjectTemplate>
200200
</div>
201201
<div>
202-
<ProjectTemplate :name="name" repo="NetCoreTemplates/vue-vite" :tags="['tailwind','autoquery']" :count="count('vue-vite')">
202+
<ProjectTemplate :name="name" repo="LegacyTemplates/vue-vite" :tags="['tailwind','autoquery']" :count="count('vue-vite')">
203203
<div class="mb-3 text-xl font-medium text-gray-700 dark:text-gray-200">Vue Vite</div>
204204
<template #icon>
205205
<svg class="w-12 h-12 text-indigo-600" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2 3h3.5L12 15l6.5-12H22L12 21L2 3m4.5 0h3L12 7.58L14.5 3h3L12 13.08L6.5 3Z"/></svg>
206206
</template>
207207
</ProjectTemplate>
208208
</div>
209209
<div>
210-
<ProjectTemplate :name="name" repo="NetCoreTemplates/vue-ssg" :tags="['tailwind','autoquery']" :count="count('vue-ssg')">
210+
<ProjectTemplate :name="name" repo="LegacyTemplates/vue-ssg" :tags="['tailwind','autoquery']" :count="count('vue-ssg')">
211211
<div class="mb-3 text-xl font-medium text-gray-700 dark:text-gray-200">Vue SSG</div>
212212
<template #icon>
213213
<svg class="w-12 h-12 text-indigo-600" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2 3h3.5L12 15l6.5-12H22L12 21L2 3m4.5 0h3L12 7.58L14.5 3h3L12 13.08L6.5 3Z"/></svg>
@@ -221,23 +221,23 @@ const App = {
221221
<h2 class="my-8 tracking-tight font-semibold text-xl text-slate-600">Bootstrap CSS Templates</h2>
222222
<div class="flex flex-wrap justify-center gap-x-2">
223223
<div>
224-
<ProjectTemplate :name="name" :mix="mixTags" repo="NetCoreTemplates/razor-pages" :tags="['bootstrap']" :count="count('razor-pages')">
224+
<ProjectTemplate :name="name" :mix="mixTags" repo="LegacyTemplates/razor-pages" :tags="['bootstrap']" :count="count('razor-pages')">
225225
<div class="mb-3 text-xl font-medium text-gray-700 dark:text-gray-200">Razor Pages</div>
226226
<template #icon>
227227
<svg class="w-12 h-12 text-indigo-600" xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M23.844 27.692a16.332 16.332 0 0 1-6.645 1.3q-6.364 0-10.013-3.243a11.3 11.3 0 0 1-3.649-8.9a13.716 13.716 0 0 1 3.785-9.898A12.716 12.716 0 0 1 16.9 3.008a11.676 11.676 0 0 1 8.425 3.006a9.994 9.994 0 0 1 3.142 7.533a10.187 10.187 0 0 1-2.318 7.114a7.532 7.532 0 0 1-5.817 2.547a2.613 2.613 0 0 1-1.845-.642a2.323 2.323 0 0 1-.764-1.6a4.9 4.9 0 0 1-4.148 2.243a4.6 4.6 0 0 1-3.507-1.479a5.706 5.706 0 0 1-1.384-4.063a9.913 9.913 0 0 1 2.2-6.357q2.2-2.763 4.8-2.763a5.063 5.063 0 0 1 4.256 1.716l.311-1.338h2.405l-2.081 9.08a10.716 10.716 0 0 0-.352 2.243q0 .972.744.972a4.819 4.819 0 0 0 3.877-2.047a8.93 8.93 0 0 0 1.621-5.681a7.98 7.98 0 0 0-2.675-6.175a9.887 9.887 0 0 0-6.919-2.432a10.6 10.6 0 0 0-8.158 3.467a12.066 12.066 0 0 0-3.2 8.495a9.561 9.561 0 0 0 3.06 7.573q3.06 2.7 8.586 2.7a13.757 13.757 0 0 0 5.675-1.054ZM19.466 12.25a3.977 3.977 0 0 0-3.6-1.716q-1.824 0-3.263 2.23a8.726 8.726 0 0 0-1.439 4.824q0 3.635 2.905 3.635a3.771 3.771 0 0 0 2.651-1.183a6.309 6.309 0 0 0 1.7-3.2Z"></path></svg>
228228
</template>
229229
</ProjectTemplate>
230230
</div>
231231
<div>
232-
<ProjectTemplate :name="name" :mix="mixTags" repo="NetCoreTemplates/mvcauth" :tags="['bootstrap']" :count="count('mvcauth')">
232+
<ProjectTemplate :name="name" :mix="mixTags" repo="LegacyTemplates/mvcauth" :tags="['bootstrap']" :count="count('mvcauth')">
233233
<div class="mb-3 text-xl font-medium text-gray-700 dark:text-gray-200">MVC</div>
234234
<template #icon>
235235
<svg class="w-12 h-12 text-indigo-600" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M11.5 3v8.5H3V3h8.5zm0 18H3v-8.5h8.5V21zm1-18H21v8.5h-8.5V3zm8.5 9.5V21h-8.5v-8.5H21z"/></svg>
236236
</template>
237237
</ProjectTemplate>
238238
</div>
239239
<div>
240-
<ProjectTemplate :name="name" :mix="mixTags" repo="NetCoreTemplates/script" :tags="['bootstrap']" :count="count('script')">
240+
<ProjectTemplate :name="name" :mix="mixTags" repo="LegacyTemplates/script" :tags="['bootstrap']" :count="count('script')">
241241
<div class="mb-3 text-xl font-medium text-gray-700 dark:text-gray-200">#Script</div>
242242
<template #icon>
243243
<img class="w-12 h-12 text-indigo-600" src="/img/svgs/script.svg">

MyApp/Pages/StartCoreFx.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Download a new ASP.NET Core .NET Framework Project
1616
</h1>
1717
<p class="mt-6 text-xl leading-8">
18-
ServiceStack has a number of different integrated project templates to help you get started quickly
18+
ServiceStack has many ServiceStack Auth project templates to get you started quickly
1919
</p>
2020
</div>
2121

MyApp/Pages/StartNetFx.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Download a new C# .NET Framework Project
1616
</h1>
1717
<p class="mt-6 text-xl leading-8">
18-
ServiceStack has a number of different integrated project templates to help you get started quickly
18+
ServiceStack has many .NET Framework project templates to get you started quickly
1919
</p>
2020
</div>
2121

0 commit comments

Comments
 (0)