Skip to content

Commit

Permalink
Fix roodjong#32 broken detail pages
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelklaessen committed Jan 2, 2025
1 parent 8a0421c commit ce08a46
Show file tree
Hide file tree
Showing 8 changed files with 1,396 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ docker/roodjongeren_prod/.env.prod
dump_rood*.sql
roodjongeren-export*
node_modules/
.DS_Store
.vscode
14 changes: 14 additions & 0 deletions backend/.strapi/client/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* This file was automatically generated by Strapi.
* Any modifications made will be discarded.
*/
import i18N from "@strapi/plugin-i18n/strapi-admin";
import usersPermissions from "@strapi/plugin-users-permissions/strapi-admin";
import { renderAdmin } from "@strapi/strapi/admin";

renderAdmin(document.getElementById("strapi"), {
plugins: {
i18n: i18N,
"users-permissions": usersPermissions,
},
});
62 changes: 62 additions & 0 deletions backend/.strapi/client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<!--
This file was automatically generated by Strapi.
Any modifications made will be discarded.
-->
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, viewport-fit=cover"
/>
<meta name="robots" content="noindex" />
<meta name="referrer" content="same-origin" />
<title>Strapi Admin</title>
<style>
html,
body,
#strapi {
height: 100%;
}
body {
margin: 0;
-webkit-font-smoothing: antialiased;
}
</style>
</head>
<body>
<div id="strapi"></div>
<noscript
><div class="strapi--root">
<div class="strapi--no-js">
<style type="text/css">
.strapi--root {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
background: #fff;
}

.strapi--no-js {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
font-family: helvetica, arial, sans-serif;
}
</style>
<h1>JavaScript disabled</h1>
<p>
Please
<a href="https://www.enable-javascript.com/">enable JavaScript</a>
in your browser and reload the page to proceed.
</p>
</div>
</div></noscript
>
</body>
</html>
5 changes: 5 additions & 0 deletions backend/types/generated/components.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { Attribute, Schema } from "@strapi/strapi";

declare module "@strapi/types" {
export module Shared {}
}
Loading

0 comments on commit ce08a46

Please sign in to comment.