# dnzlucas/gordofrutas architecture

> Architecture diagram of the GitHub repository dnzlucas/gordofrutas, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-05-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dnzlucas/gordofrutas
- Repository: https://github.com/dnzlucas/gordofrutas

## Overview

1. **Project type**
   - This is a small **static multi-page website** for “Gordo Frutas”.
   - There is no backend, API layer, build system, or client framework visible in the repository. The architecture is centered on plain HTML and CSS.

2. **Page-level structure**
   - The site is split into four independent pages:
     - `index.html` for the home page
     - `fruits.html` for the fruits catalog/content
     - `about.html` for the about page
     - `contact.html` for the contact page
   - Each page appears to be authored separately rather than rendered from a shared template system.

3. **Styling architecture**
   - CSS is organized under `src/css/`.
   - There is one shared stylesheet, `reset.css`, plus one page-specific stylesheet for each page:
     - `index.css`
     - `fruits.css`
     - `about.css`
     - `contact.css`
   - This suggests a simple boundary: **global normalization/reset** plus **page-local presentation**.

4. **Shared foundation**
   - `src/css/reset.css` is the only clearly shared CSS layer.
   - Its role is likely to normalize browser defaults so each page can be styled consistently on top of a common baseline.

5. **Page-specific presentation**
   - Each page’s CSS file likely contains only the styles needed for that page’s layout, typography, spacing, and section-specific components.
   - This keeps coupling low between pages, but also means the design system is duplicated across page styles rather than centralized into reusable components.

6. **Asset organization**
   - Images are stored under `src/img/`.
   - This implies the visual layer is mostly static assets referenced directly from the HTML/CSS pages, with no dynamic asset pipeline visible.

7. **Content ownership**
   - The README assigns page ownership by contributor:
     - Home -> Luiz Fernando
     - Fruits -> Lucas Diniz
     - About -> Henrique
     - Contact -> Nycolas
   - That strongly suggests the repository was structured for collaborative editing where each person owns one page and its corresponding CSS.

8. **Visual design constraints**
   - The README defines a fixed palette of colors, including greens, orange, red-brown, yellow, purple, and white.
   - Since these values are documented centrally, the design likely relies on a shared brand palette even though implementation is split across page-specific stylesheets.

9. **Navigation/data flow**
   - The primary flow is user navigation between static HTML pages.
   - The pages likely link to each other through standard anchors, with no client-side routing or state management involved.

10. **Deployment/runtime model**
   - Because the repository contains only HTML, CSS, and images, it can be served from any static hosting setup.
   - The runtime boundary is entirely browser-side: HTML structure plus CSS styling, with no server-generated content.

11. **Architecture summary for diagramming**
   - Draw this as a **static site** with four independent page entry points.
   - Show one shared styling foundation (`reset.css`), four page-specific style branches, and a shared image asset folder.
   - The main coupling is through shared visual identity and navigation, not through code reuse or application logic.

Main entry points: [`src/css/reset.css`](https://github.com/dnzlucas/gordofrutas/blob/main/src/css/reset.css) (Reset), [`src/img`](https://github.com/dnzlucas/gordofrutas/tree/main/src/img) (Images), [`index.html`](https://github.com/dnzlucas/gordofrutas/blob/main/index.html) (Home), [`fruits.html`](https://github.com/dnzlucas/gordofrutas/blob/main/fruits.html) (Fruits)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Static site"]
  node_static_site["Site shell<br/>static site"]
  node_page_links(("Nav links<br/>navigation"))
end

subgraph group_pages["Pages"]
  node_index_html["Home<br/>html page<br/>[index.html]"]
  node_fruits_html["Fruits<br/>html page<br/>[fruits.html]"]
  node_about_html["About<br/>html page<br/>[about.html]"]
  node_contact_html["Contact<br/>html page<br/>[contact.html]"]
end

subgraph group_styles["Styles"]
  node_reset_css["Reset<br/>[reset.css]"]
  node_index_css["Home CSS<br/>page css<br/>[index.css]"]
  node_fruits_css["Fruits CSS<br/>page css<br/>[fruits.css]"]
  node_about_css["About CSS<br/>page css<br/>[about.css]"]
  node_contact_css["Contact CSS<br/>page css<br/>[contact.css]"]
end

subgraph group_assets["Assets"]
  node_src_img[("Images<br/>asset folder")]
end

subgraph group_docs["Docs"]
  node_readme_md["README<br/>docs<br/>[README.md]"]
  node_brand_palette{{"Palette<br/>design spec"}}
end

node_static_site -->|"entry"| node_index_html
node_static_site -->|"entry"| node_fruits_html
node_static_site -->|"entry"| node_about_html
node_static_site -->|"entry"| node_contact_html
node_static_site -->|"styles"| node_reset_css
node_static_site -->|"assets"| node_src_img
node_static_site -.->|"nav"| node_page_links
node_index_html -->|"uses"| node_reset_css
node_index_html -->|"uses"| node_index_css
node_index_html -->|"loads"| node_src_img
node_fruits_html -->|"uses"| node_reset_css
node_fruits_html -->|"uses"| node_fruits_css
node_fruits_html -->|"loads"| node_src_img
node_about_html -->|"uses"| node_reset_css
node_about_html -->|"uses"| node_about_css
node_about_html -->|"loads"| node_src_img
node_contact_html -->|"uses"| node_reset_css
node_contact_html -->|"uses"| node_contact_css
node_contact_html -->|"loads"| node_src_img
node_reset_css -->|"base"| node_index_css
node_reset_css -->|"base"| node_fruits_css
node_reset_css -->|"base"| node_about_css
node_reset_css -->|"base"| node_contact_css
node_readme_md -.->|"documents"| node_brand_palette
node_readme_md -.->|"documents"| node_page_links

click node_index_html "https://github.com/dnzlucas/gordofrutas/blob/main/index.html"
click node_fruits_html "https://github.com/dnzlucas/gordofrutas/blob/main/fruits.html"
click node_about_html "https://github.com/dnzlucas/gordofrutas/blob/main/about.html"
click node_contact_html "https://github.com/dnzlucas/gordofrutas/blob/main/contact.html"
click node_reset_css "https://github.com/dnzlucas/gordofrutas/blob/main/src/css/reset.css"
click node_index_css "https://github.com/dnzlucas/gordofrutas/blob/main/src/css/index.css"
click node_fruits_css "https://github.com/dnzlucas/gordofrutas/blob/main/src/css/fruits.css"
click node_about_css "https://github.com/dnzlucas/gordofrutas/blob/main/src/css/about.css"
click node_contact_css "https://github.com/dnzlucas/gordofrutas/blob/main/src/css/contact.css"
click node_src_img "https://github.com/dnzlucas/gordofrutas/tree/main/src/img"
click node_readme_md "https://github.com/dnzlucas/gordofrutas/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_static_site,node_page_links toneBlue
class node_index_html,node_fruits_html,node_about_html,node_contact_html toneAmber
class node_reset_css,node_index_css,node_fruits_css,node_about_css,node_contact_css toneMint
class node_src_img toneRose
class node_readme_md,node_brand_palette toneIndigo
```

## Components

### Static site

Browser-served HTML pages and shared presentation assets.

- **Site shell**: static site · Overall static website boundary; no backend or build layer is present.
- **Nav links**: navigation · Cross-page navigation via standard HTML anchors.

### Pages

Independent entry pages for the site content.

- [Home](https://github.com/dnzlucas/gordofrutas/blob/main/index.html): html page · Landing page for the site. · `index.html`
- [Fruits](https://github.com/dnzlucas/gordofrutas/blob/main/fruits.html): html page · Catalog/content page for fruits. · `fruits.html`
- [About](https://github.com/dnzlucas/gordofrutas/blob/main/about.html): html page · About page for the project or brand. · `about.html`
- [Contact](https://github.com/dnzlucas/gordofrutas/blob/main/contact.html): html page · Contact page for the project. · `contact.html`

### Styles

Shared reset plus page-specific presentation styles.

- [Reset](https://github.com/dnzlucas/gordofrutas/blob/main/src/css/reset.css): css reset · Shared normalization layer that establishes a common browser baseline. · `src/css/reset.css`
- [Home CSS](https://github.com/dnzlucas/gordofrutas/blob/main/src/css/index.css): page css · Presentation styles for the home page. · `src/css/index.css`
- [Fruits CSS](https://github.com/dnzlucas/gordofrutas/blob/main/src/css/fruits.css): page css · Presentation styles for the fruits page. · `src/css/fruits.css`
- [About CSS](https://github.com/dnzlucas/gordofrutas/blob/main/src/css/about.css): page css · Presentation styles for the about page. · `src/css/about.css`
- [Contact CSS](https://github.com/dnzlucas/gordofrutas/blob/main/src/css/contact.css): page css · Presentation styles for the contact page. · `src/css/contact.css`

### Assets

Static image assets used by the pages.

- [Images](https://github.com/dnzlucas/gordofrutas/tree/main/src/img): asset folder · Static image assets referenced by the HTML and CSS. · `src/img`

### Docs

Repository documentation and content ownership notes.

- [README](https://github.com/dnzlucas/gordofrutas/blob/main/README.md): docs · Project notes, page ownership, and palette guidance. · `README.md`
- **Palette**: design spec · Documented color system used across the pages.

## Connections

- Site shell → Home: entry · The home page is one of the main site entry points.
- Site shell → Fruits: entry · The fruits page is one of the main site entry points.
- Site shell → About: entry · The about page is one of the main site entry points.
- Site shell → Contact: entry · The contact page is one of the main site entry points.
- Site shell → Reset: styles · Shared styling foundation for the site.
- Site shell → Images: assets · Static image assets are part of the site boundary.
- Site shell → Nav links: nav · Pages are connected through standard cross-page links.
- Home → Reset: uses · Home page styling starts from the shared reset.
- Home → Home CSS: uses · Home page has its own stylesheet.
- Home → Images: loads · Home page references shared images.
- Fruits → Reset: uses · Fruits page styling starts from the shared reset.
- Fruits → Fruits CSS: uses · Fruits page has its own stylesheet.
- Fruits → Images: loads · Fruits page references shared images.
- About → Reset: uses · About page styling starts from the shared reset.
- About → About CSS: uses · About page has its own stylesheet.
- About → Images: loads · About page references shared images.
- Contact → Reset: uses · Contact page styling starts from the shared reset.
- Contact → Contact CSS: uses · Contact page has its own stylesheet.
- Contact → Images: loads · Contact page references shared images.
- Reset → Home CSS: base · Home styles build on the shared baseline.
- Reset → Fruits CSS: base · Fruits styles build on the shared baseline.
- Reset → About CSS: base · About styles build on the shared baseline.
- Reset → Contact CSS: base · Contact styles build on the shared baseline.
- README → Palette: documents · README captures the shared color palette.
- README → Nav links: documents · README reflects the multi-page, collaboratively owned structure.
