Skip to content

Commit 3801a51

Browse files
author
JLRR2019
committed
El carousel en news
1 parent e214152 commit 3801a51

File tree

4 files changed

+6
-33
lines changed

4 files changed

+6
-33
lines changed

backend/gamelink/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spring.mustache.suffix=.html
1010

1111
spring.datasource.url=jdbc:postgresql://localhost:5432/gamelink
1212
spring.datasource.username=postgres
13-
spring.datasource.password=password
13+
spring.datasource.password=Juanluis-123
1414
spring.jpa.hibernate.ddl-auto=create-drop
1515

1616
logging.level.org.springframework.security=DEBUG

backend/gamelink/target/classes/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spring.mustache.suffix=.html
1010

1111
spring.datasource.url=jdbc:postgresql://localhost:5432/gamelink
1212
spring.datasource.username=postgres
13-
spring.datasource.password=password
13+
spring.datasource.password=Juanluis-123
1414
spring.jpa.hibernate.ddl-auto=create-drop
1515

1616
logging.level.org.springframework.security=DEBUG

frontend/src/app/components/news/news.component.html

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -90,35 +90,7 @@ <h3>Nuevas noticias sobre The Witcher 4</h3>
9090

9191
<!-- The slideshow/carousel -->
9292

93-
<a *ngIf="imagesCarousel">
94-
<ng-template ngbSlide>
95-
<div class="picsum-img-wrapper">
96-
<img [src]="imagesCarousel[0]" alt="Random first slide">
97-
</div>
98-
<div class="carousel-caption">
99-
<h3>Diablo 4</h3>
100-
<p>Fecha de lanzamiento revelada</p>
101-
</div>
102-
</ng-template>
103-
<ng-template ngbSlide>
104-
<div class="picsum-img-wrapper">
105-
<img [src]="imagesCarousel[1]" alt="Random second slide">
106-
</div>
107-
<div class="carousel-caption">
108-
<h3>Overwatch 2</h3>
109-
<p>Se cancela definitivamente</p>
110-
</div>
111-
</ng-template>
112-
<ng-template ngbSlide>
113-
<div class="picsum-img-wrapper">
114-
<img [src]="imagesCarousel[2]" alt="Random third slide">
115-
</div>
116-
<div class="carousel-caption">
117-
<h3>Mario kart 9</h3>
118-
<p>Ya es una realidad, no te lo pierdas</p>
119-
</div>
120-
</ng-template>
121-
</a>
93+
<app-carousel></app-carousel>
12294

12395
</div>
12496
</div>

frontend/src/app/components/videogame/videogame-detail.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h1 class="display-5 fw-bolder text-white mb-2">{{videogame.title}}</h1>
1717
style="color: aliceblue !important; font-size: 2em !important;"> Precio: {{videogame.price}}€</p>
1818
<!--Button to pay-->
1919
<button class="btn btn-primary btn-lg px-4 me-sm-3" id="payButton" (click)="purchasevideogame()">
20-
Comprar ya
20+
Comprar ya
2121
<span style="color: grey;">{{videogame.price}}€</span>
2222
</button>
2323
</div>
@@ -33,7 +33,7 @@ <h1 class="display-5 fw-bolder text-white mb-2">{{videogame.title}}</h1>
3333
<div class="col-5 text-center" >
3434
<p class="lead fw-normal text-white-50 mb-4"
3535
style="color: aliceblue !important; font-size: 2em !important; margin-top: 5%;"> Admin Actions :
36-
<button class="btn btn-primary btn-lg px-4 me-sm-3" (click)="removeVideogame()" style="margin-top: auto;">Eliminar </button>
36+
<button class="btn btn-primary btn-lg px-4 me-sm-3" (click)="removeVideogame()" style="margin-top: auto;">Eliminar </button>
3737
<button class="btn btn-outline-light btn-lg px-4" (click)="editVideogame()" style="margin-top: auto;">Editar</button>
3838
</p>
3939

@@ -96,6 +96,7 @@ <h1 style="padding-bottom: 10px;">Noticias destacadas sobre este Titulo.</h1>
9696
<div class="row gx-5 justify-content-center">
9797

9898
<!-- {{>newsTemplate}} FALTA AÑADIR -->
99+
<!--<newsTemplate [news]="news"></newsTemplate>-->
99100

100101
</div>
101102
</div>

0 commit comments

Comments
 (0)