Skip to content

Commit

Permalink
🔧 add website and dynamic year
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoventurini committed Nov 13, 2021
1 parent b9b841b commit b3327ef
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/Pages/Panel/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ import React, { FunctionComponent } from 'react'

interface Props {
isAboutVisible: boolean

onClose(): void
}

const YEAR = new Date().getFullYear()

export const About: FunctionComponent<Props> = ({
isAboutVisible,
onClose,
Expand Down Expand Up @@ -98,7 +101,16 @@ export const About: FunctionComponent<Props> = ({

<p>The MIT License (MIT)</p>

<p>Copyright (c) 2020 Leonardo Venturini</p>
<p>
Copyright (c) {YEAR}{' '}
<a
href='https://leonardoventurini.tech'
target='_blank'
rel='noopener noreferrer'
>
Leonardo Venturini
</a>
</p>

<p>
Permission is hereby granted, free of charge, to any person
Expand Down

0 comments on commit b3327ef

Please sign in to comment.