https://github.com/waldohidalgo/social-proof-section
Repositorio con el código solución al challenge: Social proof section de Front End Mentor
https://github.com/waldohidalgo/social-proof-section
frontend-mentor frontendmentor-challenge reactjs tailwindcss vite
Last synced: 10 months ago
JSON representation
Repositorio con el código solución al challenge: Social proof section de Front End Mentor
- Host: GitHub
- URL: https://github.com/waldohidalgo/social-proof-section
- Owner: waldohidalgo
- Created: 2024-07-11T19:05:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-11T20:41:08.000Z (over 1 year ago)
- Last Synced: 2025-01-26T10:11:46.826Z (12 months ago)
- Topics: frontend-mentor, frontendmentor-challenge, reactjs, tailwindcss, vite
- Language: JavaScript
- Homepage: https://social-proof-section-tau.vercel.app
- Size: 486 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Social proof section
Repositorio con el código solución del challenge: [Social proof section challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/social-proof-section-6e0qTv_bA)
## Tabla de Contenidos
- [Social proof section](#social-proof-section)
- [Tabla de Contenidos](#tabla-de-contenidos)
- [The challenge](#the-challenge)
- [Diseños a Replicar](#diseños-a-replicar)
- [1-Mobile Design](#1-mobile-design)
- [2-Desktop Design](#2-desktop-design)
- [Proyecto Realizado](#proyecto-realizado)
- [1-Project on Mobile Screen](#1-project-on-mobile-screen)
- [2-Project on Desktop Screen](#2-project-on-desktop-screen)
- [Modificaciones](#modificaciones)
- [Se cambia componente de React que muestra background Images a componente de TailwindCSS](#se-cambia-componente-de-react-que-muestra-background-images-a-componente-de-tailwindcss)
## The challenge
El challenge consiste en realizar lo siguiente:
> Users should be able to:
>
> - View the optimal layout for the section depending on their device's screen size
## Diseños a Replicar
### 1-Mobile Design

### 2-Desktop Design

## Proyecto Realizado
### 1-Project on Mobile Screen

### 2-Project on Desktop Screen

## Modificaciones
### Se cambia componente de React que muestra background Images a componente de TailwindCSS
Se cambia el siguiente componente de React:
```jsx
import bgPatternTopMobile from "../assets/bg-pattern-top-mobile.svg";
import bgPatternBottomMobile from "../assets/bg-pattern-bottom-mobile.svg";
import bgPatternTopDesktop from "../assets/bg-pattern-top-desktop.svg";
import bgPatternBottomDesktop from "../assets/bg-pattern-bottom-desktop.svg";
export default function BackgroundsPatterns() {
return (
<>

>
);
}
```
Al siguiente componente de TailwindCSS:
```css
.backgroundLayer {
background: url("./assets/bg-pattern-top-mobile.svg") top left/100% auto
no-repeat, url("./assets/bg-pattern-bottom-mobile.svg") bottom right/100%
50% no-repeat;
}
@screen md {
.backgroundLayer {
background: url("./assets/bg-pattern-top-desktop.svg") top left no-repeat, url("./assets/bg-pattern-bottom-desktop.svg")
bottom right no-repeat;
}
}
```