Skip to content

Commit

Permalink
♻️ change web and docs url
Browse files Browse the repository at this point in the history
  • Loading branch information
miljan-code committed Feb 27, 2024
1 parent 58994e2 commit a26d937
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</p>

<p align="center">
Get started with the <a rel="noopener noreferrer" target="_blank" href="https://kickstart.miljan.xyz">Next Kickstart</a> by running <code>npx next-kickstart</code>
Get started with the <a rel="noopener noreferrer" target="_blank" href="https://nextkickstart.vercel.app/">Next Kickstart</a> by running <code>npx next-kickstart</code>
</p>

<div align="center">
Expand Down Expand Up @@ -76,7 +76,7 @@ pnpm dlx next-kickstart <folder name>
```

For more advanced usage, check out the
[docs](https://docs.kickstart.miljan.xyz).
[docs](https://kickstart-docs.vercel.app/).

[downloads-image]:
https://img.shields.io/npm/dm/next-kickstart?color=364fc7&logoColor=364fc7
Expand Down
4 changes: 2 additions & 2 deletions apps/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</p>

<p align="center">
Get started with the <a rel="noopener noreferrer" target="_blank" href="https://kickstart.miljan.xyz">Next Kickstart</a> by running <code>npx next-kickstart</code>
Get started with the <a rel="noopener noreferrer" target="_blank" href="https://nextkickstart.vercel.app/">Next Kickstart</a> by running <code>npx next-kickstart</code>
</p>

<div align="center">
Expand Down Expand Up @@ -76,7 +76,7 @@ pnpm dlx next-kickstart <folder name>
```

For more advanced usage, check out the
[docs](https://docs.kickstart.miljan.xyz).
[docs](https://kickstart-docs.vercel.app/).

[downloads-image]:
https://img.shields.io/npm/dm/next-kickstart?color=364fc7&logoColor=364fc7
Expand Down
2 changes: 1 addition & 1 deletion apps/web/config/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const siteConfig = {
description: "All-in-one toolkit for full-stack, typesafe applications",
links: {
github: "https://github.com/miljan-code/next-kickstart",
docs: "https://docs.kickstart.miljan.xyz",
docs: "https://kickstart-docs.vercel.app/",
},
};

Expand Down
4 changes: 2 additions & 2 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</p>

<p align="center">
Get started with the <a rel="noopener noreferrer" target="_blank" href="https://kickstart.miljan.xyz">Next Kickstart</a> by running <code>npx next-kickstart</code>
Get started with the <a rel="noopener noreferrer" target="_blank" href="https://nextkickstart.vercel.app/">Next Kickstart</a> by running <code>npx next-kickstart</code>
</p>

<div align="center">
Expand Down Expand Up @@ -75,7 +75,7 @@ pnpm dlx next-kickstart <folder name>
```

For more advanced usage, check out the
[docs](https://docs.kickstart.miljan.xyz).
[docs](https://kickstart-docs.vercel.app/).

[downloads-image]:
https://img.shields.io/npm/dm/next-kickstart?color=364fc7&logoColor=364fc7
Expand Down
7 changes: 2 additions & 5 deletions packages/cli/src/commands/add/installers/nextauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { depInstaller } from "../helpers/dep-installer.js";
import { updateKickstartConfig } from "@/commands/common/update-kickstart-config.js";
import { confirmPrompt, overwritePrompt } from "@/commands/common/prompts.js";
import { logger } from "@/utils/logger.js";
import { DOCS_URL } from "@/constants.js";
import { type InstallPackagesOpts } from "@/commands/init/helpers/install-packages.js";
import { type Dependency } from "@/commands/common/dependencies.js";

Expand Down Expand Up @@ -61,9 +62,5 @@ export const nextauthInstaller = async ({
// Next steps
logger.info("\nNext steps:");
logger.info(` - Add Next-Auth environment variables to .env file`);
logger.info(
` Find more here: ${chalk.white(
"https://docs.kickstart.miljan.xyz",
)} (ctrl+click)`,
);
logger.info(` Find more here: ${chalk.white(DOCS_URL)}`);
};
3 changes: 2 additions & 1 deletion packages/cli/src/commands/add/installers/trpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { fsTRPC } from "@/commands/common/fs-helpers.js";
import { depInstaller } from "../helpers/dep-installer.js";
import { updateKickstartConfig } from "@/commands/common/update-kickstart-config.js";
import { logger } from "@/utils/logger.js";
import { DOCS_URL } from "@/constants.js";
import { type InstallPackagesOpts } from "@/commands/init/helpers/install-packages.js";

export const trpcInstaller = async ({
Expand Down Expand Up @@ -37,5 +38,5 @@ export const trpcInstaller = async ({

// Next steps
logger.info("Find out more about tRPC:");
logger.info(` ${chalk.white("https://docs.kickstart.miljan.xyz")}`);
logger.info(` ${chalk.white(DOCS_URL)}`);
};
3 changes: 2 additions & 1 deletion packages/cli/src/commands/add/installers/uploadthing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { depInstaller } from "../helpers/dep-installer.js";
import { logger } from "@/utils/logger.js";
import { fsUploadthing } from "@/commands/common/fs-helpers.js";
import { updateKickstartConfig } from "@/commands/common/update-kickstart-config.js";
import { DOCS_URL } from "@/constants.js";

export const uploadthingInstaller = async ({
packages,
Expand All @@ -29,5 +30,5 @@ export const uploadthingInstaller = async ({

// Next steps
logger.info("Find out more about Uploadthing:");
logger.info(` ${chalk.white("https://docs.kickstart.miljan.xyz")}`);
logger.info(` ${chalk.white(DOCS_URL)}`);
};
1 change: 1 addition & 0 deletions packages/cli/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { fileURLToPath } from "node:url";
const __filename = fileURLToPath(import.meta.url);
export const PKG_ROOT = path.join(path.dirname(__filename), "../");
export const DEFAULT_APP_NAME = "next-kickstart";
export const DOCS_URL = "https://kickstart-docs.vercel.app";
export const TITLE_TEXT = ` _ ___ _ _ _
| | / (_) | | | | | |
| |/ / _ ___| | _____| |_ __ _ _ __| |_
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/template/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</p>

<p align="center">
Get started with the <a rel="noopener noreferrer" target="_blank" href="https://kickstart.miljan.xyz">Next Kickstart</a> by running <code>npx next-kickstart</code>
Get started with the <a rel="noopener noreferrer" target="_blank" href="https://nextkickstart.vercel.app/">Next Kickstart</a> by running <code>npx next-kickstart</code>
</p>

<div align="center">
Expand All @@ -40,8 +40,8 @@

<h2 id="about">Next Kickstart</h2>

Next-Kickstart is an opinionated NextJS 13 (App Router) CLI toolkit
that contains everything you need for developing a full-stack applications.
Next-Kickstart is an opinionated NextJS 13 (App Router) CLI toolkit that
contains everything you need for developing a full-stack applications.

It includes:

Expand Down Expand Up @@ -76,7 +76,7 @@ pnpm dlx next-kickstart <folder name>
```

For more advanced usage, check out the
[docs](https://docs.kickstart.miljan.xyz).
[docs](https://kickstart-docs.vercel.app/).

[downloads-image]:
https://img.shields.io/npm/dm/next-kickstart?color=364fc7&logoColor=364fc7
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/template/base/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function Home() {
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 md:gap-8">
<Link
className="flex max-w-xs flex-col gap-4 rounded-xl bg-[#fff2] p-4 hover:bg-[#fff3]"
href="https://docs.kickstart.miljan.xyz"
href="https://kickstart-docs.vercel.app/"
target="_blank"
>
<h3 className="text-xl font-bold">First Steps →</h3>
Expand All @@ -21,7 +21,7 @@ export default function Home() {
</Link>
<Link
className="flex max-w-xs flex-col gap-4 rounded-xl bg-[#fff2] p-4 hover:bg-[#fff3]"
href="https://docs.kickstart.miljan.xyz"
href="https://kickstart-docs.vercel.app/"
target="_blank"
>
<h3 className="text-xl font-bold">Documentation →</h3>
Expand Down

0 comments on commit a26d937

Please sign in to comment.