basic dynamic route for profile pages implementation

this includes:
* modifying the administracja.json schema to fit a longer description for pages, and possibly more soon
* the dynamic routing of profiles and handling of data therein
* a redirect from base /profile path to a better destination
* a journey of self discovery leading me to assess .filter() and .map(el, INDEX!!) as being based as fuck
* wet spot where my tears landed
This commit is contained in:
2022-12-21 23:19:14 +01:00
parent 75e59fce20
commit 2236c4e779
4 changed files with 94 additions and 6 deletions

View File

@@ -2,7 +2,24 @@
{
"name": "jamesen",
"desc": "Frontendowiec nie jebany.",
"img": "https://pbs.twimg.com/profile_images/1605591811921149953/Ogr8ALPa_400x400.jpg"
"img": "https://pbs.twimg.com/profile_images/1605591811921149953/Ogr8ALPa_400x400.jpg",
"profile": {
"bigdesc": [
"Tutaj można napisać w kit dużo tekstu o sobie i generalnie to będzie on wyrenderowany na stronce.",
"Tak to ma działać, generalnie. Tak. Owszem.",
"",
"Aaaaaaaaaaaaaaaaaa.",
"Jakby ktoś się zastanawiał jak zrobić takiego breaka jak tu:",
"",
"To zrobiłem żeby się tworzył przy pustym stringu w arrayu opisowym.",
"",
"ale jestem dobry, ty.",
"",
"",
"",
"~jamesen"
]
}
},
{
"name": "Mollin",

View File

@@ -23,6 +23,10 @@
"hrefalias": ["/github", "/gh"],
"desc": "Nasz org na GitHubie!"
},
{
"href": "/o-gractwie#sklad-administracji",
"hrefalias": ["/profile"]
},
{
"name": "Kod Źródłowy",
"href": "https://github.com/gractwo/gractwo-web",