Skip to content

Commit

Permalink
fix color in link grid (#710)
Browse files Browse the repository at this point in the history
* fix color in link grid

* update links to social card and dev office hours

* point network upgrade to migration docs

* udpate gpt link

* fix styling of pill button

* change to working groups
  • Loading branch information
bthaile authored Apr 5, 2024
1 parent 3273bb1 commit 209aeac
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ export function HomepagePillItem({
}: HomepagePillItemsProps): React.ReactElement {
return (
<AppLink
className="flex px-3 py-2 cursor-pointer gap-4 rounded-custom text-black hover:no-underline hover:text-black hover:bg-primary-gray-10 bg-white justify-start items-center hover:border-black"
className="flex py-3 pl-3 cursor-pointer rounded-custom text-black hover:no-underline hover:text-black hover:bg-primary-gray-10 bg-white justify-start items-center hover:border-black"
to={link}
>
<HomepageStartItemIcons icon={icon} />
<div className="relative group align-center">
<div className="relative group align-center mx-2">
<div className="flex text-semibold group-hover:translate-y-[-10px] transition-transform duration-200 ease-in-out">
<span className="text-center">{text}</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ const homepageData: Record<string, HomepageStartItemProps> = {

const homepagePillData: Record<string, HomepagePillItemsProps> = {
'dev-office-hours': {
link: 'https://calendar.google.com/calendar/ical/c_47978f5cd9da636cadc6b8473102b5092c1a865dd010558393ecb7f9fd0c9ad0%40group.calendar.google.com/public/basic.ics',
link: 'https://github.com/onflow/Flow-Working-Groups#Calendar',
icon: 'dev-office-hours',
text: 'Dev Office Hours',
subText: 'Join the call',
text: 'Working Groups',
subText: 'Get involved',
},
'flow-assistant': {
link: '/tools/flow-cli',
link: 'https://chat.openai.com/g/g-lt4a6jvfj-flow-cadence-1-0-migration-helper',
icon: 'flow-assistant-gpt',
text: 'Flow Assistant GPT',
subText: 'Check it out',
Expand All @@ -47,7 +47,7 @@ const homepagePillData: Record<string, HomepagePillItemsProps> = {
subText: 'Chat with devs',
},
'network-upgrade': {
link: '/build/flow',
link: 'https://cadence-lang.org/docs/1.0/cadence-migration-guide/',
icon: 'network-upgrade',
text: 'Network Upgrade',
subText: 'View latest',
Expand Down
4 changes: 2 additions & 2 deletions src/ui/design-system/src/lib/Components/LinkGrid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const SectionCard = ({
className="border-none bg-transparent font-semibold hover:underline mt-auto py-5"
>
<span className="md:hidden">View All</span>
<span className="hidden md:block text-primary-gray-600 hover:text-primary-green dark:hover:text-green-dark">
<span className="hidden md:block text-primary-gray-300 hover:text-primary-green dark:hover:text-green-dark">
More
</span>
</a>
Expand All @@ -186,7 +186,7 @@ export const LinkGrid = (): React.ReactNode => (
href="/build/flow"
className="hover:no-underline text-primary-gray-600 hover:text-primary-gray-600"
>
<div className="px-6 flex items-center gap-2 font-semibold hover:opacity-80 hover:cursor-pointer hover:no-underline">
<div className="px-6 flex items-center gap-2 font-semibold hover:opacity-80 hover:cursor-pointer hover:no-underline text-primary-gray-300 ">
Read Docs
<ReadDocs className="hidden md:block stroke-current" />
<ArrowRight className="md:hidden stroke-current" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const socialCardData = [
{
icon: 'github',
title: 'GitHub',
subText: 'Connect at @flow_blockchain',
subText: 'Connect at @onflow',
url: 'https://github.com/onflow',
},
];
Expand Down

0 comments on commit 209aeac

Please sign in to comment.