[examples/538] - changes requested by demenech
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
import '@/styles/globals.css'
|
import '@/styles/globals.css'
|
||||||
|
import '@portaljs/components/styles.css'
|
||||||
|
|
||||||
import type { AppProps } from 'next/app'
|
import type { AppProps } from 'next/app'
|
||||||
|
|
||||||
export default function App({ Component, pageProps }: AppProps) {
|
export default function App({ Component, pageProps }: AppProps) {
|
||||||
|
|||||||
@@ -58,9 +58,10 @@ export default function DatasetPage({
|
|||||||
</div>
|
</div>
|
||||||
{dataset.files && dataset.files.length > 0 && (
|
{dataset.files && dataset.files.length > 0 && (
|
||||||
<>
|
<>
|
||||||
<h2 className="mb-0 mt-10">PREVIEWS</h2>
|
<h2 className="mb-0 mt-10">DATA PREVIEWS</h2>
|
||||||
{dataset.files?.map((file) => (
|
{dataset.files?.map((file) => (
|
||||||
<div key={file} className="preview-table my-8">
|
<div key={file} className="preview-table my-8">
|
||||||
|
<h3>{file.split('/').slice(-1)}</h3>
|
||||||
<Table url={file} />
|
<Table url={file} />
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|||||||
@@ -43,10 +43,10 @@ export function MobileItem({ dataset }: { dataset: Dataset }) {
|
|||||||
info
|
info
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
className="border border-zinc-900 font-light px-4 py-1 text-sm transition hover:bg-zinc-900 hover:text-white"
|
className="ml-2 border border-zinc-900 font-light px-4 py-1 text-sm transition hover:bg-zinc-900 hover:text-white"
|
||||||
href={`/datasets/${dataset.name}`}
|
href={`/datasets/${dataset.name}`}
|
||||||
>
|
>
|
||||||
info
|
explore
|
||||||
</a>
|
</a>
|
||||||
{/*
|
{/*
|
||||||
<button>
|
<button>
|
||||||
@@ -101,7 +101,7 @@ export function DesktopItem({ dataset }: { dataset: Dataset }) {
|
|||||||
<td className="py-8">
|
<td className="py-8">
|
||||||
{index === 0 && (
|
{index === 0 && (
|
||||||
<a
|
<a
|
||||||
className="border border-zinc-900 font-light px-[25px] py-2.5 text-sm transition hover:bg-zinc-900 hover:text-white"
|
className="ml-2 border border-zinc-900 font-light px-[25px] py-2.5 text-sm transition hover:bg-zinc-900 hover:text-white"
|
||||||
href={`/datasets/${dataset.name}`}
|
href={`/datasets/${dataset.name}`}
|
||||||
>
|
>
|
||||||
explore
|
explore
|
||||||
|
|||||||
@@ -14,6 +14,5 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
safelist: ['w-6', 'h-6', 'opacity-100'],
|
|
||||||
plugins: [require('@tailwindcss/typography')],
|
plugins: [require('@tailwindcss/typography')],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user