Skip to content

Commit

Permalink
remove unused prop
Browse files Browse the repository at this point in the history
  • Loading branch information
yuval-hazaz committed Apr 20, 2024
1 parent 8310104 commit 75d529e
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 28 deletions.
2 changes: 0 additions & 2 deletions components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ const Footer = ({ compactView, hideBanner }) => {
};

Footer.propTypes = {
customClass: PropTypes.string,
compactView: PropTypes.bool,
hideBanner: PropTypes.bool,
};

Footer.defaultProps = {
customClass: '',
isLink: false,
hideBanner: false,
};
Expand Down
4 changes: 0 additions & 4 deletions layouts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const MainLayout = ({
children,
hideFooterBanner,
footerCompactView,
footerClass,
paddingTopClasses,
hideTopBar = false
}) => {
Expand All @@ -21,7 +20,6 @@ const MainLayout = ({
<Header hideBar={hideTopBar} />
{children}
<Footer
customClass={footerClass}
compactView={footerCompactView}
hideBanner={hideFooterBanner}
/>
Expand All @@ -33,15 +31,13 @@ MainLayout.propTypes = {
children: PropTypes.node,
hideFooterBanner: PropTypes.bool,
footerCompactView: PropTypes.bool,
footerClass: PropTypes.string,
paddingTopClasses: PropTypes.string,
hideTopBar: PropTypes.bool
};

MainLayout.defaultProps = {
hideFooterBanner: false,
footerCompactView: false,
footerClass: '',
paddingTopClasses: 'laptop:pt-[110px]',
hideTopBar: false
};
Expand Down
1 change: 0 additions & 1 deletion pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ About.getLayout = function getLayout(page) {
return (
<MainLayout
paddingTopClasses="laptop:pt-[100px]"
footerClass="bg-light-blue"
>
{page}
</MainLayout>
Expand Down
1 change: 0 additions & 1 deletion pages/application-modernization.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const ApplicationModernization = () => {
ApplicationModernization.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
hideFooterBanner={true}
hideBackground={true}
>
Expand Down
1 change: 0 additions & 1 deletion pages/break-the-monolith.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const BreakTheMonolith = () => {
BreakTheMonolith.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
hideFooterBanner={true}
hideBackground={true}
>
Expand Down
1 change: 0 additions & 1 deletion pages/build-new-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ const Home = () => {
Home.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
paddingTopClasses="laptop:pt-[100px]"
>
{page}
Expand Down
1 change: 0 additions & 1 deletion pages/code-smart-play-hard.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const CodeSmartPlayHard = () => {
CodeSmartPlayHard.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
hideFooterBanner={true}
hideBackground={true}
>
Expand Down
1 change: 0 additions & 1 deletion pages/code-smart-play-hard/confirmed.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const Confirmed = () => {
Confirmed.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
hideFooterBanner={true}
hideBackground={true}
>
Expand Down
1 change: 0 additions & 1 deletion pages/contact-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ const ContactUs = () => {
ContactUs.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
paddingTopClasses="laptop:pt-[100px]"
hideFooterBanner={true}
>
Expand Down
1 change: 0 additions & 1 deletion pages/developers.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const Home = () => {
Home.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
paddingTopClasses="laptop:pt-[100px]"
>
{page}
Expand Down
1 change: 0 additions & 1 deletion pages/dot-net-early-access.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ const DotNetEarlyAccess = () => {
DotNetEarlyAccess.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
hideFooterBanner={true}
hideBackground={true}
hideTopBar={true}
Expand Down
16 changes: 8 additions & 8 deletions pages/enterprise-low-code-for-pro-developers.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ import IconFreedom from '../public/images/low-code/icon-operational-freedom.svg'
import IconRapid from '../public/images/low-code/icon-rapid.svg';
import Slider from '../components/Sections/Enterprise/Slider';
import WidePanelWithImage from '../components/Common/WidePanelWithImage';
import ImageModernDev from '../public/images/low-code/image-modern-dev.png';
import ImageCode from '../public/images/low-code/image-code.png';
import ImageFullCode from '../public/images/low-code/image-full-code.png';
import ImageForDevelopers from '../public/images/low-code/image-for-developers.png';
import ImageIntegration from '../public/images/low-code/image-integration.png';
import ImagePlugins from '../public/images/low-code/image-plugins.png';

import ImageModernDev from '../public/images/product/image-modern-dev.png';
import ImageCode from '../public/images/product/image-code.png';
import ImageFullCode from '../public/images/product/image-full-code.png';
import ImageForDevelopers from '../public/images/product/image-for-developers.png';
import ImageIntegration from '../public/images/product/image-integration.png';
import ImagePlugins from '../public/images/product/image-plugins.png';

import StartNow from '../components/Sections/About/StartNow';

const cards = [
Expand Down Expand Up @@ -141,7 +143,6 @@ const LowCode = () => {
<CardsList
cards={cards}
title={'DB Schema Import Key Features'}
customClasses={'!bg-transparent'}
/>
<div className="p-4">
{features.map((feature, i) =>
Expand Down Expand Up @@ -180,7 +181,6 @@ const LowCode = () => {
LowCode.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
hideFooterBanner={true}
hideBackground={true}
>
Expand Down
1 change: 0 additions & 1 deletion pages/enterprise.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const Enterprise = () => {
Enterprise.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
hideFooterBanner={true}
hideBackground={true}
>
Expand Down
1 change: 0 additions & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ export const getStaticProps = async () => {
Home.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
paddingTopClasses="laptop:pt-[100px]"
>
{page}
Expand Down
1 change: 0 additions & 1 deletion pages/industries/healthcare.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const Retail = () => {
Retail.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
hideFooterBanner={true}
hideBackground={true}
>
Expand Down
1 change: 0 additions & 1 deletion pages/industries/manufacturing.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const Retail = () => {
Retail.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
hideFooterBanner={true}
hideBackground={true}
>
Expand Down
1 change: 0 additions & 1 deletion pages/industries/retail.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const Retail = () => {
Retail.getLayout = function getLayout(page) {
return (
<MainLayout
footerClass="bg-light-blue"
hideFooterBanner={true}
hideBackground={true}
>
Expand Down

0 comments on commit 75d529e

Please sign in to comment.