Skip to content
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

Footer tooltips #245

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 36 additions & 29 deletions client/src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react";
import {
Tooltip,
Box,
IconButton,
useColorModeValue,
Expand Down Expand Up @@ -32,35 +33,41 @@ const Footer: React.FC = () => {
</Box>
<Box>
<Stack direction="row" spacing={6}>
<IconButton
as="a"
href="https://facebook.com/yourhandle"
aria-label="Facebook"
icon={<FaFacebook />}
variant="link"
size="lg"
_hover={{
color: useColorModeValue("facebook.600", "facebook.400"),
}}
/>
<IconButton
as="a"
href="https://twitter.com/yourhandle"
aria-label="Twitter"
icon={<FaTwitter />}
variant="link"
size="lg"
_hover={{ color: useColorModeValue("blue.600", "blue.400") }}
/>
<IconButton
as="a"
href="https://instagram.com/yourhandle"
aria-label="Instagram"
icon={<FaInstagram />}
variant="link"
size="lg"
_hover={{ color: useColorModeValue("#C13584", "#C13584") }}
/>
<Tooltip label="Coming Soon" aria-label="Facebook Coming Soon">
<IconButton
as="a"
// href="https://facebook.com"
aria-label="Facebook"
icon={<FaFacebook />}
variant="link"
size="lg"
_hover={{
color: useColorModeValue("facebook.600", "facebook.400"),
}}
/>
</Tooltip>
<Tooltip label="Coming Soon" aria-label="Twitter Coming Soon">
<IconButton
as="a"
// href="https://twitter.com"
aria-label="Twitter"
icon={<FaTwitter />}
variant="link"
size="lg"
_hover={{ color: useColorModeValue("blue.600", "blue.400") }}
/>
</Tooltip>
<Tooltip label="Coming Soon" aria-label="Instagram Coming Soon">
<IconButton
as="a"
// href="https://instagram.com/"
aria-label="Instagram"
icon={<FaInstagram />}
variant="link"
size="lg"
_hover={{ color: useColorModeValue("#C13584", "#C13584") }}
/>
</Tooltip>
</Stack>
</Box>
</Flex>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/StackedCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const StackedCards: React.FC = () => {
<p className="mt-1">Time Estimate: 90 Minutes</p>
<p className="mt-1">Column: Backlog</p>
</div>
<div className="relative z-10 p-4 lg:w-80 md:w-80 shadow-md rounded-lg -right-8 lg:-right-20 lg:-top-32"
<div className="relative z-10 p-4 lg:w-80 md:w-80 shadow-md rounded-lg -right-8 lg:-right-20 lg:-top-36"
style={{ backgroundColor: "#bee3f8" }}
>
<h2 className="text-lg font-bold mb-2">Merge Sort</h2>
Expand Down