-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
189 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
LOG_LEVEL=info | ||
REACT_EDITOR=code | ||
API_URL="http://localhost:3000/api" | ||
# update below values in .env.local | ||
JSON_RESUME_URL="" | ||
GOOGLE_MAPS_KEY="" | ||
GOOGLE_API_KEY="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { LocationSchema } from "@/app/_utils/schemas"; | ||
|
||
interface LocationProps { | ||
location: LocationSchema; | ||
} | ||
|
||
export default function Location(props: LocationProps) { | ||
const { location } = props; | ||
|
||
return ( | ||
<div role="none" className="h-screen flex justify-center items-center"> | ||
<div> | ||
<iframe | ||
width="600" | ||
height="450" | ||
style={{ border: 0 }} | ||
src={`https://www.google.com/maps/embed/v1/place?q=${location.city},${location.state},${location.country}&key=${servercon}`} | ||
/> | ||
</div> | ||
<div> | ||
{location.city}, {location.state}{" "} | ||
{location.country && `(${location.country})`} | ||
</div> | ||
</div> | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { SocialIcon } from "react-social-icons"; | ||
|
||
interface SocialsProps { | ||
social_urls?: string[]; | ||
} | ||
|
||
export default function Socials(props: SocialsProps) { | ||
const { social_urls } = props; | ||
|
||
return ( | ||
<div className="container inline-flex"> | ||
{social_urls?.map((url, index) => { | ||
return ( | ||
<> | ||
<SocialIcon | ||
url={ | ||
url.includes("@") && !url.startsWith("mailto:") | ||
? `mailto:${url}` | ||
: url | ||
} | ||
key={index} | ||
aria-hidden="true" | ||
style={{ | ||
width: "1.25rem", | ||
height: "1.25rem", | ||
marginLeft: "0.25rem", | ||
}} | ||
className="hover:opacity-50" | ||
/> | ||
</> | ||
); | ||
})} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
export const logger = require("pino")(); | ||
import pino from "pino"; | ||
|
||
export const logger = pino({ | ||
level: process.env.LOG_LEVEL || "info", | ||
base: null, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.