places-ive-been-in
A react app to keep track of places I've been in
Usage
- Create
src/core/config/points.ts
and add some points, as such:
import { Point } from "types/point";
const today = new Date().toISOString().slice(0, 10);
export const points: Point[] = [
{
dates: [
['1996-08-10', '2019-10-10'],
['2022-04-04', today]
],
lat: 41.67282209030566,
lon: -8.77587141795533,
name: 'Viana do Castelo'
}
];
- Add images to subfolders in
public/images
matching the names of the points - Generate image thumbnails and paths
yarn
yarn optimize-images
yarn build-image-paths
- Run the app
yarn dev