Skip to content

Commit

Permalink
Lint and change pages to use Awana Digital
Browse files Browse the repository at this point in the history
  • Loading branch information
luandro committed Apr 10, 2024
1 parent 31d1989 commit 4f337c7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions pages/build.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ const Build: NextPage = () => {
return (
<div>
<Head>
<title>{name || 'Config'}</title>
<meta name="description" content={version || 'v0.0.1'} />
</Head>
<title>{name || 'Config'}</title>
<meta name="description" content={version || 'v0.0.1'} />
</Head>

<div className="w-full max-w-3xl px-3 mx-auto mt-12">
<div className="flex flex-col items-center justify-center space-y-10 bg-gray-100 p-5 rounded-lg py-48">
<main className="space-y-12 flex flex-col items-center justify-center">
<img src="/mapeo.png" alt="Mapeo logo" className="mx-auto"/>
<img src="/mapeo.png" alt="Mapeo logo" className="mx-auto" />
<h2 className="text-4xl font-bold text-center">{name}</h2>
<p className="text-lg text-gray-500 text-center">{version}</p>
{build ?
Expand Down Expand Up @@ -72,7 +72,7 @@ const Build: NextPage = () => {
</div>
<footer>
<div className="w-full max-w-3xl px-3 mx-auto">
<p>Digital Democracy 2023</p>
<p>Awana Digital {new Date().getFullYear()}</p>
</div>
</footer>

Expand Down
32 changes: 16 additions & 16 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ import Head from "next/head";
import Home from "../components/Home";

const Index: NextPage = () => {
return (
<div>
<Head>
<title>Mapeo config editor</title>
<meta name="description" content="File uploader" />
</Head>
return (
<div>
<Head>
<title>Mapeo config editor</title>
<meta name="description" content="File uploader" />
</Head>

<main className="py-10">
<Home />
</main>
<main className="py-10">
<Home />
</main>

<footer>
<div className="w-full max-w-3xl px-3 mx-auto">
<p>Digital Democracy 2023</p>
</div>
</footer>
</div>
);
<footer>
<div className="w-full max-w-3xl px-3 mx-auto">
<p>Awana Digital {new Date().getFullYear()}</p>
</div>
</footer>
</div>
);
};

export default Index;

0 comments on commit 4f337c7

Please sign in to comment.