mirror of
https://github.com/0xShay/ticketchain.git
synced 2026-01-11 21:23:24 +00:00
🔀 Merge pull request #20 from Ayush272002/sid-visual-fixes
🎨 Added some theming
This commit is contained in:
@@ -3,7 +3,7 @@ import React from 'react';
|
|||||||
const Footer = () => {
|
const Footer = () => {
|
||||||
return (
|
return (
|
||||||
<footer className="text-center mt-8">
|
<footer className="text-center mt-8">
|
||||||
<p className="text-gray-500">
|
<p className="text-light-purple text-opacity-75">
|
||||||
© 2024 TicketChain. All rights reserved.
|
© 2024 TicketChain. All rights reserved.
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -36,14 +36,16 @@ 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">
|
||||||
<Link href="/" legacyBehavior>
|
<Link href="/" legacyBehavior>
|
||||||
<a className="text-2xl font-semibold text-white">TicketChain</a>
|
<a className="text-2xl font-semibold text-white hover:text-light-purple hover:text-opacity-75 transition-colors duration-300">
|
||||||
|
TicketChain
|
||||||
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
<nav className="nav">
|
<nav className="nav">
|
||||||
<ul className="flex space-x-6">
|
<ul className="flex space-x-6">
|
||||||
<li>
|
<li>
|
||||||
<Link href="/" legacyBehavior>
|
<Link href="/" legacyBehavior>
|
||||||
<a
|
<a
|
||||||
className="text-white hover:text-blue-500 transition-colors duration-300"
|
className="text-white hover:text-light-purple hover:text-opacity-75 transition-colors duration-300"
|
||||||
style={{ textShadow: '1px 1px 2px rgba(0, 0, 0, 0.5)' }}
|
style={{ textShadow: '1px 1px 2px rgba(0, 0, 0, 0.5)' }}
|
||||||
>
|
>
|
||||||
Home
|
Home
|
||||||
@@ -53,7 +55,7 @@ const Header = () => {
|
|||||||
<li>
|
<li>
|
||||||
<Link href="/events" legacyBehavior>
|
<Link href="/events" legacyBehavior>
|
||||||
<a
|
<a
|
||||||
className="text-white hover:text-blue-500 transition-colors duration-300"
|
className="text-white hover:text-light-purple hover:text-opacity-75 transition-colors duration-300"
|
||||||
style={{ textShadow: '1px 1px 2px rgba(0, 0, 0, 0.5)' }}
|
style={{ textShadow: '1px 1px 2px rgba(0, 0, 0, 0.5)' }}
|
||||||
>
|
>
|
||||||
Events
|
Events
|
||||||
@@ -63,7 +65,7 @@ const Header = () => {
|
|||||||
<li>
|
<li>
|
||||||
<Link href="/contact" legacyBehavior>
|
<Link href="/contact" legacyBehavior>
|
||||||
<a
|
<a
|
||||||
className="text-white hover:text-blue-500 transition-colors duration-300"
|
className="text-white hover:text-light-purple hover:text-opacity-75 transition-colors duration-300"
|
||||||
style={{ textShadow: '1px 1px 2px rgba(0, 0, 0, 0.5)' }}
|
style={{ textShadow: '1px 1px 2px rgba(0, 0, 0, 0.5)' }}
|
||||||
>
|
>
|
||||||
Contact
|
Contact
|
||||||
|
|||||||
@@ -64,7 +64,9 @@ function MetaMaskConnect() {
|
|||||||
{isConnected ? (
|
{isConnected ? (
|
||||||
<Popover>
|
<Popover>
|
||||||
<PopoverTrigger asChild>
|
<PopoverTrigger asChild>
|
||||||
<Button>{formatAddress(account)}</Button>
|
<Button variant="link" className="text-white">
|
||||||
|
{formatAddress(account)}
|
||||||
|
</Button>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent className="w-44">
|
<PopoverContent className="w-44">
|
||||||
<Button
|
<Button
|
||||||
@@ -77,7 +79,11 @@ function MetaMaskConnect() {
|
|||||||
</PopoverContent>
|
</PopoverContent>
|
||||||
</Popover>
|
</Popover>
|
||||||
) : (
|
) : (
|
||||||
<Button disabled={connecting} onClick={connect}>
|
<Button
|
||||||
|
disabled={connecting}
|
||||||
|
onClick={connect}
|
||||||
|
className="bg-light-purple bg-opacity-75 hover:bg-purple border-0 hover:border-0"
|
||||||
|
>
|
||||||
<WalletIcon className="mr-2 h-4 w-4" /> Connect Wallet
|
<WalletIcon className="mr-2 h-4 w-4" /> Connect Wallet
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -14,6 +14,12 @@ const config: Config = {
|
|||||||
DEFAULT: '#000',
|
DEFAULT: '#000',
|
||||||
100: '#000319',
|
100: '#000319',
|
||||||
},
|
},
|
||||||
|
'darkest-purple': '#240046',
|
||||||
|
'darker-purple': '#3C096C',
|
||||||
|
'dark-purple': '#5A189A',
|
||||||
|
purple: '#7B2CBF',
|
||||||
|
'light-purple': '#9D4EDD',
|
||||||
|
|
||||||
background: 'hsl(var(--background))',
|
background: 'hsl(var(--background))',
|
||||||
foreground: 'hsl(var(--foreground))',
|
foreground: 'hsl(var(--foreground))',
|
||||||
card: {
|
card: {
|
||||||
|
|||||||
Reference in New Issue
Block a user