Quietly embed version to homepage
This commit is contained in:
@@ -65,14 +65,23 @@ const HomePage = () => (
|
||||
</div>
|
||||
</div>
|
||||
<div className="fixed bottom-2 left-2 z-10">
|
||||
<a
|
||||
href="https://git.altaiar.dev/ahmed/portfolio"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="btn btn-square"
|
||||
<div
|
||||
className="tooltip tooltip-right"
|
||||
data-tip={process.env.APP_VERSION || ''}
|
||||
>
|
||||
{getLogoComponent('gitea')}
|
||||
</a>
|
||||
<a
|
||||
href={
|
||||
process.env.APP_VERSION.length > 0
|
||||
? `https://git.altaiar.dev/ahmed/portfolio/releases/tag/${process.env.APP_VERSION}`
|
||||
: 'https://git.altaiar.dev/ahmed/portfolio'
|
||||
}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="btn btn-square"
|
||||
>
|
||||
{getLogoComponent('gitea')}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user