Deneb ReactJs documentation
Folder structure
Where everything lives in the Deneb React download.
content/
site.yml Site settings
data/ Menu, team, testimonials, pricing, FAQ and more (YAML)
pages/ One file per page, with its sections
services/ One Markdown file per service
portfolio/ One Markdown file per project
posts/ Blog posts, named YYYY-MM-DD-slug.md
authors/ One Markdown file per author
app/ Routes (Next.js App Router)
components/ Header, footer, cards and one component per section
lib/ Reads your content (content.js, i18n.js, markdown.js)
public/assets/ CSS, JavaScript, fonts and your images
scripts/fix-export.mjs Runs after the build
source/ The CSS source (optional)
next.config.mjs Next.js settings
The buyer zip also has a README.md with the short version of this page.
content/
This is where you work. Nothing here is code.
| Path | What it holds |
|---|---|
site.yml |
Title, description, URL, language, direction and the deneb: block (contact, social links, form, newsletter, credit) |
data/navigation.yml |
The main menu, the footer links and the header button |
data/team.yml, testimonials.yml, pricing.yml, faq.yml, stats.yml, process.yml, clients.yml |
The content of the matching sections |
data/i18n.yml |
Every interface text, in English and Arabic |
data/layout_sections.yml |
The call-to-action and process blocks at the bottom of service and project pages |
data/authors.yml |
Not used by the React edition. It is kept so the data files match the Jekyll edition |
pages/* |
home, about, services, portfolio, contact, pricing and privacy, plus blog.html for the blog heading |
data/palette.json is used only by the CSS build in source/. You can ignore it.
app/
One folder per page type: about, services, services/[slug], portfolio, portfolio/[slug], blog, blog/page/[num], blog/[slug], tag/[tag], author/[slug], contact, pricing and privacy. Next to them are page.js (the home page), layout.js and not-found.js.
app/layout.js holds the page frame: the <head>, the CSS links, the header, the footer and the scripts. You rarely need to open the other route files.
components/
Header.js,Footer.js,Logo.js,PageHeader.js,SectionHead.js,Img.jsand other shared parts.Sections.jsturns thesections:list of a page into components.sections/has one file per section type, for exampleHero.jsandPricing.js.cards/hasServiceCard.jsandProjectCard.js.PostCard.js,PostMeta.js,Pagination.js,TagBar.jsandAuthorBox.jsare for the blog.- Four files run in the browser:
NavLinks.js,PortfolioFilter.js,sections/DemoForm.jsandShareCopy.js. Everything else runs at build time.
public/assets/
| Path | What it is |
|---|---|
css/deneb.css, css/deneb.rtl.css |
The theme CSS, left-to-right and right-to-left |
css/custom.css |
Your own CSS. It loads last, and updates never overwrite it |
js/bootstrap.bundle.min.js, js/deneb.js |
Bootstrap and the theme’s small script |
fonts/ |
Poppins, with its licence in OFL.txt |
favicon.svg |
The site icon |
img/ |
Your pictures. The download has no photos |
Do not edit deneb.css. Put changes in custom.css, or rebuild the CSS from source/. See Branding.