Skip to content

Commit

Permalink
feat(frontend): ✨ use blockrenderer to preview projects. Sho… (#92)
Browse files Browse the repository at this point in the history
* feat(frontend): ✨ use blockrenderer to preview projects. Show project content in the slugs

* fix(frontend): 🚨 fix es lint warning

* style(frontend): 🚨 fix prettier warnings
  • Loading branch information
Mats authored and GitHub committed Feb 19, 2024
1 parent a58d824 commit fd316a7
Show file tree
Hide file tree
Showing 7 changed files with 2,514 additions and 2,918 deletions.
10 changes: 10 additions & 0 deletions backend/src/api/project/content-types/project/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
},
"slug": {
"type": "uid"
},
"coverImage": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
}
}
}
5,218 changes: 2,389 additions & 2,829 deletions backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions backend/types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ export interface ApiProjectProject extends Schema.CollectionType {
'api::satellite.satellite'
>;
slug: Attribute.UID;
coverImage: Attribute.Media;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime;
Expand Down
13 changes: 4 additions & 9 deletions frontend/src/__generated__/gql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fd316a7

Please sign in to comment.