From 945fff57ab5d3b6bed40b9bbdec41cabb4449aa6 Mon Sep 17 00:00:00 2001 From: Gift Egwuenu Date: Thu, 28 May 2020 08:55:23 +0100 Subject: [PATCH] [preview][s]: add a data preview page - Adjust styling in showcase page --- pages/@myorg/myDataset.tsx | 52 +++--------------- pages/@myorg/preview.tsx | 108 +++++++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+), 44 deletions(-) create mode 100644 pages/@myorg/preview.tsx diff --git a/pages/@myorg/myDataset.tsx b/pages/@myorg/myDataset.tsx index b9346b0b..2aa5e901 100644 --- a/pages/@myorg/myDataset.tsx +++ b/pages/@myorg/myDataset.tsx @@ -10,11 +10,11 @@ export default function Showcase() {

- Agricultural Production Statistics -

+ Remuneración octubre 2017 +

- Stats New Zealand + Datos Abiertos Municipio Loja Ecuador

@@ -35,12 +35,12 @@ export default function Showcase() { - - + +
text xls 2020-05-27 a few seconds agocc-byStats New Zealandcc-byDatos Abiertos Municipio Loja Ecuador
-
These releases contain information on farming in New Zealand - including livestock and arable farming, horticulture, and forestry. Agricultural production statistics are produced in collaboration with the Ministry for Primary Industries. Read more
+
Contiene información sobre las remuneraciones de los servidores de la institución, correspondiente al mes de octubre del año 2017.
Download Developers
@@ -58,10 +58,10 @@ export default function Showcase() { - Dataset Metadata + Remuneración octubre 2017 - Dataset's Metadata + Remuneración octubre 2017 @@ -74,42 +74,6 @@ export default function Showcase() { - - - Dataset Metadata - - - Dataset's Metadata - - - - - Invalid Date - - - - Xls - - - - - - Dataset Metadata - - - Dataset's Metadata - - - - - Invalid Date - - - - Data File - - -
diff --git a/pages/@myorg/preview.tsx b/pages/@myorg/preview.tsx new file mode 100644 index 00000000..718a26ac --- /dev/null +++ b/pages/@myorg/preview.tsx @@ -0,0 +1,108 @@ +import Head from 'next/head' +import Link from 'next/link' + +export default function Showcase() { + return ( +
+ + Showcase + + +
+
+

Remuneración octubre 2017

+

Field Information

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Field NameOrderType(Format)Description
+ No. + + 1 + + any + +
+ Puesto institucional + + 2 + + string + +
+ Régimen laboral al que pertenece + + 3 + + string + +
+ Número de partida presupuestaria + + 4 + + string + +
+ Grado jerárquico o escala al que pertenece el puesto + + 5 + + any + +
+ Remuneración mensual unificacada + + 6 + + any + +
+ Go back +
+
+
+ ) +}