Skip to content

Commit

Permalink
sketching layout
Browse files Browse the repository at this point in the history
  • Loading branch information
sehilyi committed Apr 30, 2024
1 parent d5090b1 commit f89201d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
34 changes: 32 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,39 @@
import React from 'react';
import './index.css';
import _data from './data.json';

type Datum = {
id: number;
name: string;
title: string;
authors: string[];
venue: string;
index: string;
year: number;
url: string;
abstract: string;
}

const Data = _data as Datum[];

function App() {
return (
<div>
<h1>App</h1>
<div className="h-full">
<nav className="h-10 font-bold bg-black/10">
<h1>Multimodal Visualization Authoring</h1>
</nav>
<div className="flex flex-rows outline outline-1 outline-black/20">
<div className="flex-none w-[200px] outline outline-1 outline-black/20"></div>
<div className="flex-1 outline outline-1 outline-black/20">
{Data.map((datum) => (
<div key={datum.id}>
<h2>{datum.title}</h2>
</div>
))}
</div>
</div>
<footer className="h-10 font-bold bg-black/10">
</footer>
</div>
);
}
Expand Down
3 changes: 3 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
html, body, #root {
height: 100%;
}

0 comments on commit f89201d

Please sign in to comment.