amical/apps/www
Haritabh f5686d45be
Feat/updated settings layout (#38)
* wip: updating settings layout

* most issues resolved

* settings layout revamped

* fix:multiple unrequired toast on formatter settings resolved

* feat: updated ai-models tabs to extract common components and logic

* chore: formatting fix

* chore: code cleanup

* fix: forward navigation handling

* fix: model selections ux

* fix: vocabulary update flow

* chore: update lang list

* chore: cleanup migrations

* fix: invalid drag class on back buttont

* chore: swap to tanstack router

* fix: history navigation

* chore: clean up + models unification

* chore: cleanup migrations

* refactor: settings deep merges

---------

Co-authored-by: amadeus-x1 <45001978+amadeus-x1@users.noreply.github.com>
2025-09-10 01:16:12 +05:30
..
app chore: formatting fixes 2025-06-28 11:04:55 +05:30
components/ui chore: add hidden honeypot fields 2025-06-25 01:24:50 +05:30
content/docs chore: formatting fixes 2025-06-28 11:04:55 +05:30
lib chore: formatting fixes 2025-06-28 11:04:55 +05:30
public feat: update hero with cards carousel (#18) 2025-06-02 23:48:55 +05:30
scripts chore: formatting fixes 2025-06-28 11:04:55 +05:30
.env.example feat(www): init blog (#20) 2025-06-25 01:24:57 +05:30
.gitignore feat(www): migrate www to cloudflare worker (#21) 2025-06-25 01:24:57 +05:30
components.json chore: formatting fixes 2025-06-28 11:04:55 +05:30
eslint.config.mjs chore: update linting and formatting 2025-06-28 11:04:24 +05:30
mdx-components.tsx chore: formatting fixes 2025-06-28 11:04:55 +05:30
next.config.mjs chore: formatting fixes 2025-06-28 11:04:55 +05:30
package.json Feat/updated settings layout (#38) 2025-09-10 01:16:12 +05:30
postcss.config.mjs chore: formatting fixes 2025-06-28 11:04:55 +05:30
README.md chore: formatting fixes 2025-06-28 11:04:55 +05:30
source.config.ts chore: formatting fixes 2025-06-28 11:04:55 +05:30
tsconfig.json feat(www): init www (#2) 2025-05-09 17:18:08 +05:30
wrangler.jsonc feat(www): migrate www to cloudflare worker (#21) 2025-06-25 01:24:57 +05:30

www

This is a Next.js application generated with Create Fumadocs.

Run development server:

npm run dev
# or
pnpm dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Content Management

Docs

Docs are written in MDX in the contents/docs folder.

Fetching Blog Content

This project includes a script to fetch blog content and images from an S3-compatible storage (Wasabi):

# Set up environment variables (see .env.example)
pnpm fetch-content

The script will:

  • Fetch MDX files from the blog/ folder in the S3 bucket and save them to content/blogs/
  • Fetch images from the blog-images/ folder in the S3 bucket and save them to public/blog/

Building the Application

The build process includes fetching content from S3:

pnpm build

The build will fail if the content fetch fails. This ensures that the site is always built with the latest content and that any issues with the content fetch process are immediately apparent.

To use this in CI/CD environments, make sure to configure the appropriate AWS credentials as environment variables.