Skip to content

Commit

Permalink
Add logo in readme for dark and light themes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Nov 14, 2022
1 parent 90747c5 commit de6296b
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 9 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<p align="center">
<img src="gacela-logo.svg" width="350" alt="Gacela logo"/>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="gacela-logo-dark.svg">
<img alt="Gacela logo" src="gacela-logo.svg" width="400">
</picture>
</p>

<p align="center">
Expand Down Expand Up @@ -29,10 +32,11 @@
Splitting your project into different modules help in terms of maintainability and scalability.
It encourages your modules to interact with each other in a unified way by following these rules:

- The [`Facade`](https://gacela-project.com/docs/facade/) is the entry point of your module, and has direct access to the Factory.
- The [`Factory`](https://gacela-project.com/docs/factory/) resolves the intra-dependencies of your module's classes, and has access to the Config.
- The [`Config`](https://gacela-project.com/docs/config/) has access to the key-values from your config files.
- The [`DependencyProvider`](https://gacela-project.com/docs/dependency-provider/) resolves the extra-dependencies of your module.
- Modules interact with each other **only** via their **Facade**
- The [**Facade**](https://gacela-project.com/docs/facade/) is the *entry point* of a module
- The [**Factory**](https://gacela-project.com/docs/factory/) manage the *intra-dependencies* the module
- The [**DependencyProvider**](https://gacela-project.com/docs/dependency-provider/) resolves the *extra-dependencies* of the module
- The [**Config**](https://gacela-project.com/docs/config/) has access to the project's *config files*

### Installation

Expand Down Expand Up @@ -63,8 +67,8 @@ application-name
│ │ │ # These are the 4 "gacela classes":
│ │ ├── Facade.php
│ │ ├── Factory.php
│ │ ├── Config.php
│ │ └── DependencyProvider.php
│ │ ├── DependencyProvider.php
│ │ └── Config.php
│ │
│ └── ModuleB
│ └── ...
Expand Down
31 changes: 31 additions & 0 deletions gacela-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions gacela-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit de6296b

Please sign in to comment.