diff --git a/public/prishvin-trip/prishvin.geojson b/public/prishvin-trip/prishvin.geojson new file mode 100644 index 0000000..337ca66 --- /dev/null +++ b/public/prishvin-trip/prishvin.geojson @@ -0,0 +1,554 @@ +{ + "type": "FeatureCollection", + "name": "prishvin", + "crs": { + "type": "name", + "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } + }, + "features": [ + { + "type": "Feature", + "properties": { + "fid": 1, + "date_start": 1873, + "date_finish": 1889, + "place_name": "деревня Хрущёво-Лёвшино", + "photo_name": null, + "book_name": "Кащеева цепь", + "book_date": "1927" + }, + "geometry": { + "type": "Point", + "coordinates": [38.549701899389909, 52.763324183122513] + } + }, + { + "type": "Feature", + "properties": { + "fid": 2, + "date_start": 1898, + "date_finish": 1900, + "place_name": "деревня Хрущёво-Лёвшино", + "photo_name": null, + "book_name": "Кащеева цепь", + "book_date": "1927" + }, + "geometry": { + "type": "Point", + "coordinates": [38.549701899389909, 52.763324183122513] + } + }, + { + "type": "Feature", + "properties": { + "fid": 3, + "date_start": 1917, + "date_finish": 1920, + "place_name": "деревня Хрущёво-Лёвшино", + "photo_name": null, + "book_name": "Кащеева цепь", + "book_date": "1927" + }, + "geometry": { + "type": "Point", + "coordinates": [38.549701899389909, 52.763324183122513] + } + }, + { + "type": "Feature", + "properties": { + "fid": 4, + "date_start": 1893, + "date_finish": 1898, + "place_name": "Рига", + "photo_name": null, + "book_name": "Кащеева цепь", + "book_date": "1927" + }, + "geometry": { + "type": "Point", + "coordinates": [24.105899290259302, 56.947217001362716] + } + }, + { + "type": "Feature", + "properties": { + "fid": 5, + "date_start": 1900, + "date_finish": 1902, + "place_name": "Лейпциг", + "photo_name": null, + "book_name": "Кащеева цепь", + "book_date": "1927" + }, + "geometry": { + "type": "Point", + "coordinates": [12.376730893531013, 51.34067106771618] + } + }, + { + "type": "Feature", + "properties": { + "fid": 6, + "date_start": 1905, + "date_finish": 1917, + "place_name": "Санкт-Петербург", + "photo_name": null, + "book_name": "Кащеева цепь, Заворошка, Голубое знамя, Город света", + "book_date": "1927, 1913, 1918, 1943" + }, + "geometry": { + "type": "Point", + "coordinates": [30.331870872738534, 59.937861990316726] + } + }, + { + "type": "Feature", + "properties": { + "fid": 7, + "date_start": 1920, + "date_finish": 1922, + "place_name": "село Алексино", + "photo_name": null, + "book_name": "Мирская чаша", + "book_date": "1921" + }, + "geometry": { + "type": "Point", + "coordinates": [33.400131148935486, 54.785751644417864] + } + }, + { + "type": "Feature", + "properties": { + "fid": 8, + "date_start": 1922, + "date_finish": 1924, + "place_name": "Талдомский уезд", + "photo_name": null, + "book_name": "Башмаки", + "book_date": "1925" + }, + "geometry": { + "type": "Point", + "coordinates": [37.52793495956427, 56.731211833957133] + } + }, + { + "type": "Feature", + "properties": { + "fid": 9, + "date_start": 1925, + "date_finish": 1926, + "place_name": "Усолье, Переславль-Залесский", + "photo_name": null, + "book_name": "Родники Берендея, Календарь природы", + "book_date": "1925, 1925" + }, + "geometry": { + "type": "Point", + "coordinates": [38.660752248712548, 56.820608598154763] + } + }, + { + "type": "Feature", + "properties": { + "fid": 10, + "date_start": 1941, + "date_finish": 1943, + "place_name": "Усолье, Переславль-Залесский", + "photo_name": null, + "book_name": "Рассказы о ленинградских детях, Повесть нашего времени, Кладовая солнца, Корабельная чаща", + "book_date": "1943, 1944, 1945, 1953" + }, + "geometry": { + "type": "Point", + "coordinates": [38.660752248712548, 56.820608598154763] + } + }, + { + "type": "Feature", + "properties": { + "fid": 11, + "date_start": 1926, + "date_finish": 1937, + "place_name": "Загорск", + "photo_name": null, + "book_name": "Журавлиная родина, Рассказы охотника", + "book_date": "1929, 1935" + }, + "geometry": { + "type": "Point", + "coordinates": [38.133511977562364, 56.311422551150422] + } + }, + { + "type": "Feature", + "properties": { + "fid": 12, + "date_start": 1946, + "date_finish": 1954, + "place_name": "деревня Дунино", + "photo_name": null, + "book_name": "Мои тетрадки, Глаза земли", + "book_date": "1948, 1948-1950" + }, + "geometry": { + "type": "Point", + "coordinates": [36.936817934138354, 55.722054238050283] + } + }, + { + "type": "Feature", + "properties": { + "fid": 13, + "date_start": 1937, + "date_finish": 1941, + "place_name": "Москва, Дом писателей", + "photo_name": null, + "book_name": "Весна света, Фацелия, Лесная капель", + "book_date": "1938, 1940, 1940" + }, + "geometry": { + "type": "Point", + "coordinates": [37.621587620296772, 55.741276824041357] + } + }, + { + "type": "Feature", + "properties": { + "fid": 14, + "date_start": 1943, + "date_finish": 1954, + "place_name": "Москва, Дом писателей", + "photo_name": null, + "book_name": "Мои тетрадки, Глаза земли", + "book_date": "1948, 1948-1950" + }, + "geometry": { + "type": "Point", + "coordinates": [37.621587620296772, 55.741276824041357] + } + }, + { + "type": "Feature", + "properties": { + "fid": 15, + "date_start": 1984, + "date_finish": 1984, + "place_name": "Гори, Грузия", + "photo_name": null, + "book_name": "Кащеева цепь", + "book_date": "1927" + }, + "geometry": { + "type": "Point", + "coordinates": [44.111723356147451, 41.982577596789014] + } + }, + { + "type": "Feature", + "properties": { + "fid": 16, + "date_start": 1906, + "date_finish": 1906, + "place_name": "Выговский край, Карелия", + "photo_name": null, + "book_name": "В краю непуганых птиц", + "book_date": "1907" + }, + "geometry": { + "type": "Point", + "coordinates": [35.51380524088475, 63.427327304983805] + } + }, + { + "type": "Feature", + "properties": { + "fid": 17, + "date_start": 1933, + "date_finish": 1933, + "place_name": "Беломоро-Балтийский канал", + "photo_name": "ББК А 3 К36 л90030.jpg", + "book_name": "Осударева дорога", + "book_date": "1948" + }, + "geometry": { + "type": "Point", + "coordinates": [34.463647826538448, 62.910399395624189] + } + }, + { + "type": "Feature", + "properties": { + "fid": 18, + "date_start": 1907, + "date_finish": 1907, + "place_name": "Соловецкий монастырь", + "photo_name": null, + "book_name": "За волшебным колобком", + "book_date": "1908" + }, + "geometry": { + "type": "Point", + "coordinates": [35.710144884280304, 65.024637980951127] + } + }, + { + "type": "Feature", + "properties": { + "fid": 19, + "date_start": 1933, + "date_finish": 1933, + "place_name": "Соловецкий лагерь особого назначения", + "photo_name": null, + "book_name": null, + "book_date": null + }, + "geometry": { + "type": "Point", + "coordinates": [35.711319962683945, 65.020423422359372] + } + }, + { + "type": "Feature", + "properties": { + "fid": 20, + "date_start": 1907, + "date_finish": 1907, + "place_name": "Летний берег, Белое море", + "photo_name": null, + "book_name": "За волшебным колобком", + "book_date": "1908" + }, + "geometry": { + "type": "Point", + "coordinates": [38.404193463914851, 64.794812372504339] + } + }, + { + "type": "Feature", + "properties": { + "fid": 21, + "date_start": 1907, + "date_finish": 1907, + "place_name": "Хибиногорск, Мурман, Кольский полуостров", + "photo_name": null, + "book_name": "За волшебным колобком", + "book_date": "1908" + }, + "geometry": { + "type": "Point", + "coordinates": [33.658037284419159, 67.613442702332321] + } + }, + { + "type": "Feature", + "properties": { + "fid": 22, + "date_start": 1933, + "date_finish": 1933, + "place_name": "Хибиногорск, Мурман, Кольский полуостров", + "photo_name": null, + "book_name": null, + "book_date": null + }, + "geometry": { + "type": "Point", + "coordinates": [33.658037284419159, 67.613442702332321] + } + }, + { + "type": "Feature", + "properties": { + "fid": 23, + "date_start": 1907, + "date_finish": 1907, + "place_name": "Норвегия", + "photo_name": null, + "book_name": "За волшебным колобком", + "book_date": "1908" + }, + "geometry": { + "type": "Point", + "coordinates": [23.59141623599788, 69.199470459863889] + } + }, + { + "type": "Feature", + "properties": { + "fid": 24, + "date_start": 1908, + "date_finish": 1908, + "place_name": "Озеро Светлояр, Нижегородская область", + "photo_name": null, + "book_name": "У стен града невидимого", + "book_date": "1909" + }, + "geometry": { + "type": "Point", + "coordinates": [45.092913823197613, 56.818836127597443] + } + }, + { + "type": "Feature", + "properties": { + "fid": 25, + "date_start": 1909, + "date_finish": 1909, + "place_name": "Павлодар - Каркаралинск", + "photo_name": null, + "book_name": "Чёрный араб", + "book_date": "1910" + }, + "geometry": { + "type": "Point", + "coordinates": [76.941397461645735, 52.280374515129814] + } + }, + { + "type": "Feature", + "properties": { + "fid": 26, + "date_start": 1909, + "date_finish": 1909, + "place_name": "Павлодар - Каркаралинск", + "photo_name": null, + "book_name": "Чёрный араб", + "book_date": "1910" + }, + "geometry": { + "type": "Point", + "coordinates": [75.468980700446025, 49.410311735464738] + } + }, + { + "type": "Feature", + "properties": { + "fid": 27, + "date_start": 1911, + "date_finish": 1911, + "place_name": "Великий Новгород и Новгородская область", + "photo_name": null, + "book_name": "Никон Староколенный, Заворошка", + "book_date": "1912, 1913" + }, + "geometry": { + "type": "Point", + "coordinates": [31.268856268398803, 58.522244594600309] + } + }, + { + "type": "Feature", + "properties": { + "fid": 28, + "date_start": 1913, + "date_finish": 1913, + "place_name": "Крым", + "photo_name": null, + "book_name": "Славны бубны", + "book_date": "1913" + }, + "geometry": { + "type": "Point", + "coordinates": [34.060233255565549, 44.451453133962502] + } + }, + { + "type": "Feature", + "properties": { + "fid": 29, + "date_start": 1931, + "date_finish": 1931, + "place_name": "Уралмаш, Свердловск", + "photo_name": null, + "book_name": null, + "book_date": null + }, + "geometry": { + "type": "Point", + "coordinates": [60.592560645901592, 56.884926410462185] + } + }, + { + "type": "Feature", + "properties": { + "fid": 30, + "date_start": 1931, + "date_finish": 1931, + "place_name": "Дальний Восток", + "photo_name": "Д Восток РАСПЕЧАТ k371240.JPG, Д. Вотоск k3815530002.jpg", + "book_name": "Дорогие звери, Жень-шень", + "book_date": "1932, 1933" + }, + "geometry": { + "type": "Point", + "coordinates": [131.830180124729395, 42.988574620808208] + } + }, + { + "type": "Feature", + "properties": { + "fid": 31, + "date_start": 1931, + "date_finish": 1931, + "place_name": "Транссиб", + "photo_name": null, + "book_name": "Дорогие звери", + "book_date": "1932" + }, + "geometry": { + "type": "Point", + "coordinates": [135.073091868855386, 48.497080880851975] + } + }, + { + "type": "Feature", + "properties": { + "fid": 32, + "date_start": 1935, + "date_finish": 1935, + "place_name": "Пинега, Северная Двина, Архангельская область", + "photo_name": "Пинега K1I0003 пришвин в лодке.jpg, Пинега K1411010004 Баба с мешком (1).jpg", + "book_name": "Берендеева чаща, Корабельная чаща", + "book_date": "1935, 1953" + }, + "geometry": { + "type": "Point", + "coordinates": [43.391023109047147, 64.695819785456308] + } + }, + { + "type": "Feature", + "properties": { + "fid": 33, + "date_start": 1936, + "date_finish": 1936, + "place_name": "Кабардино-Балкария", + "photo_name": "Кабарда K400027 (1).JPG, Кабарда K400027 (2).jpg", + "book_name": "Кавказские рассказы", + "book_date": "1937" + }, + "geometry": { + "type": "Point", + "coordinates": [43.604162021472703, 43.487011192076864] + } + }, + { + "type": "Feature", + "properties": { + "fid": 34, + "date_start": 1938, + "date_finish": 1938, + "place_name": "деревня Вёжи, Костромская область", + "photo_name": "Кострома 818-3.jpg, Кострома Мазай.JPG", + "book_name": "Неодетая весна", + "book_date": "1939" + }, + "geometry": { + "type": "Point", + "coordinates": [40.744151751248111, 57.910824708289972] + } + } + ] +} diff --git a/public/prishvin-trip/ББК А 3 К36 л90030.jpg b/public/prishvin-trip/ББК А 3 К36 л90030.jpg new file mode 100644 index 0000000..a617d5d Binary files /dev/null and b/public/prishvin-trip/ББК А 3 К36 л90030.jpg differ diff --git a/public/prishvin-trip/Д Восток РАСПЕЧАТ k371240.JPG b/public/prishvin-trip/Д Восток РАСПЕЧАТ k371240.JPG new file mode 100644 index 0000000..1123e4a Binary files /dev/null and b/public/prishvin-trip/Д Восток РАСПЕЧАТ k371240.JPG differ diff --git a/public/prishvin-trip/Д. Вотоск k3815530002.jpg b/public/prishvin-trip/Д. Вотоск k3815530002.jpg new file mode 100644 index 0000000..69c2dfd Binary files /dev/null and b/public/prishvin-trip/Д. Вотоск k3815530002.jpg differ diff --git a/public/prishvin-trip/Кабарда K400027 (1).JPG b/public/prishvin-trip/Кабарда K400027 (1).JPG new file mode 100644 index 0000000..4ccf957 Binary files /dev/null and b/public/prishvin-trip/Кабарда K400027 (1).JPG differ diff --git a/public/prishvin-trip/Кабарда K400027 (2).jpg b/public/prishvin-trip/Кабарда K400027 (2).jpg new file mode 100644 index 0000000..882a866 Binary files /dev/null and b/public/prishvin-trip/Кабарда K400027 (2).jpg differ diff --git a/public/prishvin-trip/Кострома 818-3.jpg b/public/prishvin-trip/Кострома 818-3.jpg new file mode 100644 index 0000000..ac64b36 Binary files /dev/null and b/public/prishvin-trip/Кострома 818-3.jpg differ diff --git a/public/prishvin-trip/Кострома Мазай.JPG b/public/prishvin-trip/Кострома Мазай.JPG new file mode 100644 index 0000000..afe448f Binary files /dev/null and b/public/prishvin-trip/Кострома Мазай.JPG differ diff --git a/public/prishvin-trip/Пинега K1411010004 Баба с мешком (1).jpg b/public/prishvin-trip/Пинега K1411010004 Баба с мешком (1).jpg new file mode 100644 index 0000000..7dd7636 Binary files /dev/null and b/public/prishvin-trip/Пинега K1411010004 Баба с мешком (1).jpg differ diff --git a/public/prishvin-trip/Пинега K1I0003 пришвин в лодке.jpg b/public/prishvin-trip/Пинега K1I0003 пришвин в лодке.jpg new file mode 100644 index 0000000..5bfee67 Binary files /dev/null and b/public/prishvin-trip/Пинега K1I0003 пришвин в лодке.jpg differ diff --git a/src/App.tsx b/src/App.tsx index 4af0cf8..faedc3d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,6 +7,7 @@ import { import { CustomFonts } from './CustomFonts'; import { KartaPage } from "./KartaPage"; +import { TripPage } from "./TripPage"; import { Landing } from "./Landing"; import { Article } from "./Article"; @@ -19,6 +20,10 @@ const router = createBrowserRouter([ path: "/about", element: , }, + { + path: "/trips/prishvin", + element: , + }, { path: "/article/:id", element:
, diff --git a/src/Header.tsx b/src/Header.tsx index 313f0fe..64020c6 100644 --- a/src/Header.tsx +++ b/src/Header.tsx @@ -79,8 +79,14 @@ interface HeaderSimpleProps { links: { link: string; label: string }[]; } -export function HeaderSimple({ links, openedMenuKarta, menuactionskarta }: HeaderSimpleProps) { - const [openedMenu, menuactions] = menuactionskarta ? [openedMenuKarta, menuactionskarta] : useDisclosure(false); +export function HeaderSimple({ + links, + openedMenuKarta, + menuactionskarta, +}: HeaderSimpleProps) { + const [openedMenu, menuactions] = menuactionskarta + ? [openedMenuKarta, menuactionskarta] + : useDisclosure(false); const [active, setActive] = useState(""); const { classes, cx } = useStyles(); @@ -106,10 +112,8 @@ export function HeaderSimple({ links, openedMenuKarta, menuactionskarta }: Heade return (
- - {/* Menu for pc */} @@ -168,7 +172,44 @@ export function HeaderSimple({ links, openedMenuKarta, menuactionskarta }: Heade - {items} + { + // setActive(link.link); + // }} + > + Музеи + + + + { + e.preventDefault(); + // setActive("#authors"); + }} + > + Путешествия + + + + + + Пришвин + + + {/* Menu for mobile */} - - - - - { - e.preventDefault(); - // setActive("#authors"); - }} - > - Авторы - - + + + + + { + e.preventDefault(); + // setActive("#authors"); + }} + > + Авторы + + - - - } - component="a" - href="https://bigenc.ru/c/ostrovskii-aleksandr-nikolaevich-c697e2" - target="_blank" - > - Островский - - - } - component="a" - href="https://bigenc.ru/c/prishvin-mikhail-mikhailovich-893107" - target="_blank" - > - Пришвин - - - } - component="a" - href="https://bigenc.ru/c/briusov-valerii-iakovlevich-fc6a35" - target="_blank" - > - Брюсов - - - - {items} - - + + + } + component="a" + href="https://bigenc.ru/c/ostrovskii-aleksandr-nikolaevich-c697e2" + target="_blank" + > + Островский + + + } + component="a" + href="https://bigenc.ru/c/prishvin-mikhail-mikhailovich-893107" + target="_blank" + > + Пришвин + + + } + component="a" + href="https://bigenc.ru/c/briusov-valerii-iakovlevich-fc6a35" + target="_blank" + > + Брюсов + + + + {items} + +
); } diff --git a/src/PlaceCard.tsx b/src/PlaceCard.tsx new file mode 100644 index 0000000..8e33d9e --- /dev/null +++ b/src/PlaceCard.tsx @@ -0,0 +1,100 @@ +import { + createStyles, + Card, + Image, + Stack, + Text, + Group, + Flex, +} from "@mantine/core"; +import globe from "./assets/globe.png"; + +const useStyles = createStyles((theme) => ({ + card: { + backgroundColor: theme.white, + }, + + title: { + fontWeight: 700, + fontFamily: theme.fontFamily, + lineHeight: 1.2, + "&:hover": { + color: "#eb7b1a", + }, + }, + + body: { + padding: theme.spacing.md, + }, + + address: { + "&:hover": { + cursor: "pointer", + filter: + "brightness(0) saturate(100%) invert(50%) sepia(92%) saturate(1223%) hue-rotate(352deg) brightness(97%) contrast(91%)", + }, + }, +})); + +export function PlaceCard({ + fid, + date_start, + date_finish, + place_name, + photo_name, + book_name, + book_date, + coordinates, + selected, + clickAction, +}) { + const { classes } = useStyles(); + + return ( + + + + clickAction(fid)} color={fid === selected ? '#e66a5a' : 'black'}> + + {place_name}{" "} + {date_start == date_finish + ? date_start + : `${date_start} - ${date_finish}`} + + + {`${coordinates[0].toFixed(3).replace(".", ",")}° + ${coordinates[1].toFixed(3).replace(".", ",")}°`} + + + {book_name && book_date && ( + + {`${book_name + .split(", ") + .map((bn, i) => ({ + name: bn, + date: book_date.split(", ")[i], + })) + .sort((a, b) => a.date - b.date) + .map((book) => `${book.name} (${book.date})`) + .join(", ")}`} + + )} + + {photo_name && ( + + )} + + + ); +} diff --git a/src/TripPage.tsx b/src/TripPage.tsx new file mode 100644 index 0000000..12a8162 --- /dev/null +++ b/src/TripPage.tsx @@ -0,0 +1,357 @@ +import { + Paper, + Flex, + ScrollArea, + Autocomplete, + Title, + Text, +} from "@mantine/core"; +import { useDisclosure } from "@mantine/hooks"; +import { HeaderSimple } from "./Header"; +import { FooterLinks } from "./Footer"; +import headerLinks from "./assets/header.json"; +import footerLinks from "./assets/footer.json"; +import { PlaceCard } from "./PlaceCard"; +// import { ArticleCardMobile } from "./ArticleCardMobile"; +import Map, { + Source, + Layer, + ScaleControl, + GeolocateControl, + Popup, +} from "react-map-gl/maplibre"; +import "maplibre-gl/dist/maplibre-gl.css"; +import { useState, useEffect, useRef } from "react"; + +// import mapstyle from './assets/basemap.json'; +import mapstyle from "./assets/basemap-mapbox.json"; +import plus from "./assets/plus.png"; +import minus from "./assets/minus.png"; + +export function TripPage() { + const mapRef = useRef(null); + // const [initial, setInitial] = useState([]); + const [places, setPlaces] = useState(null); + const [search, setSearch] = useState(""); + const [selected, setSelected] = useState(-1); + const [cursor, setCursor] = useState("grab"); + const [popupInfo, setPopupInfo] = useState(null); + const [openedMenu, menuactions] = useDisclosure(false); + + const host = "https://strapi.litmusmap.ru"; + + useEffect(() => { + fetch("/prishvin-trip/prishvin.geojson") + .then((r) => r.json()) + .then((j) => setPlaces(j.features)); + }, []); + + // Select article interaction + useEffect(() => { + if (selected > 0) { + const selectedIndex = places.findIndex( + (p) => p.properties.fid == selected + ); + const selectedObject = places[selectedIndex]; + // const reordered = [ + // selectedObject, + // ...places.filter((p) => p.properties.fid !== selected), + // ]; + // setPlaces(reordered); + mapRef.current?.flyTo({ + center: [ + selectedObject.geometry.coordinates[0], + selectedObject.geometry.coordinates[1], + ], + zoom: 10, + }); + } else { + mapRef.current?.flyTo({ + center: [35, 57], + zoom: 3, + }); + } + }, [selected]); + + const handleClick = (id) => { + setSelected(id); + }; + + // Zoom + const ZoomControl = (props) => { + const zoomIn = () => { + mapRef.current.zoomTo(mapRef.current.getZoom() + 1); + }; + const zoomOut = () => { + mapRef.current.zoomTo(mapRef.current.getZoom() - 1); + }; + return ( + + + + + + + + + ); + }; + + return ( + <> + +
+ { + // console.log(e.features); + if (e.features[0]) { + setSelected(e.features[0].properties.fid); + if (mapRef.current.getZoom() < 14) { + mapRef.current.flyTo({ + center: e.features[0].geometry.coordinates, + zoom: mapRef.current.getZoom() + 6, + }); + setPopupInfo({ + longitude: e.features[0].geometry.coordinates[0], + latitude: e.features[0].geometry.coordinates[1], + text: `${ + e.features[0].properties.date_start == + e.features[0].properties.date_finish + ? e.features[0].properties.date_start + : `${e.features[0].properties.date_start} - ${e.features[0].properties.date_finish}` + } ${e.features[0].properties.place_name}`, + }); + } + } else { + setSelected(-1); + } + }} + onMouseEnter={() => setCursor("pointer")} + onMouseLeave={() => setCursor("grab")} + // onLoad={handleMapLoad} + > + + {popupInfo && ( + setPopupInfo(null)} + > + {popupInfo.text} + + )} + + + + + + + + {/* Search mobile */} + + + + + {/* {articles !== null && + articles.length > 0 && + articles.map((article) => ( + + ))} */} + + + + + {/* Search pc */} + + + Места + + + + География пришвинской биографии невероятно богата. Писатель много + где жил и много где путешествовал. Главная особенность творчества + Пришвина в том, что фактически все места обитания и все маршруты + путешествий непреложно отражались в его произведениях. Если и есть + исключения – поездка на Уралмаш в 1933 году, то она описана в + Дневнике писателя. + + + {places && + places + .sort( + (a, b) => a.properties.date_start - b.properties.date_start + ) + .map((place) => ( + + ))} + + + +
+ + + ); +} diff --git a/src/assets/header.json b/src/assets/header.json index 17451d3..9ee4167 100644 --- a/src/assets/header.json +++ b/src/assets/header.json @@ -7,6 +7,10 @@ { "link": "#museums", "label": "Музеи" + }, + { + "link": "#trips", + "label": "Путешествия" } ] } \ No newline at end of file