SherlockRamos commited on
Commit
fbac003
·
verified ·
1 Parent(s): 05dd173

Upload components/Footer.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/Footer.js +70 -23
components/Footer.js CHANGED
@@ -1,34 +1,50 @@
1
  import Link from 'next/link'
2
- import { HiSparkles, HiMail, HiPhone } from 'react-icons/hi'
3
 
4
  export default function Footer() {
 
 
 
 
 
 
5
  return (
6
- <footer className="bg-gray-900 text-white">
7
  <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
8
  <div className="grid grid-cols-1 md:grid-cols-4 gap-8">
9
  {/* Brand */}
10
  <div className="col-span-1 md:col-span-2">
11
- <div className="flex items-center space-x-2 mb-4">
12
- <div className="bg-primary-600 p-2 rounded-lg">
13
- <HiSparkles className="h-6 w-6 text-white" />
14
  </div>
15
  <div>
16
  <span className="text-xl font-bold">AI.Wiki.BR</span>
17
  <p className="text-sm text-gray-400">Por Prof. Gabriel Ramos</p>
18
  </div>
19
  </div>
20
- <p className="text-gray-300 mb-4 max-w-md">
21
  Transformando a prática jurídica e administrativa através da Inteligência Artificial.
22
  Aprenda como usar IA no seu dia a dia profissional e nos estudos.
23
  </p>
24
- <div className="space-y-2">
25
- <div className="flex items-center space-x-2 text-sm text-gray-400">
26
- <HiMail className="h-4 w-4" />
27
- <span>contato@ai.wiki.br</span>
 
 
 
 
 
28
  </div>
29
- <div className="flex items-center space-x-2 text-sm text-gray-400">
30
- <HiPhone className="h-4 w-4" />
31
- <span>+55 (11) 99999-9999</span>
 
 
 
 
 
32
  </div>
33
  </div>
34
  </div>
@@ -36,26 +52,48 @@ export default function Footer() {
36
  {/* Quick Links */}
37
  <div>
38
  <h3 className="text-lg font-semibold mb-4">Links Rápidos</h3>
39
- <ul className="space-y-2">
40
  <li>
41
- <Link href="/" className="text-gray-300 hover:text-white transition-colors duration-200">
 
 
 
42
  Início
43
  </Link>
44
  </li>
45
  <li>
46
- <Link href="/prompts" className="text-gray-300 hover:text-white transition-colors duration-200">
 
 
 
47
  Biblioteca de Prompts
48
  </Link>
49
  </li>
50
  <li>
51
- <Link href="#sobre" className="text-gray-300 hover:text-white transition-colors duration-200">
 
 
 
 
 
 
 
 
52
  Sobre o Professor
53
- </Link>
54
  </li>
55
  <li>
56
- <Link href="#contato" className="text-gray-300 hover:text-white transition-colors duration-200">
 
 
 
 
 
 
 
 
57
  Contato
58
- </Link>
59
  </li>
60
  </ul>
61
  </div>
@@ -63,7 +101,7 @@ export default function Footer() {
63
  {/* Categories */}
64
  <div>
65
  <h3 className="text-lg font-semibold mb-4">Áreas de Atuação</h3>
66
- <ul className="space-y-2">
67
  <li>
68
  <span className="text-gray-300">Escritórios Jurídicos</span>
69
  </li>
@@ -80,10 +118,10 @@ export default function Footer() {
80
  </div>
81
  </div>
82
 
83
- <div className="border-t border-gray-800 mt-8 pt-8">
84
  <div className="flex flex-col md:flex-row justify-between items-center">
85
  <p className="text-gray-400 text-sm">
86
- © 2024 AI.Wiki.BR. Todos os direitos reservados.
87
  </p>
88
  <p className="text-gray-400 text-sm mt-2 md:mt-0">
89
  Desenvolvido com ❤️ para a comunidade jurídica e administrativa brasileira
@@ -91,6 +129,15 @@ export default function Footer() {
91
  </div>
92
  </div>
93
  </div>
 
 
 
 
 
 
 
 
 
94
  </footer>
95
  )
96
  }
 
1
  import Link from 'next/link'
2
+ import { HiSparkles, HiMail, HiPhone, HiArrowUp } from 'react-icons/hi'
3
 
4
  export default function Footer() {
5
+ const scrollToTop = () => {
6
+ window.scrollTo({ top: 0, behavior: 'smooth' })
7
+ }
8
+
9
+ const currentYear = new Date().getFullYear()
10
+
11
  return (
12
+ <footer className="bg-gray-900 text-white" role="contentinfo">
13
  <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
14
  <div className="grid grid-cols-1 md:grid-cols-4 gap-8">
15
  {/* Brand */}
16
  <div className="col-span-1 md:col-span-2">
17
+ <div className="flex items-center space-x-3 mb-4">
18
+ <div className="bg-primary-600 p-2 rounded-xl">
19
+ <HiSparkles className="h-6 w-6 text-white" aria-hidden="true" />
20
  </div>
21
  <div>
22
  <span className="text-xl font-bold">AI.Wiki.BR</span>
23
  <p className="text-sm text-gray-400">Por Prof. Gabriel Ramos</p>
24
  </div>
25
  </div>
26
+ <p className="text-gray-300 mb-6 max-w-md leading-relaxed">
27
  Transformando a prática jurídica e administrativa através da Inteligência Artificial.
28
  Aprenda como usar IA no seu dia a dia profissional e nos estudos.
29
  </p>
30
+ <div className="space-y-3">
31
+ <div className="flex items-center space-x-3 text-sm text-gray-400">
32
+ <HiMail className="h-4 w-4 flex-shrink-0" aria-hidden="true" />
33
+ <a
34
+ href="mailto:contato@ai.wiki.br"
35
+ className="hover:text-white transition-colors duration-200 focus:ring-2 focus:ring-primary-300 rounded"
36
+ >
37
+ contato@ai.wiki.br
38
+ </a>
39
  </div>
40
+ <div className="flex items-center space-x-3 text-sm text-gray-400">
41
+ <HiPhone className="h-4 w-4 flex-shrink-0" aria-hidden="true" />
42
+ <a
43
+ href="tel:+5511999999999"
44
+ className="hover:text-white transition-colors duration-200 focus:ring-2 focus:ring-primary-300 rounded"
45
+ >
46
+ +55 (11) 99999-9999
47
+ </a>
48
  </div>
49
  </div>
50
  </div>
 
52
  {/* Quick Links */}
53
  <div>
54
  <h3 className="text-lg font-semibold mb-4">Links Rápidos</h3>
55
+ <ul className="space-y-3">
56
  <li>
57
+ <Link
58
+ href="/"
59
+ className="text-gray-300 hover:text-white transition-colors duration-200 focus:ring-2 focus:ring-primary-300 rounded"
60
+ >
61
  Início
62
  </Link>
63
  </li>
64
  <li>
65
+ <Link
66
+ href="/prompts"
67
+ className="text-gray-300 hover:text-white transition-colors duration-200 focus:ring-2 focus:ring-primary-300 rounded"
68
+ >
69
  Biblioteca de Prompts
70
  </Link>
71
  </li>
72
  <li>
73
+ <a
74
+ href="#sobre"
75
+ className="text-gray-300 hover:text-white transition-colors duration-200 focus:ring-2 focus:ring-primary-300 rounded"
76
+ onClick={(e) => {
77
+ e.preventDefault()
78
+ const element = document.querySelector('#sobre')
79
+ if (element) element.scrollIntoView({ behavior: 'smooth' })
80
+
81
+ >
82
  Sobre o Professor
83
+ </a>
84
  </li>
85
  <li>
86
+ <a
87
+ href="#contato"
88
+ className="text-gray-300 hover:text-white transition-colors duration-200 focus:ring-2 focus:ring-primary-300 rounded"
89
+ onClick={(e) => {
90
+ e.preventDefault()
91
+ const element = document.querySelector('#contato')
92
+ if (element) element.scrollIntoView({ behavior: 'smooth' })
93
+
94
+ >
95
  Contato
96
+ </a>
97
  </li>
98
  </ul>
99
  </div>
 
101
  {/* Categories */}
102
  <div>
103
  <h3 className="text-lg font-semibold mb-4">Áreas de Atuação</h3>
104
+ <ul className="space-y-3">
105
  <li>
106
  <span className="text-gray-300">Escritórios Jurídicos</span>
107
  </li>
 
118
  </div>
119
  </div>
120
 
121
+ <div className="border-t border-gray-800 mt-12 pt-8">
122
  <div className="flex flex-col md:flex-row justify-between items-center">
123
  <p className="text-gray-400 text-sm">
124
+ © {currentYear} AI.Wiki.BR. Todos os direitos reservados.
125
  </p>
126
  <p className="text-gray-400 text-sm mt-2 md:mt-0">
127
  Desenvolvido com ❤️ para a comunidade jurídica e administrativa brasileira
 
129
  </div>
130
  </div>
131
  </div>
132
+
133
+ {/* Scroll to top button */}
134
+ <button
135
+ onClick={scrollToTop}
136
+ className="fixed bottom-6 right-6 bg-primary-600 hover:bg-primary-700 text-white p-3 rounded-full shadow-hard hover:shadow-medium transition-all duration-200 focus:ring-4 focus:ring-primary-200 z-40"
137
+ aria-label="Voltar ao topo"
138
+ >
139
+ <HiArrowUp className="h-5 w-5" aria-hidden="true" />
140
+ </button>
141
  </footer>
142
  )
143
  }