Skip to content

Commit

Permalink
fixing lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese authored and pookmish committed Apr 18, 2024
1 parent 4188a64 commit ee151ab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 174 deletions.
37 changes: 6 additions & 31 deletions .storybook/stories/config-pages/LocalFooter.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ const meta: Meta<ComponentStoryProps> = {
component: LocalFooter,
tags: ['autodocs'],
argTypes: {
suLocalFootLocOp: {
description: "Lockup Options",
options: ['a', 'b', 'd', 'e', 'h', 'i', 'm', 'o', 'p', 'r', 's', 't', 'none'],
control: {type: "select"}
},
suFooterEnabled: {control: "boolean"}
}
};
Expand All @@ -31,49 +26,29 @@ export const LocalFooterDisplay: Story = {
{title: "Action link 1", url: "https://localhost", internal: false},
{title: "Action link 2", url: "https://localhost", internal: false}
],
suLocalFootAddress: {
additionalName: "additional_name",
addressLine1: "address_line1",
addressLine2: "address_line2",
administrativeArea: "administrative_area",
country: {code: "country_code"},
familyName: "family_name",
givenName: "given_name",
locality: "locality",
organization: "organization",
postalCode: "postal_code",
sortingCode: "sorting_code",
},
suLocalFootFButton: "suLocalFoot_f_button",
suLocalFootFIntro: {processed: "suLocalFoot_f_intro"},
suLocalFootFMethod: "suLocalFoot_f_method",
suLocalFootFUrl: {title: "Form Action url", url: "https://localhost", internal: false},
suLocalFootLine1: "suLocalFoot_line_1",
suLocalFootLine2: "suLocalFoot_line_2",
suLocalFootLine3: "suLocalFoot_line_3",
suLocalFootLine4: "suLocalFoot_line_4",
suLocalFootLine5: "suLocalFoot_line_5",
suLocalFootLocImg: null,
suLocalFootLocLink: {title: "suLocalFoot_loc_link", url: "https://localhost", internal: false},
suLocalFootPrCo: {processed: "suLocalFoot_pr_co"},
suLocalFootPrCo: {processed: "First Content Block"},
suLocalFootPrimary: [
{title: "Primary link 1", url: "https://localhost", internal: false},
{title: "Primary link 2", url: "https://localhost", internal: false}
],
suLocalFootPrimeH: "suLocalFoot_prime_h",
suLocalFootSeCo: {processed: "suLocalFoot_se_co"},
suLocalFootPrimeH: "Primary Links Header",
suLocalFootSeCo: {processed: "Second Content Block"},
suLocalFootSecond: [
{title: "Second Link 1", url: "https://localhost", internal: false},
{title: "Second Link 2", url: "https://localhost", internal: false}
],
suLocalFootSecondH: "suLocalFoot_second_h",
suLocalFootSecondH: "Secondary Links Header",
suLocalFootSocial: [
{title: "Facebook", url: "https://localhost", internal: false},
{title: "YouTube", url: "https://localhost", internal: false}
],
suLocalFootSunetT: "suLocalFoot_sunet_t",
suLocalFootTr2Co: {processed: "suLocalFoot_tr2_co"},
suLocalFootTrCo: {processed: "suLocalFoot_tr_co"},
suLocalFootTr2Co: {processed: "Third Content Block"},
suLocalFootTrCo: {processed: "Fourth Content Block"},
suLocalFootUseLoc: true,
suLocalFootUseLogo: true,
suLocalFootLocOp: "suLocalFoot_loc_op",
Expand Down
142 changes: 0 additions & 142 deletions .storybook/stories/elements/lockup/Lockup.stories.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/elements/lockup/lockup-logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Maybe} from "@lib/gql/__generated__/drupal.d";
import PressFooterLogoLg from "@components/images/logo-lg";
import PressFooterLogoXs from "@components/images/logo-xs";

const LockupLogo = ({logoUrl, siteName = ""}: { logoUrl?: Maybe<string>, siteName?: Maybe<string> }) => {
const LockupLogo = ({logoUrl}: { logoUrl?: Maybe<string>, siteName?: Maybe<string> }) => {

return (
<>
Expand Down

0 comments on commit ee151ab

Please sign in to comment.