Skip to content

ncn-ssw/SSW.Website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSW.Website

SSW Banner

This repository is a v3 of the zzSSW.Website. This website uses NextJS with TinaCMS.

Watch the demo:

YouTube video

See the important Documents

Architecture Overview

architecture-diagram

Requirements

Get Started

Install the project's dependencies:

pnpm install

Run the project locally:

pnpm dev

Build the project:

pnpm build

Get Started with Dev Container

How to

  1. Open Command Palette in VSCode
> Dev Containers: Reopen in Container
  1. Develop as you would normally

Don't want to use Dev Container any more?

  1. Close VSCode connected with the Dev Container
  2. Open project folder on host machine
  3. Remove node_modules and reinstall dependencies
pnpm install

Updating the project's dependencies

pnpm outdated

Test locally to make sure everything still works.

Local URLs

UI Testing on local

  • 1 Make sure you have CREATE_LEAD_ENDPOINT environment variable in your .env - Follow steps to setup

  • 2 Run npx playwright test --ui in your terminal and make sure your local instance is running in the background.

Pull Requests

Each Pull Request will be deployed to its own staging environment, the URL to the environment is available in the PR thread.

⚠️ Warning: Changes in the mdx files must be done with TinaCMS. This is because TinaCMS maps mdx files with its fields with specific characters for customized UI (e.g., rich-text field). So avoid direct edits as they may result in build failures or go unnoticed during PR reviews.

Getting Help

Releases

No releases published

Packages

No packages published

Languages

  • HTML 91.5%
  • MDX 4.3%
  • TypeScript 3.3%
  • CSS 0.4%
  • Classic ASP 0.2%
  • JavaScript 0.2%
  • Other 0.1%