1.4 KiB
Editing The Website
This site is designed so most updates happen in one file:
public/index.html
The design system lives separately in:
src/styles.css
The generated stylesheet served by Nginx is:
public/styles.css
Common Updates
Change The Main Headline
Open public/index.html and find:
<h1>Novarix Networks</h1>
Keep this short. The supporting paragraph underneath should explain the offer.
Change The Services
Open public/index.html and find:
<section class="content-section" id="services">
Each service is an <article class="service-card reveal">.
You can safely edit:
- the
<h3>title - the
<p>description - the bullet points inside
<li>
Change Contact Details
Open public/index.html and search for:
contact@novarixnet.com
Replace it with the real public inbox when ready.
When To Run The Tailwind Build
If you only change words in public/index.html, the deploy script will still rebuild CSS for you.
On the server, run:
cd /var/www/novarixnet.com
./deploy.sh
That pulls the newest code, rebuilds Tailwind, tests Nginx and reloads the site.
Local Preview
Install dependencies:
npm install --no-package-lock
Build the CSS:
npm run build
Preview the public/ folder with any static server you prefer.
Server Update
On the Nginx VM:
cd /var/www/novarixnet.com
./deploy.sh