diff --git a/examples/openspending/pages/@org/[org]/[project].tsx b/examples/openspending/pages/@org/[org]/[project].tsx
index 159abf2f..57c88957 100644
--- a/examples/openspending/pages/@org/[org]/[project].tsx
+++ b/examples/openspending/pages/@org/[org]/[project].tsx
@@ -37,185 +37,185 @@ export default function ProjectPage({
@{project.repo.full_name}
- {description && (
-
- {description}
-
- )}
+ {description && (
+
+ {description}
+
+ )}
-
-
-
-
- |
- Name
- |
- {project.datapackage.countryCode && (
-
- Country
- |
- )}
-
- Metadata
- |
-
-
-
-
- |
- {project.name}
- |
- {project.datapackage.countryCode && (
-
- {project.datapackage.countryCode}
- |
- )}
+
+
+
+
+ |
+ Name
+ |
+ {project.datapackage.countryCode && (
+
+ Country
+ |
+ )}
+
+ Metadata
+ |
+
+
+
+
+ |
+ {project.name}
+ |
+ {project.datapackage.countryCode && (
+
+ {project.datapackage.countryCode}
+ |
+ )}
-
-
- datapackage.json
-
- |
-
-
+
+
+ datapackage.json
+
+ |
+
+
Data files
This dataset contains {project.files.length} file
- {project.files.length == 1 ? '' : 's'}
-
-
-
-
-
- |
- Name
- |
-
- Format
- |
-
- Size
- |
-
-
-
- {project.files?.map((file) => {
- let size: number | string = file.size;
+ {project.files.length == 1 ? '' : 's'}
+
+
+
+
+
+ |
+ Name
+ |
+
+ Format
+ |
+
+ Size
+ |
+
+
+
+ {project.files?.map((file) => {
+ let size: number | string = file.size;
- if (!size) {
- if (file.bytes) {
- if (file.bytes > 1000000) {
- size = (file.bytes / 1000000).toFixed(2) + ' MB';
- } else {
- size = (file.bytes / 1000).toFixed(2) + ' kB';
- }
- }
- }
- return (
-
- |
- {file.name}
- |
-
- {file.format}
- |
-
- {size}
- |
+ if (!size) {
+ if (file.bytes) {
+ if (file.bytes > 1000000) {
+ size = (file.bytes / 1000000).toFixed(2) + ' MB';
+ } else {
+ size = (file.bytes / 1000).toFixed(2) + ' kB';
+ }
+ }
+ }
+ return (
+
+ |
+ {file.name}
+ |
+
+ {file.format}
+ |
+
+ {size}
+ |
-
-
- Download
-
- |
-
- );
- })}
-
-
-
+
+
+ Download
+
+ |
+
+ );
+ })}
+
+
+
-
- {project.files?.map((file) => {
- let size: number | string = file.size;
+
+ {project.files?.map((file) => {
+ let size: number | string = file.size;
- if (!size) {
- if (file.bytes) {
- if (file.bytes > 1000000) {
- size = (file.bytes / 1000000).toFixed(2) + ' MB';
- } else {
- size = (file.bytes / 1000).toFixed(2) + ' kB';
- }
- }
- }
- return (
-
- {file.path && (
-
-
- {file.name}
- {file.format ? `.${file.format}` : ''}
-
- {file.bytes >= 5132288 && (
-
Previewing 5MB out of {size}
+ if (!size) {
+ if (file.bytes) {
+ if (file.bytes > 1000000) {
+ size = (file.bytes / 1000000).toFixed(2) + ' MB';
+ } else {
+ size = (file.bytes / 1000).toFixed(2) + ' kB';
+ }
+ }
+ }
+ return (
+
+ {file.path && (
+
+
+ {file.name}
+ {file.format ? `.${file.format}` : ''}
+
+ {file.bytes >= 5132288 && (
+
Previewing 5MB out of {size}
+ )}
+
+
+
+
+ )}
+
+ );
+ })}
+
+
+ {readme && (
+ <>
+
+
+
Readme
+
{readme}
+ >
)}
-
-
-
-
- )}
-
- );
- })}
-
-
- {readme && (
- <>
-
-
- Readme
- {readme}
- >
-)}
);