TeamXerbutri / teamxerbutri.github.io

Team Xerbutri is een website over urban exploring en verlaten spoorlijnen
0 stars 0 forks source link

Create a object blog page template #2

Closed TeamXerbutri closed 7 months ago

TeamXerbutri commented 1 year ago

Create the template for the object page containing the blog

HelmerDenDekker commented 9 months ago

Okay, so we have these:

HelmerDenDekker commented 8 months ago

So I was thinking; At this moment:

What are we doing at the moment:

Running into problems with having a data structure in the frontend and what to do with all these templates which are usefull etc.

helmerdendekker.github.io is a fine example. We just have text and pictures to display on this site, it should not be this hard, difficult or heavy.

The datastructure was introduced for the CMS part. Why don't we keep it for CMS-purposes, and from that CMS/datastructure create the pages we need.

Because for the website it is quite simple:

Tile-page with all of the visited sites: This is plain html, with a filter function in js, and lazy loading for the pictures. Maps This only has openLayers Adventure This only has photoswipe AdventureWithMaps Has the extended photoswipe with openlayers.

From a performance point of view, a multi-page application with routing is the best. A single page application is simpler from a framework point of view, but why do what the browser does best?

All things considered (backward compatibility etc) I think we best marry SPA and MPA to get a three-page application, which complicates stuff.

My proposal:

HelmerDenDekker commented 8 months ago

Next problem at hand:

HelmerDenDekker commented 8 months ago

Whaaa. This is complicated: XerbutriRoutes

There are three main templates:

Blog has a blog-category and dependent on the blog (abbrev) can be written in several languages

Depending on the blog type (category) and/or the availability the blog can have photoswipe OR photoswipe-extended-with-openlayers

HelmerDenDekker commented 8 months ago

Running into a problem with adding html into a vite rendered page

HelmerDenDekker commented 8 months ago

Okay! Newest thoughts on this subject:

HelmerDenDekker commented 8 months ago

The routing system works. I wanted to do a quick try with markdown transformations, because it is a nice standard for my blogs. However, this does not go fluently.

Put this on hold because we need a good solution for this problem. IF I a going the markdown-javascript way it will be very javascript heavy. I really do not know how to make the vite-html transform thing work. There are downsides to it as well

TeamXerbutri commented 7 months ago

Approved all recent changes. Official "Go" for next phase: Finish the index page