Poprawki w url na serwerze dla api
This commit is contained in:
@@ -4,6 +4,7 @@ import node from '@astrojs/node';
|
|||||||
import preact from "@astrojs/preact";
|
import preact from "@astrojs/preact";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
site: "https://fuz.dariuszm.eu",
|
||||||
output: 'server',
|
output: 'server',
|
||||||
adapter: node({
|
adapter: node({
|
||||||
mode: "standalone"
|
mode: "standalone"
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ const { cities = [] } = Astro.props;
|
|||||||
const sorted = cities.sort((a: string, b: any) => a.localeCompare(b, "pl"));
|
const sorted = cities.sort((a: string, b: any) => a.localeCompare(b, "pl"));
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="fuz-">
|
<div class="fuz-cities-box">
|
||||||
<h4 class="fuz-cities-title">Miejscowości w zasięgu sieci światłowodowej lub radiowej</h4>
|
<h4 class="fuz-cities-title">Miejscowości w zasięgu sieci światłowodowej i radiowej</h4>
|
||||||
|
|
||||||
<div class="fuz-cities-grid">
|
<div class="fuz-cities-grid">
|
||||||
{sorted.map((city: unknown) => (
|
{sorted.map((city: unknown) => (
|
||||||
@@ -17,13 +17,12 @@ const sorted = cities.sort((a: string, b: any) => a.localeCompare(b, "pl"));
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.fuz-cities-box {
|
.fuz-cities-box {
|
||||||
margin-top: 20px;
|
|
||||||
background: var(--fuz-bg);
|
background: var(--fuz-bg);
|
||||||
color: var(--fuz-text);
|
color: var(--fuz-text);
|
||||||
border: 1px solid var(--fuz-border, #ddd);
|
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
border-radius: 12px;
|
|
||||||
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.fuz-cities-title {
|
.fuz-cities-title {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import DefaultLayout from "../../layouts/DefaultLayout.astro";
|
|||||||
import MapGoogle from "../../components/maps/MapGoogle.astro";
|
import MapGoogle from "../../components/maps/MapGoogle.astro";
|
||||||
import MapRangeSwitch from "../../islands/MapRangeSwitch.jsx";
|
import MapRangeSwitch from "../../islands/MapRangeSwitch.jsx";
|
||||||
import RangeForm from "../../islands/RangeForm.jsx";
|
import RangeForm from "../../islands/RangeForm.jsx";
|
||||||
import CitiesList from "../../components/maps/CitiesList.astro";
|
//import CitiesList from "../../components/maps/CitiesList.astro";
|
||||||
|
|
||||||
import "../../styles/map-google.css";
|
import "../../styles/map-google.css";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user