Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasbozdemir committed May 16, 2024
1 parent 5cabe33 commit e26f192
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions components/shared/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -330,15 +330,24 @@ function LargeWithLogoCentered() {
}

const FooterData = () => {
const startYear = 2023;
const startYear = 2024;
const currentYear = new Date().getFullYear();
let yearText;
if (currentYear > startYear) {
yearText = `${startYear}-${currentYear}`;
} else {
yearText = `${startYear}`;
}
return <> {yearText} Fake Company Name Yazılım &copy; Tüm Hakları Saklıdır.</>;

const utmParameters = '?utm_source=enterprisesoftware&utm_medium=footer&utm_campaign=yourcampaign';

return (
<>
<Link href={`https://ilyasbozdemir.dev/${utmParameters}`} target={'_blank'}>
<>{yearText} İlyas Bozdemir &copy; Tüm Hakları Saklıdır.</>
</Link>
</>
);
};

export default React.memo(LargeWithLogoCentered);

0 comments on commit e26f192

Please sign in to comment.