Skip to content

Commit 57f0a29

Browse files
committed
Añadidas imágenes
1 parent 5663fde commit 57f0a29

File tree

6 files changed

+37
-2
lines changed

6 files changed

+37
-2
lines changed

next.config.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
/** @type {import('next').NextConfig} */
2-
const nextConfig = {}
2+
const nextConfig = {
3+
images: {
4+
remotePatterns: [
5+
{
6+
protocol: 'https',
7+
hostname: '**.traveler.es',
8+
},
9+
],
10+
}
11+
}
312

413
module.exports = nextConfig

src/app/blog/page.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11

22
function page() {
33
return (
4-
<h1>Blog</h1>
4+
<>
5+
<h1>Blog</h1>
6+
<p>Información tomada de la página &nbsp;
7+
<a href="https://www.traveler.es/galerias/paisajes-monumentos-pueblos-imprescindibles-andalucia">
8+
20 paisajes de Andalucía que nunca olvidarás
9+
</a>
10+
</p>
11+
</>
512
)
613
}
714

src/app/blog/primer-post/page.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
function page() {
22
return (
3+
<>
34
<h1>Blog / Primer Post</h1>
5+
<h2>Visitamos Arcos de la Frontera</h2>
6+
<img src="https://media.traveler.es/photos/64830e6515aaea8842e302b1/master/w_1920%2Cc_limit/JGWN5N.jpg" />
7+
</>
48
)
59
}
610

src/app/blog/segundo-post/page.js

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
function page() {
22
return (
3+
<>
34
<h1>Blog / Segundo Post</h1>
5+
<h2>Visitamos Las marismas del Odiel</h2>
6+
<img src="https://media.traveler.es/photos/64830c8115aaea8842e302ab/master/w_1920%2Cc_limit/2PG1HWD.jpg" />
7+
</>
8+
9+
410
)
511
}
612

src/app/blog/tercer-post/page.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
function page() {
22
return (
3+
<>
34
<h1>Blog / Tercer Post</h1>
5+
<h2>Visitamos La gruta de las Mararillas</h2>
6+
<img src="https://media.traveler.es/photos/64830cc715aaea8842e302ad/master/w_1920%2Cc_limit/2PG1H7X.jpg" />
7+
</>
48
)
59
}
610

src/app/globals.css

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ main {
2525
min-height: 100%;
2626
}
2727

28+
img {
29+
aspect-ratio: 1.5;
30+
height: 80vh;
31+
}
32+
2833
.bg-lavanda {
2934
background-color: Lavender;
3035
}

0 commit comments

Comments
 (0)