Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
<!doctype html>
<html lang=”en”>
<head>
<meta charset=”utf-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<title>3 Full-Day Routes from Logrono</title>
<link rel=”stylesheet” href=”https://unpkg.com/leaflet@1.9.4/dist/leaflet.css”>
<style>
:root {
–ink: #17201b;
–muted: #5d6962;
–line: #d9dfda;
–paper: #ffffff;
–bg: #f5f7f2;
–rioja: #8d1b2a;
–navarra: #2f6f72;
–heritage: #aa7724;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, “Segoe UI”, sans-serif;
color: var(–ink);
background: var(–bg);
}
.app {
display: grid;
grid-template-columns: minmax(340px, 460px) 1fr;
min-height: 100vh;
}
aside {
background: var(–paper);
border-right: 1px solid var(–line);
overflow: auto;
max-height: 100vh;
}
header {
padding: 22px 22px 14px;
border-bottom: 1px solid var(–line);
}
h1 {
margin: 0 0 8px;
font-size: 24px;
line-height: 1.14;
letter-spacing: 0;
}
.subtitle {
margin: 0;
color: var(–muted);
font-size: 14px;
line-height: 1.45;
}
.toolbar {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 14px 22px;
border-bottom: 1px solid var(–line);
background: #fbfbf8;
}
button {
border: 1px solid var(–line);
background: #fff;
color: var(–ink);
border-radius: 7px;
padding: 8px 10px;
font-weight: 700;
font-size: 13px;
cursor: pointer;
}
button.active {
background: var(–rioja);
color: #fff;
border-color: var(–rioja);
}
.content { padding: 16px 22px 28px; }
.day {
background: #fff;
border: 1px solid var(–line);
border-radius: 8px;
margin-bottom: 14px;
overflow: hidden;
}
.day h2 {
margin: 0;
padding: 12px 14px;
border-bottom: 1px solid var(–line);
font-size: 16px;
line-height: 1.25;
display: flex;
justify-content: space-between;
gap: 12px;
align-items: baseline;
}
.day h2 span {
color: var(–muted);
font-size: 12px;
white-space: nowrap;
}
.note {
padding: 10px 14px;
border-bottom: 1px solid #edf0ed;
color: var(–muted);
font-size: 13px;
line-height: 1.42;
background: #fcfcfa;
}
.place {
padding: 12px 14px;
border-bottom: 1px solid #edf0ed;
}
.place:last-child { border-bottom: 0; }
.place strong {
display: block;
font-size: 14px;
margin-bottom: 4px;
}
.place p {
margin: 0 0 8px;
color: var(–muted);
font-size: 13px;
line-height: 1.42;
}
.links {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.links a {
color: var(–rioja);
text-decoration: none;
font-size: 12px;
font-weight: 750;
border-bottom: 1px solid rgba(141, 27, 42, 0.25);
}
#map {
width: 100%;
height: 100vh;
min-height: 620px;
}
.marker {
width: 30px;
height: 30px;
border-radius: 50% 50% 50% 5px;
transform: rotate(-45deg);
border: 2px solid #fff;
box-shadow: 0 2px 8px rgba(0,0,0,.24);
display: grid;
place-items: center;
color: #fff;
font-size: 12px;
font-weight: 850;
}
.marker span { transform: rotate(45deg); }
.legend {
position: absolute;
right: 14px;
bottom: 22px;
z-index: 500;
background: rgba(255,255,255,.94);
border: 1px solid var(–line);
border-radius: 8px;
padding: 10px 12px;
font-size: 12px;
color: var(–muted);
box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.dot {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
margin-right: 6px;
vertical-align: -1px;
}
.footer {
color: var(–muted);
font-size: 12px;
line-height: 1.45;
padding: 4px 2px 20px;
}
.footer a { color: var(–navarra); }
@media (max-width: 900px) {
.app { grid-template-columns: 1fr; }
aside { max-height: none; border-right: 0; }
#map { height: 68vh; min-height: 460px; }
}
</style>
</head>
<body>
<main>
<aside>
<header>
<h1>3 full-day routes from Logrono</h1>
<p>Each stop is within roughly 140 km of Logrono. Designed for full days by car, with lunch outside Logrono and direct Google Maps links.</p>
</header>
<section id=”filters”></section>
<section id=”itinerary”></section>
</aside>
<section style=”position: relative;”>
<div id=”map”></div>
<div>
<div><span style=”background:#8d1b2a”></span>Rioja heritage</div>
<div><span style=”background:#2f6f72″></span>Navarra nature/city</div>
<div><span style=”background:#aa7724″></span>Monastery / palace</div>
</div>
</section>
</main>
<script src=”https://unpkg.com/leaflet@1.9.4/dist/leaflet.js”></script>
<script>
const colors = { rioja: “#8d1b2a”, navarra: “#2f6f72”, heritage: “#aa7724” };
const days = [
{
day: 1,
title: “San Millan, Najera and Upper Rioja”,
distance: “Farthest stop: about 70 km”,
lunch: “Lunch idea: Ezcaray or Santo Domingo de la Calzada.”,
note: “A Rioja heritage day: monasteries, Camino towns and a mountain village. Book San Millan monastery visits ahead when possible.”,
places: [
{ name: “Najera”, lat: 42.4182, lon: -2.7287, type: “rioja”, approx: “30 km”, note: “Start with the riverside old town and the Camino atmosphere before heading into the monastery valley.” },
{ name: “San Millan de la Cogolla – Yuso and Suso Monasteries”, lat: 42.3296, lon: -2.8610, type: “heritage”, approx: “47 km”, note: “UNESCO-listed monasteries and one of the symbolic birthplaces of written Spanish. Check tour times.” },
{ name: “Canas Abbey”, lat: 42.3928, lon: -2.8469, type: “heritage”, approx: “43 km”, note: “Quiet Cistercian stop between San Millan and Santo Domingo; good if the day has room.” },
{ name: “Santo Domingo de la Calzada”, lat: 42.4406, lon: -2.9536, type: “rioja”, approx: “57 km”, note: “Historic Camino town with cathedral and a compact centre.” },
{ name: “Ezcaray”, lat: 42.3254, lon: -3.0133, type: “rioja”, approx: “70 km”, note: “End the day in a mountain village known for food, crafts and easy strolling.” }
]
},
{
day: 2,
title: “Urederra, Iranzu, Estella and Puente la Reina”,
distance: “Farthest stop: about 95 km”,
lunch: “Lunch idea: Estella-Lizarra.”,
note: “Nature plus medieval Navarra. Urederra access is regulated: reserve online before going and park at Baquedano.”,
places: [
{ name: “Nacedero del Urederra – Baquedano”, lat: 42.7754, lon: -2.1337, type: “navarra”, approx: “82 km”, note: “Turquoise river source inside a protected natural reserve. Reservation required; start early.” },
{ name: “Monastery of Iranzu”, lat: 42.7460, lon: -2.0338, type: “heritage”, approx: “73 km”, note: “Cistercian monastery near Abartzuza, with a short canyon walk nearby.” },
{ name: “Estella-Lizarra”, lat: 42.6717, lon: -2.0326, type: “navarra”, approx: “50 km”, note: “Good lunch base, with Camino heritage, plazas and churches.” },
{ name: “Puente la Reina-Gares”, lat: 42.6729, lon: -1.8142, type: “heritage”, approx: “75 km”, note: “Classic Camino town where routes converge; do not miss the Romanesque bridge.” },
{ name: “Viana”, lat: 42.5150, lon: -2.3710, type: “rioja”, approx: “10 km”, note: “Easy final stop on the way back to Logrono if the day still has energy.” }
]
},
{
day: 3,
title: “Pamplona and Olite”,
distance: “Farthest stop: about 115 km”,
lunch: “Lunch idea: Pamplona old town, then Olite on the return.”,
note: “A full Navarra city-and-palace day. If travelling during San Fermin, check traffic, access and crowd conditions carefully.”,
places: [
{ name: “Pamplona Old Town and Plaza del Castillo”, lat: 42.8167, lon: -1.6442, type: “navarra”, approx: “92 km”, note: “Main urban stop: old streets, cafes and the centre of the city.” },
{ name: “Pamplona Cathedral”, lat: 42.8197, lon: -1.6422, type: “heritage”, approx: “92 km”, note: “Gothic cathedral complex in the old town. Check opening times.” },
{ name: “Portal de Francia and Pamplona City Walls”, lat: 42.8216, lon: -1.6387, type: “heritage”, approx: “93 km”, note: “Best-preserved historic gate and a strong way to read the city walls.” },
{ name: “Citadel of Pamplona”, lat: 42.8135, lon: -1.6537, type: “navarra”, approx: “92 km”, note: “Renaissance defensive structure and green park area, good after lunch.” },
{ name: “Royal Palace of Olite”, lat: 42.4829, lon: -1.6513, type: “heritage”, approx: “112 km”, note: “Medieval palace-town stop on the return route; guided visit recommended if time allows.” }
]
}
];
const sources = [
[“Navarra Government – Urederra booking”, “https://www.navarra.es/es/tramites/on/-/line/Reserva-de-entradas-para-visitar-el-Nacedero-del-Urederra”],
[“Visit Navarra – Olite”, “https://www.visitnavarra.es/en/olite/”],
[“Pamplona City Council – Cathedral”, “https://www.pamplona.es/en/turismo/catedral”],
[“Pamplona City Council – City Walls”, “https://www.pamplona.es/en/turismo/murallas”],
[“Pamplona City Council – Citadel”, “https://www.pamplona.es/en/turismo/ciudadela”],
[“Fundacion San Millan – World Heritage”, “https://www.fsanmillan.es/patrimonio-mundial”]
];
const map = L.map(“map”, { scrollWheelZoom: true }).setView([42.55, -2.15], 8);
L.tileLayer(“https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png”, {
maxZoom: 19,
attribution: “© OpenStreetMap contributors”
}).addTo(map);
const layers = new Map();
function searchUrl(place) {
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(place.name)}`;
}
function directionsUrl(place) {
return `https://www.google.com/maps/dir/?api=1&origin=${encodeURIComponent(“Logrono, Spain”)}&destination=${encodeURIComponent(place.name)}&travelmode=driving`;
}
function icon(place, day) {
return L.divIcon({
className: “”,
html: `<div style=”background:${colors[place.type]}”><span>${day}</span></div>`,
iconSize: [30, 30],
iconAnchor: [15, 30],
popupAnchor: [0, -30]
});
}
days.forEach(day => {
const group = L.layerGroup();
day.places.forEach(place => {
const marker = L.marker([place.lat, place.lon], { icon: icon(place, day.day) });
marker.bindPopup(`
<strong>${place.name}</strong><br>
Day ${day.day}: ${day.title}<br>
Distance from Logrono: ${place.approx}<br>
<span>${place.note}</span><br><br>
<a href=”${searchUrl(place)}” target=”_blank” rel=”noreferrer”>Open in Google Maps</a><br>
<a href=”${directionsUrl(place)}” target=”_blank” rel=”noreferrer”>Route from Logrono</a>
`);
marker.addTo(group);
});
group.addTo(map);
layers.set(day.day, group);
});
const filters = document.getElementById(“filters”);
const allButton = document.createElement(“button”);
allButton.textContent = “All routes”;
allButton.className = “active”;
allButton.onclick = () => showDay(“all”);
filters.appendChild(allButton);
days.forEach(day => {
const button = document.createElement(“button”);
button.textContent = `Day ${day.day}`;
button.onclick = () => showDay(day.day);
filters.appendChild(button);
});
function showDay(dayNumber) {
document.querySelectorAll(“.toolbar button”).forEach(button => button.classList.remove(“active”));
if (dayNumber === “all”) {
allButton.classList.add(“active”);
days.forEach(day => {
if (!map.hasLayer(layers.get(day.day))) layers.get(day.day).addTo(map);
});
map.setView([42.55, -2.15], 8);
return;
}
[…filters.children].find(button => button.textContent === `Day ${dayNumber}`).classList.add(“active”);
days.forEach(day => {
const layer = layers.get(day.day);
if (day.day === dayNumber) {
if (!map.hasLayer(layer)) layer.addTo(map);
const bounds = L.latLngBounds(day.places.map(place => [place.lat, place.lon]));
map.fitBounds(bounds.pad(0.3));
} else if (map.hasLayer(layer)) {
map.removeLayer(layer);
}
});
}
const itinerary = document.getElementById(“itinerary”);
itinerary.innerHTML = days.map(day => `
<article>
<h2>Day ${day.day}: ${day.title}<span>${day.distance}</span></h2>
<div>${day.note}<br><strong>${day.lunch}</strong></div>
${day.places.map(place => `
<section>
<strong>${place.name}</strong>
<p>${place.note} <em>${place.approx} from Logrono.</em></p>
<div>
<a href=”${searchUrl(place)}” target=”_blank” rel=”noreferrer”>Google Maps</a>
<a href=”${directionsUrl(place)}” target=”_blank” rel=”noreferrer”>Route from Logrono</a>
</div>
</section>
`).join(“”)}
</article>
`).join(“”) + `
<section>
<p>Distances are approximate from Logrono by road. Confirm live traffic, opening times, booking rules and restaurant availability in Google Maps before departure.</p>
<p>Reference sources: ${sources.map(([label, url]) => `<a href=”${url}” target=”_blank” rel=”noreferrer”>${label}</a>`).join(” · “)}</p>
</section>
`;
</script>
</body>
</html>
Hi, this is a comment.
To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
Commenter avatars come from Gravatar.