This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-05-02 19:48:50 +02:00

90 lines
1.4 KiB
Markdown

# 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:
```html
<h1>Novarix Networks</h1>
```
Keep this short. The supporting paragraph underneath should explain the offer.
### Change The Services
Open `public/index.html` and find:
```html
<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:
```html
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:
```bash
cd /var/www/novarixnet.com
./deploy.sh
```
That pulls the newest code, rebuilds Tailwind, tests Nginx and reloads the site.
## Local Preview
Install dependencies:
```bash
npm install --no-package-lock
```
Build the CSS:
```bash
npm run build
```
Preview the `public/` folder with any static server you prefer.
## Server Update
On the Nginx VM:
```bash
cd /var/www/novarixnet.com
./deploy.sh
```