Skip to content

Commit

Permalink
feat: Add a link to document site
Browse files Browse the repository at this point in the history
  • Loading branch information
miyanokomiya committed Oct 5, 2024
1 parent cde8f5c commit f9ce564
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/AppFootbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ export const AppFootbar: React.FC = () => {
opened={popupedKey === "help"}
popup={
<div className="flex flex-col items-center w-max">
<ListLink href={process.env.DOC_PATH!} external>
Document
</ListLink>
<ListLink href={process.env.CONTACT_FORM_URL!} external>
Contact
</ListLink>
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default defineConfig({
"process.env.CONTACT_FORM_URL": JSON.stringify(process.env.CONTACT_FORM_URL ?? "example.com"),
"process.env.BUYMEACOFFEE_URL": JSON.stringify(process.env.BUYMEACOFFEE_URL ?? "example.com"),
"process.env.ASSETS_PATH": JSON.stringify(process.env.ASSETS_PATH ?? "https://assets.no-mans-folly.com/"),
"process.env.DOC_PATH": JSON.stringify(process.env.DOC_PATH ?? "https://doc.no-mans-folly.com/"),
"process.env.API_HOST": JSON.stringify(process.env.API_HOST ?? "http://localhost:8787/"),
// Dev project: https://console.cloud.google.com/apis/dashboard?project=test-no-mans-folly
"process.env.GOOGLE_CLIENT_ID": JSON.stringify(
Expand Down

0 comments on commit f9ce564

Please sign in to comment.