This repository contains the source code for the Docwire website. It is built to be easily editable directly through GitHub.
You do not need to install any software on your computer. You can edit files directly in your web browser.
- Edit: Navigate to the file you want to change on GitHub and click the Pencil icon (Edit this file).
- Save: Scroll to the bottom, add a short description of your change, and click Commit changes.
- Deploy: The website will automatically rebuild and update within a few minutes. You can check the progress in the Actions tab.
The homepage is made up of several sections. You can find the text for these sections in the src/containers folder.
- Hero (Top Section):
src/containers/header/home/HomeHeader.jsx - "Have you ever wanted to...":
src/containers/components/home/HomeHaveYouEver.jsx - "Unlock the Power" Cards: The content for these cards is in
src/data/unlockThePowerData.js. - Wings Section:
src/containers/components/home/WingsSection.jsx - Call to Action (Bottom):
src/containers/CTA/CTA.jsx - Supported Formats Grid: The list of formats is in
src/data/supportedFormatsData.js.
Tip: Look for the white text inside the code. Be careful not to delete code symbols like <p>, <h3>, </div>, or {.
Blog posts are located in the blog/ folder.
To add a new post:
- Text-only: Create a new file in
blog/(e.g.,blog/2024-01-01-my-post.md). - With Images: Create a new folder (e.g.,
blog/2024-01-01-my-post) and add anindex.mdfile inside.
Paste the following template at the top of your file:
```markdown
---
title: My New Post Title
authors: ferid
tags: [news, update]
---
Write your introduction here.
<!--truncate-->
Write the rest of your post here.
```
-
Images:
- Option 1 (Post-Specific): Place the image in the same folder as your Markdown file.

- Option 2 (Shared/Reusable): If an image is used on multiple pages, upload it to
static/img/. Reference it using the full path so it works in GitHub:
- Option 1 (Post-Specific): Place the image in the same folder as your Markdown file.
-
YouTube: Simply add a standard image link pointing to the YouTube video. The website will automatically convert this into a video player.
[](https://youtu.be/VIDEO_ID)
Showcases are managed in a data file.
- Go to
src/data/showcaseData.js. - You will see a list of items. To add a new one, copy an existing block (everything between
{and},) and paste it as a new item. - Update the text fields (
companyName,whatIs, etc.). - Images: Upload new images to
src/assetsand reference the filename in theimagefield.
Standalone pages (like "About Us" or "Privacy Policy") are located in src/pages/.
- Simple Page: Create a file like
src/pages/new-page.md. It will be available at/new-page. - Page with Images: Create a folder like
src/pages/new-page/and add anindex.mdfile inside.- You can then put images in that folder and link them using
!Alt.
- You can then put images in that folder and link them using
The contact form uses EmailJS.
If you need to change the email configuration (Service ID, Template ID, or Public Key):
- Go to
src/containers/components/contactUs/Form.jsx. - Look for the
emailjs.sendFormfunction (around line 24). - Update the IDs inside the quotes.
If you are a developer and want to run the site on your computer:
- Install Node.js.
- Run
npm installto install dependencies. - Run
npm startto start the local server. - The site will open at
http://localhost:3000.