Skip to content

Commit 3849d8a

Browse files
Merge pull request #21 from simplicityf/feat/logo
feat: add logo to navbar and footer
2 parents d44a799 + 8700ab2 commit 3849d8a

4 files changed

Lines changed: 31 additions & 17 deletions

File tree

app/layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ export const metadata: Metadata = {
1414
icons: {
1515
icon: [
1616
{
17-
url: '/icon-light-32x32.png',
17+
url: '/assets/logo2.png',
1818
media: '(prefers-color-scheme: light)',
1919
},
2020
{
21-
url: '/icon-dark-32x32.png',
21+
url: '/assets/logo2.png',
2222
media: '(prefers-color-scheme: dark)',
2323
},
2424
{
25-
url: '/icon.svg',
25+
url: '/assets/logo2.png',
2626
type: 'image/svg+xml',
2727
},
2828
],
29-
apple: '/apple-icon.png',
29+
apple: '/assets/logo2.png',
3030
},
3131
}
3232

components/footer.tsx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Link from 'next/link'
22
import { Github, Twitter, Linkedin } from 'lucide-react'
3+
import Image from 'next/image'
34

45
export function Footer() {
56
return (
@@ -8,14 +9,20 @@ export function Footer() {
89
<div className="grid grid-cols-2 md:grid-cols-4 gap-8 mb-8">
910
<div className="col-span-2 md:col-span-1">
1011
<div className="flex items-center gap-2 mb-4">
11-
<div className="h-8 w-8 rounded-lg bg-gradient-to-br from-primary via-secondary to-accent" />
12+
<Image
13+
src='/assets/logo2.png'
14+
alt="Logo"
15+
width={20}
16+
height={20}
17+
className="h-10 w-10 object-cover"
18+
/>
1219
<span className="text-xl font-bold">TaskChain</span>
1320
</div>
1421
<p className="text-sm text-muted-foreground leading-relaxed">
1522
Secure freelance platform powered by Stellar blockchain escrow.
1623
</p>
1724
</div>
18-
25+
1926
<div>
2027
<h3 className="font-semibold mb-4">Platform</h3>
2128
<ul className="space-y-2 text-sm text-muted-foreground">
@@ -41,7 +48,7 @@ export function Footer() {
4148
</li>
4249
</ul>
4350
</div>
44-
51+
4552
<div>
4653
<h3 className="font-semibold mb-4">Resources</h3>
4754
<ul className="space-y-2 text-sm text-muted-foreground">
@@ -67,7 +74,7 @@ export function Footer() {
6774
</li>
6875
</ul>
6976
</div>
70-
77+
7178
<div>
7279
<h3 className="font-semibold mb-4">Legal</h3>
7380
<ul className="space-y-2 text-sm text-muted-foreground">
@@ -89,12 +96,12 @@ export function Footer() {
8996
</ul>
9097
</div>
9198
</div>
92-
99+
93100
<div className="flex flex-col md:flex-row items-center justify-between pt-8 border-t border-border/40 gap-4">
94101
<p className="text-sm text-muted-foreground">
95102
© 2024 TaskChain. All rights reserved.
96103
</p>
97-
104+
98105
<div className="flex items-center gap-4">
99106
<Link
100107
href="https://twitter.com"

components/hero.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ export function Hero() {
88
<div className="absolute inset-0 bg-gradient-to-br from-primary/20 via-secondary/20 to-accent/20 opacity-50" />
99
<div className="absolute inset-0 bg-[radial-gradient(circle_at_30%_20%,rgba(120,119,198,0.3),transparent_50%)]" />
1010
<div className="absolute inset-0 bg-[radial-gradient(circle_at_70%_80%,rgba(74,222,128,0.2),transparent_50%)]" />
11-
11+
1212
<div className="relative mx-auto max-w-7xl">
1313
<div className="text-center space-y-8">
1414
<div className="inline-flex items-center gap-2 px-4 py-2 rounded-full bg-card/50 backdrop-blur-sm border border-border/40">
1515
<Shield className="h-4 w-4 text-primary" />
1616
<span className="text-sm text-muted-foreground">Powered by Stellar Blockchain</span>
1717
</div>
18-
18+
1919
<h1 className="text-5xl md:text-7xl font-bold text-balance">
2020
Freelance with{' '}
2121
<span className="bg-gradient-to-r from-primary via-secondary to-accent bg-clip-text text-transparent">
2222
Confidence
2323
</span>
2424
</h1>
25-
25+
2626
<p className="mx-auto max-w-2xl text-lg md:text-xl text-muted-foreground text-balance">
27-
The Web3-powered platform that protects both clients and freelancers with blockchain-based escrow payments.
27+
The Web3-powered platform that protects both clients and freelancers with blockchain-based escrow payments.
2828
Work securely, get paid fairly.
2929
</p>
30-
30+
3131
<div className="flex flex-col sm:flex-row items-center justify-center gap-4">
3232
<Button size="lg" className="group" asChild>
3333
<Link href="/signup">
@@ -42,7 +42,7 @@ export function Hero() {
4242
</Link>
4343
</Button>
4444
</div>
45-
45+
4646
<div className="flex items-center justify-center gap-8 pt-8 text-sm text-muted-foreground">
4747
<div className="flex items-center gap-2">
4848
<div className="h-2 w-2 rounded-full bg-primary animate-pulse" />

components/navbar.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Link from 'next/link'
44
import { Button } from '@/components/ui/button'
55
import { Menu, X } from 'lucide-react'
66
import { useState } from 'react'
7+
import Image from 'next/image'
78
import { ThemeToggle } from './ui/ThemeToggle'
89

910
export function Navbar() {
@@ -14,7 +15,13 @@ export function Navbar() {
1415
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
1516
<div className="flex h-16 items-center justify-between">
1617
<div className="flex items-center gap-2">
17-
<div className="h-8 w-8 rounded-lg bg-gradient-to-br from-primary via-secondary to-accent" />
18+
<Image
19+
src='/assets/logo2.png'
20+
alt="Logo"
21+
width={20}
22+
height={20}
23+
className="h-10 w-10 object-cover"
24+
/>
1825
<span className="text-xl font-bold text-foreground">TaskChain</span>
1926
</div>
2027

0 commit comments

Comments
 (0)