@@ -18,9 +18,7 @@ const {
1818const h = texts .header ?? {};
1919---
2020
21- <nav
22- class =" w-full bg-base-100 text-base-content border-b border-base-300 transition-transform duration-300 fixed top-0 z-50"
23- >
21+ <nav class =" w-full bg-base-100 text-base-content border-b border-base-300 transition-transform duration-300 fixed top-0 z-50" >
2422 <div class =" mx-auto max-w-screen-2xl px-4 md:px-8 py-2" >
2523 <div class =" flex items-center justify-between" >
2624 <!-- 🔹 ESQUERDA: Logo CPPS + texto -->
@@ -34,131 +32,97 @@ const h = texts.header ?? {};
3432 </a >
3533
3634 <!-- 🔹 MENU DESKTOP -->
37- <ul
38- class =" hidden lg:flex items-center gap-6 text-sm sm:text-base font-semibold"
39- >
35+ <ul class =" hidden lg:flex items-center gap-6 text-sm sm:text-base font-semibold" >
4036 <li >
41- <a class =" hover:text-primary transition" href ={ ` /${lang }/ ` }
42- >{ h .home } </a >
37+ <a class =" hover:text-primary transition" href ={ ` /${lang }/ ` } >
38+ { h .home }
39+ </a >
4340 </li >
4441
42+ <!-- Institucional -->
4543 <li class =" dropdown dropdown-hover group" >
46- <label
47- tabindex =" 0"
48- class =" flex items-center cursor-pointer hover:text-primary transition"
49- >
44+ <label tabindex =" 0" class =" flex items-center cursor-pointer hover:text-primary transition" >
5045 { h .institucional }
51- <svg class =" ml-1 w-3 h-3 fill-current" viewBox =" 0 0 20 20"
52- > <path d =" M5.25 7.75L10 12.5l4.75-4.75" ></ path ></ svg
53- >
46+ <svg class =" ml-1 w-3 h-3 fill-current" viewBox =" 0 0 20 20" >
47+ <path d =" M5.25 7.75L10 12.5l4.75-4.75" />
48+ </ svg >
5449 </label >
55- <ul
56- class =" dropdown-content menu p-2 shadow bg-base-100 text-base-content rounded-sm w-40"
57- >
58- <li >
59- <a
60- href ={ ` /${lang }/${getTranslatedPath (" institucional/sobre" , lang )} ` }
61- >{ h .sobre } </a >
62- </li >
63- <li >
64- <a
65- href ={ ` /${lang }/${getTranslatedPath (" institucional/equipe" , lang )} ` }
66- >{ h .equipe } </a >
67- </li >
68- <li >
69- <a
70- href ={ ` /${lang }/${getTranslatedPath (" institucional/documentos" , lang )} ` }
71- >{ h .documentos } </a >
72- </li >
50+ <ul class =" dropdown-content menu p-2 shadow bg-base-100 text-base-content rounded-sm w-40" >
51+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" institucional/sobre" , lang )} ` } >{ h .sobre } </a ></li >
52+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" institucional/equipe" , lang )} ` } >{ h .equipe } </a ></li >
53+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" institucional/documentos" , lang )} ` } >{ h .documentos } </a ></li >
7354 </ul >
7455 </li >
7556
76- <!-- <li class="dropdown dropdown-hover group">
57+ <!-- Iniciativas -->
58+ <li class =" dropdown dropdown-hover group" >
7759 <label tabindex =" 0" class =" flex items-center cursor-pointer hover:text-primary transition" >
7860 { h .iniciativas }
79- <svg class="ml-1 w-3 h-3 fill-current" viewBox="0 0 20 20"><path d="M5.25 7.75L10 12.5l4.75-4.75" /></svg>
61+ <svg class =" ml-1 w-3 h-3 fill-current" viewBox =" 0 0 20 20" >
62+ <path d =" M5.25 7.75L10 12.5l4.75-4.75" />
63+ </svg >
8064 </label >
81- <ul class="dropdown-content menu p-2 shadow bg-base-100 text-base-content rounded-sm w-40">
82- <li><a href={`/${lang}/${getTranslatedPath("iniciativas/projetos", lang)}`}>{h.projetos}</a></li>
65+ <ul class =" dropdown-content menu p-2 shadow bg-base-100 text-base-content rounded-sm w-64" >
8366 <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/cafe-com-ciencia" , lang )} ` } >{ h .cafe } </a ></li >
84- <li><a href={`/${lang}/${getTranslatedPath("iniciativas/planejamento", lang)}`}>{h.planejamento}</a></li>
67+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/publicacoes" , lang )} ` } >{ h .publicacoes } </a ></li >
68+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/material-de-apoio" , lang )} ` } >{ h .materialDeApoio } </a ></li >
69+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/oficinas" , lang )} ` } >{ h .oficinas } </a ></li >
70+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/projetos" , lang )} ` } >{ h .projetos } </a ></li >
71+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/parcerias" , lang )} ` } >{ h .parcerias } </a ></li >
72+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/solucoes-tecnologicas" , lang )} ` } >{ h .solucoesTecnologicas } </a ></li >
8573 </ul >
86- </li> -->
74+ </li >
8775
88- <!-- <li><a class="hover:text-primary transition" href={`/${lang}/${getTranslatedPath("noticias", lang)}`}>{h.noticias}</a></li> -->
8976 <li ><LanguageSelector lang ={ lang } texts ={ texts } /></li >
9077 <li ><AlterarTema /></li >
9178 <li >
92- <label
93- for =" search-modal"
94- class =" flex items-center cursor-pointer hover:text-primary transition"
95- >
79+ <label for =" search-modal" class =" flex items-center cursor-pointer hover:text-primary transition" >
9680 <IconSearch />
9781 </label >
9882 </li >
9983 </ul >
10084
101- <!-- 🔹 DIREITA: Logo UNESP + círculos -->
85+ <!-- 🔹 DIREITA: Logos -->
10286 <div class =" hidden lg:flex items-center gap-3" >
103- <img
104- id =" logo-unesp"
105- src =" /imagens/logos/logo-unesp02/AV01A.svg"
106- alt =" Logo UNESP"
107- class =" h-16 w-auto"
108- />
109- <img
110- src =" /imagens/logos/cpps/circulos_grade_01.svg"
111- alt =" Círculos decorativos"
112- class =" h-16 w-auto"
113- />
87+ <img id =" logo-unesp" src =" /imagens/logos/logo-unesp02/AV01A.svg" alt =" Logo UNESP" class =" h-16 w-auto" />
88+ <img src =" /imagens/logos/cpps/circulos_grade_01.svg" alt =" Círculos decorativos" class =" h-16 w-auto" />
11489 </div >
11590
11691 <!-- 🔹 BOTÃO HAMBÚRGUER -->
11792 <div class =" lg:hidden" >
118- <button
119- class =" btn btn-ghost"
120- onclick =" document .getElementById (' menu-mobile' ).classList .toggle (' hidden' )"
121- >
122- <svg
123- xmlns =" http://www.w3.org/2000/svg"
124- fill =" none"
125- viewBox =" 0 0 24 24"
126- stroke =" currentColor"
127- class =" w-6 h-6"
128- >
129- <path
130- stroke-linecap =" round"
131- stroke-linejoin =" round"
132- stroke-width =" 2"
133- d =" M4 6h16M4 12h16M4 18h16" ></path >
93+ <button class =" btn btn-ghost" onclick =" document .getElementById (' menu-mobile' ).classList .toggle (' hidden' )" >
94+ <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24" stroke =" currentColor" class =" w-6 h-6" >
95+ <path stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M4 6h16M4 12h16M4 18h16" />
13496 </svg >
13597 </button >
13698 </div >
13799 </div >
138100
139- <!-- 🔹 MENU MOBILE (colapsável) -->
101+ <!-- 🔹 MENU MOBILE -->
140102 <div id =" menu-mobile" class =" lg:hidden hidden mt-2" >
141103 <ul class =" flex flex-col gap-2 text-base font-semibold" >
142104 <li ><a href ={ ` /${lang }/ ` } >{ h .home } </a ></li >
143- <li class = " dropdown dropdown-hover " >
105+ <li >
144106 <details >
145107 <summary class =" cursor-pointer" >{ h .institucional } </summary >
146108 <ul >
147- <li >
148- <a
149- href ={ ` /${lang }/${getTranslatedPath (" institucional/sobre" , lang )} ` }
150- >{ h .sobre } </a >
151- </li >
152- <li >
153- <a
154- href ={ ` /${lang }/${getTranslatedPath (" institucional/equipe" , lang )} ` }
155- >{ h .equipe } </a >
156- </li >
157- <li >
158- <a
159- href ={ ` /${lang }/${getTranslatedPath (" institucional/documentos" , lang )} ` }
160- >{ h .documentos } </a >
161- </li >
109+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" institucional/sobre" , lang )} ` } >{ h .sobre } </a ></li >
110+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" institucional/equipe" , lang )} ` } >{ h .equipe } </a ></li >
111+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" institucional/documentos" , lang )} ` } >{ h .documentos } </a ></li >
112+ </ul >
113+ </details >
114+ </li >
115+ <li >
116+ <details >
117+ <summary class =" cursor-pointer" >{ h .iniciativas } </summary >
118+ <ul >
119+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/cafe-com-ciencia" , lang )} ` } >{ h .cafe } </a ></li >
120+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/publicacoes" , lang )} ` } >{ h .publicacoes } </a ></li >
121+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/material-de-apoio" , lang )} ` } >{ h .materialDeApoio } </a ></li >
122+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/oficinas" , lang )} ` } >{ h .oficinas } </a ></li >
123+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/projetos" , lang )} ` } >{ h .projetos } </a ></li >
124+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/parcerias" , lang )} ` } >{ h .parcerias } </a ></li >
125+ <li ><a href ={ ` /${lang }/${getTranslatedPath (" iniciativas/solucoes-tecnologicas" , lang )} ` } >{ h .solucoesTecnologicas } </a ></li >
162126 </ul >
163127 </details >
164128 </li >
@@ -173,7 +137,7 @@ const h = texts.header ?? {};
173137 </div >
174138 </div >
175139
176- <!-- ✅ Script para troca de logo UNESP no dark mode -->
140+ <!-- 🔹 Script para troca de logo UNESP no dark mode -->
177141 <script is:inline >
178142 document.addEventListener("DOMContentLoaded", () => {
179143 const atualizarLogo = () => {
0 commit comments