-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
geekha/refactor footer #12
Closed
Closed
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f62dd27
refactor: update links footer
geekhadev 05770ca
refactor: add props to title component
geekhadev f392a16
refactor: design footer
geekhadev 29cb30a
fix: dinamic height efect blur yellow in bg
geekhadev db678a0
refactor: hover button suscribe and color text in text footer
geekhadev a7829e8
fix: custom responsive
geekhadev b59c7e9
refactor: links and change form suscription for link
geekhadev a86a91e
fix: remove commented out footer code
geekhadev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import { HeaderLink } from "@/components/Header/HeaderLink"; | ||
import { Logo } from "@/components/Icons/Logo"; | ||
import { Title } from "@/components/Icons/Title"; | ||
import { footer, links } from "@/lib/data"; | ||
import { theme } from "@/lib/theme"; | ||
|
||
export function Footer() { | ||
return ( | ||
<footer className="relative z-10 text-white"> | ||
<div className="pointer-events-none absolute inset-0 z-10 hidden w-[60%] bg-gradient-to-r from-transparent via-jsconf-yellow to-transparent opacity-10 md:inline-block"></div> | ||
<div className="pointer-events-none absolute inset-0 z-10 w-[80%] bg-gradient-to-r from-jsconf-yellow via-jsconf-yellow to-transparent opacity-10 md:hidden"></div> | ||
<div className="mx-6 flex flex-col py-14 lg:mx-auto lg:w-11/12 xl:w-8/12"> | ||
<div className="absolute top-0 ml-[25%] w-full rounded-full bg-gradient-to-r from-transparent via-jsconf-yellow to-transparent p-[0.4px] lg:w-[550px]"></div> | ||
<div className="flex w-full flex-col gap-8"> | ||
<div className="grid grid-cols-1 gap-6 px-6 lg:grid-cols-8 lg:gap-8 lg:px-0"> | ||
<div className="col-span-1 flex flex-col items-center gap-4 lg:col-span-2 lg:items-start"> | ||
<div className="flex"> | ||
<a href="/" className="flex items-center gap-3"> | ||
<Logo color={theme?.colors?.jsconfYellow} size="52" /> | ||
<Title width="82" /> | ||
</a> | ||
</div> | ||
<div className="flex items-center text-jsconf-yellow"> | ||
<span>Siguenos: </span> | ||
<div className="ml-2 flex items-center gap-1"> | ||
{links.map((link) => ( | ||
<HeaderLink key={link.id} link={link} /> | ||
))} | ||
</div> | ||
</div> | ||
</div> | ||
<div className="col-span-1 flex flex-col items-center gap-2 lg:col-span-2 lg:items-start"> | ||
<p className="text-xl text-gray-400">Información</p> | ||
{footer.map((link) => ( | ||
<a | ||
key={link.id} | ||
href={link.url} | ||
target="_blank" | ||
rel="noreferrer" | ||
className="hover:text-jsconf-yellow" | ||
> | ||
{link.name} | ||
</a> | ||
))} | ||
</div> | ||
<div className="col-span-1 flex flex-col items-center gap-2 lg:col-span-4 lg:items-end"> | ||
<div className="flex flex-col justify-end gap-2"> | ||
<div className="flex w-full flex-col items-center justify-end gap-2 lg:flex-row"> | ||
<a | ||
target="_blank" | ||
href="https://auth.jschile.org" | ||
className="w-full rounded-lg bg-jsconf-yellow p-2 py-3 text-center text-gray-800 transition-all duration-300 ease-in-out hover:bg-jsconf-red hover:text-white lg:w-36" | ||
> | ||
Suscribirme | ||
</a> | ||
</div> | ||
<p className="text-balance text-center text-sm text-gray-500 lg:text-right"> | ||
Te haremos llegar información y <br /> | ||
actualizaciones de la conferencia. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="flex"> | ||
<p className="w-full text-center text-gray-400"> | ||
Con ❤️ - El equipo JSConf Chile | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,18 +75,17 @@ export const data = [ | |
export const footer = [ | ||
{ | ||
id: 1, | ||
name: "Codigo de Conducta", | ||
url: "https://github.com/jsconfcl/code_of_conduct", | ||
name: "Código de conducta", | ||
url: "https://github.com/JSConfCL/code_of_conduct/blob/main/README.md", | ||
}, | ||
{ id: 2, name: "Contacto", url: "mailto:[email protected]" }, | ||
{ | ||
id: 3, | ||
name: "MIT Licencse - JSConf Chile", | ||
url: "https://github.com/JSConfCL/2024", | ||
id: 2, | ||
name: "Términos y condiciones", | ||
url: "https://github.com/JSConfCL/code_of_conduct/blob/main/terminos_de_servicio/README.md", | ||
}, | ||
{ | ||
id: 4, | ||
name: "Con ❤️ - El equipo JSConf Chile", | ||
url: "https://github.com/jsconfcl", | ||
id: 3, | ||
name: "Política de privacidad", | ||
url: "https://github.com/JSConfCL/code_of_conduct/blob/main/politica_de_privacidad/README.md", | ||
}, | ||
]; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Genial, lo agregué en los nuevos iconos.