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":
src/containers/components/home/UnlockThePower.jsx - Wings Section:
src/containers/components/home/WingsSection.jsx - Info/Formats:
src/containers/components/home/InfoSection.jsx - Call to Action (Bottom):
src/containers/CTA/CTA.jsx
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:
-
Create a new file in the
blog/folder. -
Name it starting with the date, e.g.,
2024-01-01-my-new-post.md. -
Paste the following template at the top of the file:
--- title: My New Post Title authors: ferid tags: [news, update] --- Write your introduction here. <!--truncate--> Write the rest of your post here.
- Images:
- Upload the image to the
static/imgfolder. - Use standard Markdown syntax to reference it:

- Upload the image to the
- YouTube: To make the video responsive (adaptable to mobile screens), use the snippet below. Replace
VIDEO_IDwith the ID from your YouTube link.<iframe src="https://www.youtube.com/embed/VIDEO_ID" style={{width: '100%', aspectRatio: '16/9'}} allowFullScreen frameBorder="0"></iframe>
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.
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.