Skip to content

Commit 5dbdd87

Browse files
committed
add email
1 parent f137cce commit 5dbdd87

File tree

5 files changed

+246
-216
lines changed

5 files changed

+246
-216
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
"dc:up": "docker compose up --build --force-recreate -d"
3232
},
3333
"dependencies": {
34-
"@astrojs/mdx": "^4.2.5",
34+
"@astrojs/mdx": "^4.2.6",
3535
"@astrojs/partytown": "^2.1.4",
36-
"@astrojs/react": "^4.2.5",
36+
"@astrojs/react": "^4.2.7",
3737
"@astrojs/sitemap": "^3.3.1",
3838
"@astrojs/tailwind": "^5.1.5",
3939
"@fontsource-variable/inter": "^5.2.5",
40-
"astro": "^5.7.5",
40+
"astro": "^5.7.10",
4141
"astro-embed": "^0.9.0",
4242
"astro-expressive-code": "^0.41.2",
4343
"astro-icon": "^1.1.5",
@@ -76,9 +76,9 @@
7676
"@types/lodash.debounce": "^4.0.9",
7777
"@types/mdast": "^4.0.3",
7878
"@types/react": "^19.1.2",
79-
"@types/react-dom": "^19.1.1",
80-
"@typescript-eslint/eslint-plugin": "^8.31.0",
81-
"@typescript-eslint/parser": "^8.31.0",
79+
"@types/react-dom": "^19.1.3",
80+
"@typescript-eslint/eslint-plugin": "^8.31.1",
81+
"@typescript-eslint/parser": "^8.31.1",
8282
"eslint": "8.57.0",
8383
"eslint-config-prettier": "^10.1.2",
8484
"eslint-mdx": "^3.4.1",

src/components/Footer.astro

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { getLatestCommitInfo } from '@/libs/git';
88
import { shortDate } from '@/utils/datetime';
99
import { limitString, trimHttpProtocol } from '@/utils/strings';
1010
11-
const { SITE_URL, AUTHOR_LINKEDIN, AUTHOR_GITHUB, REPO_URL } = CONFIG_CLIENT;
11+
const { SITE_URL, AUTHOR_EMAIL, AUTHOR_GITHUB, AUTHOR_LINKEDIN, REPO_URL } = CONFIG_CLIENT;
1212
const domain = trimHttpProtocol(SITE_URL);
1313
const messageLength = 15 as const;
1414
@@ -41,6 +41,17 @@ const trimmedMessage = limitString(message, messageLength);
4141

4242
<!-- right column -->
4343
<ul class="flex gap-2 flex-wrap xs:flex-nowrap lg:items-center">
44+
<li>
45+
<Link
46+
href={`mailto:${AUTHOR_EMAIL}`}
47+
title="Nemanja's email"
48+
class="flex items-center gap-2 text-base xs:text-lg"
49+
variant="nav"
50+
>
51+
<Icon name="mdi:email-outline" class="h-6 w-6 fill-current" />
52+
<span>Email</span>
53+
</Link>
54+
</li>
4455
<li>
4556
<Link
4657
href={AUTHOR_GITHUB}

src/config/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const configClientData: ConfigClientType = {
2121
DEFAULT_MODE: 'light',
2222
DEFAULT_THEME: 'default-light',
2323
AUTHOR_NAME: 'Nemanja Mitic',
24-
AUTHOR_EMAIL: 'email@email.com', // todo: use email
24+
AUTHOR_EMAIL: 'nemanja.mitic.elfak@hotmail.com',
2525
AUTHOR_GITHUB: 'https://github.com/nemanjam',
2626
AUTHOR_LINKEDIN: 'https://www.linkedin.com/in/nemanja-mitic',
2727
AUTHOR_TWITTER: 'https://x.com/nemanja_codes',

src/pages/about.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ import LinkWithLabel from '../components/LinkWithLabel.astro';
1212
import Electronics1Image from '../assets/images/all-images/electronics1.jpg';
1313

1414

15-
export const { AUTHOR_GITHUB, AUTHOR_LINKEDIN, AUTHOR_TWITTER, AUTHOR_YOUTUBE } = CONFIG_CLIENT;
15+
export const { AUTHOR_EMAIL, AUTHOR_GITHUB, AUTHOR_LINKEDIN, AUTHOR_TWITTER, AUTHOR_YOUTUBE } = CONFIG_CLIENT;
16+
17+
export const authorEmailHref = `mailto:${AUTHOR_EMAIL}`;
1618

1719
{/* bellow SM image is full width of content so higher resolution image */}
1820
export const imageSizes = {
@@ -30,6 +32,7 @@ My hobbies are fishing, lure building, bicycling, playing guitar, composing in F
3032

3133
If you want to contact me about coding, or if you need a companion for fishing or jamming, use the links below.
3234

35+
<LinkWithLabel label="Email" href={authorEmailHref} title="Author's email" variant="link" >{AUTHOR_EMAIL}</LinkWithLabel>
3336
<LinkWithLabel label="GitHub" href={AUTHOR_GITHUB} title="Author GitHub profile" variant="link" />
3437
<LinkWithLabel label="LinkedIn" href={AUTHOR_LINKEDIN} title="Author LinkedIn profile" variant="link" />
3538
<LinkWithLabel label="Twitter" href={AUTHOR_TWITTER} title="Author Twitter profile" variant="link" />

0 commit comments

Comments
 (0)