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
4 changed files with 12 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ export default function Showcase() {
<tbody> <tbody>
<tr className="bg-gray-100 text-sm"> <tr className="bg-gray-100 text-sm">
<td className="pr-10 py-4 text-orange-500"> <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>
<td className="px-10 py-4"> <td className="px-10 py-4">
Remuneración octubre 2017 Remuneración octubre 2017

View File

@@ -1,5 +1,4 @@
import Head from 'next/head' import Head from 'next/head'
import Link from 'next/link'
export default function Showcase() { export default function Showcase() {
return ( return (
@@ -9,15 +8,21 @@ export default function Showcase() {
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
</Head> </Head>
<div className="my-16"> <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"> <div className="my-16">
<h2 className="text-3xl pb-2" id="data">Remuneración octubre 2017</h2> <h2 className="text-3xl pb-2" id="data">Remuneración octubre 2017</h2>
<p className="text-2xl my-4 font-light">Field Information</p> <p className="text-2xl my-4 font-light">Field Information</p>
<table className="table-auto border text-sm mb-2"> <table className="table-auto border text-sm mb-2">
<thead> <thead>
<th className="px-5 w-2/5 text-left py-4 border">Field Name</th> <tr>
<th className="px-5 w-1/5 text-left py-4 border">Order</th> <th className="px-5 w-2/5 text-left py-4 border">Field Name</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">Order</th>
<th className="px-5 w-1/5 text-left py-4 border">Description</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> </thead>
<tbody> <tbody>
<tr className="bg-gray-200 text-sm border"> <tr className="bg-gray-200 text-sm border">

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 318 B