Skip to content

Commit

Permalink
changing link of logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Mayoral committed Mar 8, 2024
1 parent 0f0c1b5 commit c594c92
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Binary file added public/cerveza-cristal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 15 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { useState } from "react";
import { Box, CSSReset, Image, Flex, Text, Link } from "@chakra-ui/react";
import { Routes, Route } from "react-router-dom";
import { AuthProvider, FirestoreProvider, useFirebaseApp } from "reactfire";
Expand All @@ -17,6 +18,7 @@ export const App = () => {
const app = useFirebaseApp();
const auth = getAuth();
const firestoreInstance = getFirestore(app);
const [beer, setBeer] = useState(false);

if (process.env.NODE_ENV !== "production") {
try {
Expand Down Expand Up @@ -53,7 +55,19 @@ export const App = () => {
Efecto Tequila{" "}
</Link>
</Text>
<Image ml={1} boxSize="24px" src="et.svg" />
<Link
href="https://www.youtube.com/watch?v=0VXPnBszGCk"
isExternal={true}
onClick={() => {
setBeer(true);
}}
>
{beer ? (
<Image ml={1} boxSize="80px" src="cerveza-cristal.png" />
) : (
<Image ml={1} boxSize="24px" src="et.svg" />
)}
</Link>
</Flex>
</Box>
</FirestoreProvider>
Expand Down

0 comments on commit c594c92

Please sign in to comment.