mirror of
https://github.com/0xShay/ticketchain.git
synced 2026-01-11 21:23:24 +00:00
Merge pull request #12 from Ayush272002/sid-visual-fixes
🎨 Fixed some UI elements
This commit is contained in:
12
app/Home.tsx
12
app/Home.tsx
@@ -2,8 +2,6 @@
|
|||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import Header from '../components/custom/header';
|
import Header from '../components/custom/header';
|
||||||
import Footer from '../components/custom/footer';
|
import Footer from '../components/custom/footer';
|
||||||
import Test from '../components/scripts/Test';
|
|
||||||
import MetaMask from '../components/scripts/MetaMask';
|
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
const [isClient, setIsClient] = useState(false);
|
const [isClient, setIsClient] = useState(false);
|
||||||
@@ -64,16 +62,6 @@ export default function Home() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main>
|
|
||||||
<section className="mb-8">
|
|
||||||
<Test />
|
|
||||||
</section>
|
|
||||||
<section className="mb-8">
|
|
||||||
<MetaMask />
|
|
||||||
</section>
|
|
||||||
<Footer />
|
|
||||||
</main>
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ const Header = () => {
|
|||||||
}}
|
}}
|
||||||
></div>
|
></div>
|
||||||
<div className="container mx-auto px-6 py-4 flex justify-between items-center">
|
<div className="container mx-auto px-6 py-4 flex justify-between items-center">
|
||||||
<h1 className="text-2xl font-Ariel-bold text-white">TicketChain</h1>
|
<h1 className="text-2xl font-semibold text-white">TicketChain</h1>
|
||||||
<nav className="nav">
|
<nav className="nav">
|
||||||
<ul className="flex space-x-6">
|
<ul className="flex space-x-6">
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
'use client';
|
|
||||||
import React, { useEffect } from 'react';
|
|
||||||
|
|
||||||
const Test = () => {
|
|
||||||
useEffect(() => {
|
|
||||||
console.log('Print some shit');
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
<p>Hellao!</p>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Test;
|
|
||||||
Reference in New Issue
Block a user