Merge pull request #7 from datopian/fix/resource-url

[fix][m]- Rename Preview URL
This commit is contained in:
Gift Egwuenu 2020-06-02 10:18:58 +01:00 committed by GitHub
commit dab0865368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 7 deletions

View File

@ -58,7 +58,7 @@ export default function Showcase() {
<tbody>
<tr className="bg-gray-100 text-sm">
<td className="pr-10 py-4 text-orange-500">
<i className="far fa-file-alt"></i> <a href="/@myorg/preview" className="anchor-link">Remuneración octubre 2017</a>
<i className="far fa-file-alt"></i> <a href="/@myorg/myDataset/r/myresource" className="anchor-link">Remuneración octubre 2017</a>
</td>
<td className="px-10 py-4">
Remuneración octubre 2017

View File

@ -1,5 +1,4 @@
import Head from 'next/head'
import Link from 'next/link'
export default function Showcase() {
return (
@ -9,15 +8,21 @@ export default function Showcase() {
<link rel="icon" href="/favicon.ico" />
</Head>
<div className="my-16">
<div id="datapackage-view-{{view.id}}" className="react-me tables"></div>
<p className="notice">
This is a preview version. There might be more data in the original version.
</p>
<div className="my-16">
<h2 className="text-3xl pb-2" id="data">Remuneración octubre 2017</h2>
<p className="text-2xl my-4 font-light">Field Information</p>
<table className="table-auto border text-sm mb-2">
<thead>
<th className="px-5 w-2/5 text-left py-4 border">Field Name</th>
<th className="px-5 w-1/5 text-left py-4 border">Order</th>
<th className="px-5 w-1/6 text-left py-4 border">Type(Format)</th>
<th className="px-5 w-1/5 text-left py-4 border">Description</th>
<tr>
<th className="px-5 w-2/5 text-left py-4 border">Field Name</th>
<th className="px-5 w-1/5 text-left py-4 border">Order</th>
<th className="px-5 w-1/6 text-left py-4 border">Type(Format)</th>
<th className="px-5 w-1/5 text-left py-4 border">Description</th>
</tr>
</thead>
<tbody>
<tr className="bg-gray-200 text-sm border">

View File

@ -6,7 +6,7 @@ export default function Home() {
return (
<div className="container mx-auto">
<Head>
<title>Create Next App</title>
<title>Portal</title>
<link rel="icon" href="/favicon.ico" />
</Head>
<main>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 318 B