From a45162e97d8c43e5bf21d75c971c66220f904074 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 13 Sep 2022 08:40:45 +0100 Subject: [PATCH] feat: name capitalization --- .env.example | 2 +- README.md | 4 ++-- deploy/prod/secrets.yaml | 2 +- src/lib/env.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 7a7cc350..05ccec04 100644 --- a/.env.example +++ b/.env.example @@ -3,7 +3,7 @@ #### And inline by Next.js during docker build ############################################################# -NEXT_PUBLIC_APP_NAME=XLog +NEXT_PUBLIC_APP_NAME=xLog NEXT_PUBLIC_OUR_DOMAIN=localhost:3000 NEXT_PUBLIC_DISCORD_LINK="https://discord.gg/9XscSqJEq4" NEXT_PUBLIC_GITHUB_LINK="https://github.com/Crossbell-Box/xlog" diff --git a/README.md b/README.md index 0d1da40b..3419f3c2 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# xlog +# xLog > On-Chain Content Creating for Absolutely Everyone -Meet xlog, the on-chain and open-source blogging platform for everyone. Permanently stored on the blockchain by yourself. +Meet xLog, the on-chain and open-source blogging platform for everyone. Permanently stored on the blockchain by yourself. This project is developed based on [proselog](https://github.com/proselog/proselog) diff --git a/deploy/prod/secrets.yaml b/deploy/prod/secrets.yaml index da8b93e9..2ec9fdc1 100644 --- a/deploy/prod/secrets.yaml +++ b/deploy/prod/secrets.yaml @@ -1,7 +1,7 @@ # Remember to add it in env.production because it is the nextjs project apiVersion: v1 stringData: - NEXT_PUBLIC_APP_NAME: Xlog + NEXT_PUBLIC_APP_NAME: xLog NEXT_PUBLIC_OUR_DOMAIN: xlog.app NEXT_PUBLIC_DISCORD_LINK: "https://discord.gg/9XscSqJEq4" NEXT_PUBLIC_GITHUB_LINK: "https://github.com/Crossbell-Box/xlog" diff --git a/src/lib/env.ts b/src/lib/env.ts index b83f0fd0..1019adea 100644 --- a/src/lib/env.ts +++ b/src/lib/env.ts @@ -1,6 +1,6 @@ import { IS_PROD } from "./constants" -export const APP_NAME = process.env.NEXT_PUBLIC_APP_NAME || "Xlog" +export const APP_NAME = process.env.NEXT_PUBLIC_APP_NAME || "xLog" export const OUR_DOMAIN = process.env.NEXT_PUBLIC_OUR_DOMAIN export const DOCS_DOMAIN = `docs.${OUR_DOMAIN}` export const SITE_URL = `${IS_PROD ? "https" : "http"}://${OUR_DOMAIN}`