Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change module js #304

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
b3497bf
fix: add photographer home page
stephanievanoverberghe Jun 3, 2024
7d5f3df
fix: add photographer page
stephanievanoverberghe Jun 3, 2024
c367237
add: media photograph
stephanievanoverberghe Jun 3, 2024
e5ebfc4
fix: update path medias
stephanievanoverberghe Jun 3, 2024
06dc106
fix: add total likes
stephanievanoverberghe Jun 3, 2024
67ad4a4
fix: update body
stephanievanoverberghe Jun 3, 2024
1479aee
fix: add comments and JS doc
stephanievanoverberghe Jun 3, 2024
08d9bec
fix: add sort
stephanievanoverberghe Jun 5, 2024
680f2e6
fix: add MediaFactory
stephanievanoverberghe Jun 5, 2024
4c2df4d
fix: change path img-video
stephanievanoverberghe Jun 5, 2024
a6ca358
fix: change path
stephanievanoverberghe Jun 5, 2024
76a1ba8
fix: change path
stephanievanoverberghe Jun 5, 2024
0bce841
fix: change path
stephanievanoverberghe Jun 5, 2024
dcce521
fix: change path
stephanievanoverberghe Jun 5, 2024
4a0d03a
fix: change path
stephanievanoverberghe Jun 5, 2024
a4b2878
fix: change path
stephanievanoverberghe Jun 5, 2024
ddc78e2
fix: change path
stephanievanoverberghe Jun 5, 2024
3440db7
fix: change path
stephanievanoverberghe Jun 5, 2024
1c241af
fix: change path
stephanievanoverberghe Jun 5, 2024
fdcf8e6
fix: change path
stephanievanoverberghe Jun 5, 2024
4dbe769
fix: change path
stephanievanoverberghe Jun 5, 2024
fcadc5a
fix: change path
stephanievanoverberghe Jun 5, 2024
72ac5c9
fix: change path
stephanievanoverberghe Jun 5, 2024
6decde2
fix: change path
stephanievanoverberghe Jun 5, 2024
7630568
fix: change path
stephanievanoverberghe Jun 5, 2024
1d3429c
fix: change path
stephanievanoverberghe Jun 5, 2024
01f02d0
fix: add file gitignore
stephanievanoverberghe Jun 7, 2024
715acad
fix: add responsive
stephanievanoverberghe Jun 10, 2024
03564d8
fix: add modal responsive
stephanievanoverberghe Jun 10, 2024
2133537
fix: ajust cards css
stephanievanoverberghe Jun 10, 2024
482702b
fix: add lightbox
stephanievanoverberghe Jun 12, 2024
9bfb7b2
fix: add lightbox
stephanievanoverberghe Jun 12, 2024
a48ade1
fix: add lightbox
stephanievanoverberghe Jun 12, 2024
3abefb0
fix: add lightbox
stephanievanoverberghe Jun 12, 2024
5b4fd56
fix: change path
stephanievanoverberghe Jun 12, 2024
590d6c7
fix: change path
stephanievanoverberghe Jun 12, 2024
398aecb
fix: change path
stephanievanoverberghe Jun 12, 2024
559eeef
fix: change path
stephanievanoverberghe Jun 12, 2024
a00cb6f
fix: add likes
stephanievanoverberghe Jun 13, 2024
ef940b6
add: accessibility lightbox
stephanievanoverberghe Jun 13, 2024
2d78d87
fix: add accessibility
stephanievanoverberghe Jun 13, 2024
d7a3190
fix: accessibility
stephanievanoverberghe Jun 13, 2024
599bf5b
fix: add JSDOC
stephanievanoverberghe Jun 20, 2024
0611353
fix: add eslint
stephanievanoverberghe Jun 20, 2024
ce433db
fix: add likes
stephanievanoverberghe Jun 20, 2024
58e69c7
fix: change module js
stephanievanoverberghe Jun 21, 2024
d6cb240
fix: add keyframes
stephanievanoverberghe Jun 22, 2024
87bb374
fix: add README
stephanievanoverberghe Jun 22, 2024
28e661a
fix: add screenshot
stephanievanoverberghe Jun 28, 2024
76c8d19
fix: update README.md
stephanievanoverberghe Jun 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.vscode
.setting.json
node_modules
eslint.config.js
134 changes: 131 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,134 @@
# Base de code du projet P6 - Parcours Front-end
# Openclassrooms - **Projet 6** - Fisheye

## Démarrer le projet
## Description

Rien à installer ici, il suffit d'ouvrir le fichier `index.html`.
Fisheye est une plateforme où les utilisateurs peuvent découvrir des photographes professionnels et leurs œuvres. Les utilisateurs peuvent aimer des photos et des vidéos, et naviguer à travers les profils et portfolios des photographes.

## Table des matières

- [Openclassrooms - **Projet 6** - Fisheye](#openclassrooms---projet-6---fisheye)
- [Description](#description)
- [Table des matières](#table-des-matières)
- [Screenshot](#screenshot)
- [Fonctionnalités](#fonctionnalités)
- [Installation](#installation)
- [Utilisation](#utilisation)
- [Page d'accueil](#page-daccueil)
- [Page du photographe](#page-du-photographe)
- [Lightbox](#lightbox)
- [Formulaire de contact](#formulaire-de-contact)
- [Structure du projet](#structure-du-projet)
- [Technologies utilisées](#technologies-utilisées)
- [Liens](#liens)

## Screenshot

![](./assets/images/screenshot.png)

## Fonctionnalités

> - Affichage de la liste des photographes avec leurs détails.
> - Visualisation des profils détaillés et des portfolios des photographes.
> - Possibilité d'aimer des photos et des vidéos.
> - Filtrage des médias par popularité, date ou titre.
> - Interface accessible avec support de la navigation au clavier.
> - Fonctionnalité de lightbox pour afficher les médias en plein écran.
> - Formulaire de contact pour que les utilisateurs puissent contacter les photographes.

## Installation

Suivez ces étapes pour installer et configurer le projet localement :

1. Clonez le dépôt GitHub
```sh
[git clone https://github.com/stephanievanoverberghe/ocr-p6-fisheye.git
```
2. Installer les dépendances

```sh
npm install
```

3. Script npm

```json
{
"scripts": {
"sass": "sass -w sass:css"
}
}
```

4. Lancer le serveur local

```sh
npm start
```

5. Compiler les fichiers Sass

```sh
npm run sass
```

## Utilisation

### Page d'accueil

> - Affiche la liste des photographes
> - Cliquez sur le nom ou la photo d'un photographe pour voir son profil

### Page du photographe

> - Affiche la biographie et le portfolio du photographe.
> - Aimez les photos et vidéos en cliquant sur l'icône en forme de cœur.
> - Utilisez le menu déroulant pour filtrer les médias.
> - Cliquez sur un média pour l'ouvrir dans une lightbox.

### Lightbox

> - Naviguez à travers les médias en utilisant les touches fléchées ou les boutons de navigation.
> - Fermez la lightbox avec le bouton de fermeture ou la touche Échap.

### Formulaire de contact

> - Ouvrez le formulaire de contact en cliquant sur le bouton "Contactez-moi".
> - Remplissez le formulaire et envoyez-le pour contacter le photographe.

## Structure du projet

```
fisheye/
├── assets/
├── css/
├── data/
│ └── photographers.json
├── js/
│ ├── api/
│ ├── factories/
│ ├── models/
│ ├── strategies/
│ ├── templates/
│ ├── utils/
│ ├── homeApp.js
│ └── photographerApp.js
├── sass/
├── index.html
├── photographer.html
└── README.md
```

## Technologies utilisées

![HTML5](https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white)
![Sass](https://img.shields.io/badge/Sass-CC6699?style=for-the-badge&logo=sass&logoColor=white) <br>
![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black)
![JSON](https://img.shields.io/badge/JSON-000000?style=for-the-badge&logo=json&logoColor=white)
![Design Pattern](https://img.shields.io/badge/Design%20Pattern-007ACC?style=for-the-badge&logoColor=white) <br>
![ESLint](https://img.shields.io/badge/ESLint-4B32C3?style=for-the-badge&logo=eslint&logoColor=white)
![npm](https://img.shields.io/badge/npm-CB3837?style=for-the-badge&logo=npm&logoColor=white)

## Liens

- Code du site : [GitHub](https://github.com/stephanievanoverberghe/ocr-p6-fisheye)
- Site en direct : [GitHub Pages](https://stephanievanoverberghe.github.io/ocr-p6-fisheye/)
Binary file added assets/images/arrow-down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/195/Architecture_Dome.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/195/Travel_OpenMountain.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/195/Travel_Tower.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/243/.DS_Store
Binary file not shown.
Binary file added assets/photographers/243/Animals_Rainbow.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/243/Event_PintoWedding.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/243/Portrait_Background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/243/Portrait_Nora.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/243/Portrait_Wednesday.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/243/Travel_HillsideColor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/243/Travel_Lonesome.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/527/Portrait_Alexandra.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/527/Portrait_Shaw.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/527/Portrait_Sunkissed.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/527/Travel_Boat_Wanderer.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photographers/527/Travel_On_the_Road.jpg
Binary file not shown.
Binary file added assets/photographers/82/Art_Mine.jpg
Binary file added assets/photographers/82/Art_Purple_light.jpg
Binary file added assets/photographers/82/Art_Triangle_Man.jpg
Binary file not shown.
Binary file added assets/photographers/82/Event_18thAnniversary.jpg
Binary file added assets/photographers/82/Event_Sparklers.jpg
Binary file added assets/photographers/82/Event_WeddingGazebo.jpg
Binary file added assets/photographers/82/Fashion_Urban_Jungle.jpg
Binary file added assets/photographers/82/Fashion_Yellow_Beach.jpg
Binary file added assets/photographers/925/Animals_Majesty.jpg
Binary file added assets/photographers/925/Animals_Puppiness.mp4
Binary file not shown.
Binary file added assets/photographers/925/Event_Emcee.jpg
Binary file added assets/photographers/925/Event_KeyboardCheck.jpg
Binary file added assets/photographers/925/Event_ProductPitch.jpg
Binary file added assets/photographers/925/Fashion_Wings.jpg
Binary file added assets/photographers/925/Sport_2000_with_8.jpg
Binary file added assets/photographers/925/Sport_Butterfly.jpg
Binary file added assets/photographers/930/Sport_Jump.jpg
Binary file added assets/photographers/930/Sport_Next_Hold.jpg
Binary file added assets/photographers/930/Sport_Race_End.jpg
Binary file added assets/photographers/930/Sport_Sky_Cross.jpg
Binary file not shown.
Binary file added assets/photographers/930/sport_water_tunnel.jpg
Binary file added assets/photographers/EllieRoseWilkens.jpg
Binary file added assets/photographers/MarcelNikolic.jpg
Binary file added assets/photographers/MimiKeel.jpg
Binary file added assets/photographers/NabeelBradford.jpg
Binary file added assets/photographers/RhodeDubois.jpg
Binary file added assets/photographers/TracyGalindo.jpg
Binary file removed assets/photographers/account.png
Diff not rendered.
Loading