Skip to content

Commit 5fdc7a1

Browse files
authored
Merge pull request #10 from codeunia-dev/footerlinks
Updated contact page email link and added target attributes with rel
2 parents 969e060 + 93aed69 commit 5fdc7a1

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

app/contact/page.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,11 @@ export default function ContactPage() {
149149
<Button
150150
variant="outline"
151151
className="w-full hover:scale-105 transition-all duration-300"
152+
asChild
152153
>
153-
codeunia@gmail.com
154+
<a href="mailto:connect@codeunia.com" className="w-full h-full flex items-center justify-center">
155+
connect@codeunia.com
156+
</a>
154157
</Button>
155158
</CardContent>
156159
</Card>

components/footer.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,32 @@ export default function Footer() {
2323
<div className="flex items-center space-x-4">
2424
<Link
2525
href="https://github.com/Codeunia"
26+
target="_blank"
27+
rel="noopener noreferrer"
2628
className="w-10 h-10 bg-gradient-to-br from-gray-800 to-gray-900 dark:from-gray-700 dark:to-gray-800 rounded-lg flex items-center justify-center text-white hover:scale-110 transition-transform shadow-lg hover:shadow-primary/20"
2729
>
2830
<Github className="h-5 w-5" />
2931
</Link>
3032
<Link
3133
href="https://www.instagram.com/codeunia"
34+
target="_blank"
35+
rel="noopener noreferrer"
3236
className="w-10 h-10 bg-gradient-to-br from-blue-600 to-blue-700 rounded-lg flex items-center justify-center text-white hover:scale-110 transition-transform shadow-lg hover:shadow-primary/20"
3337
>
3438
<Instagram className="h-5 w-5" />
3539
</Link>
3640
<Link
3741
href="https://x.com/codeunia"
42+
target="_blank"
43+
rel="noopener noreferrer"
3844
className="w-10 h-10 bg-gradient-to-br from-sky-500 to-sky-600 rounded-lg flex items-center justify-center text-white hover:scale-110 transition-transform shadow-lg hover:shadow-primary/20"
3945
>
4046
<Twitter className="h-5 w-5" />
4147
</Link>
4248
<Link
4349
href="https://www.linkedin.com/company/codeunia"
50+
target="_blank"
51+
rel="noopener noreferrer"
4452
className="w-10 h-10 bg-gradient-to-br from-blue-700 to-blue-800 rounded-lg flex items-center justify-center text-white hover:scale-110 transition-transform shadow-lg hover:shadow-primary/20"
4553
>
4654
<Linkedin className="h-5 w-5" />
@@ -85,24 +93,32 @@ export default function Footer() {
8593
<div className="space-y-3">
8694
<Link
8795
href="https://github.com/Codeunia"
96+
target="_blank"
97+
rel="noopener noreferrer"
8898
className="block text-foreground/80 hover:text-primary transition-colors hover:translate-x-1 transform duration-200"
8999
>
90100
GitHub Projects
91101
</Link>
92102
<Link
93103
href="https://discord.gg/Mhn3tXnJ"
104+
target="_blank"
105+
rel="noopener noreferrer"
94106
className="block text-foreground/80 hover:text-primary transition-colors hover:translate-x-1 transform duration-200"
95107
>
96108
Discord Server
97109
</Link>
98110
<Link
99111
href="https://x.com/codeunia"
112+
target="_blank"
113+
rel="noopener noreferrer"
100114
className="block text-foreground/80 hover:text-primary transition-colors hover:translate-x-1 transform duration-200"
101115
>
102116
Twitter Community
103117
</Link>
104118
<Link
105119
href="https://www.linkedin.com/company/codeunia"
120+
target="_blank"
121+
rel="noopener noreferrer"
106122
className="block text-foreground/80 hover:text-primary transition-colors hover:translate-x-1 transform duration-200"
107123
>
108124
LinkedIn Network

0 commit comments

Comments
 (0)