Skip to content

Commit

Permalink
date
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichmax committed Jan 31, 2024
1 parent 501ce84 commit 9576a6f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const securityHeaders = [
]

module.exports = {
output: "standalone",
//output: "standalone",
images: {
loader: "custom",
loaderFile: "./src/utils/loader.js",
Expand Down
7 changes: 3 additions & 4 deletions pages/now.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ export default function Now({ weather, address, content, now }) {
}
}

const options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric', hour: "numeric", minute: "numeric" };
const today = new Date().toLocaleDateString("en-US", options);
return (
<>
<Layout>
Expand Down Expand Up @@ -150,10 +152,7 @@ export default function Now({ weather, address, content, now }) {
</TextWrapper>
<Disclaimer>
Last updated on{" "}
{format(
fromUnixTime(new Date()),
"H:mm, dd'th' MMMM yyyy '('O')'"
).replace("-", " ")}
{today}
.
</Disclaimer>
</Container>
Expand Down
Binary file modified public/wallpaper/backgroundImage.webp
Binary file not shown.
10 changes: 5 additions & 5 deletions src/components/cv/cv.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const SubTitle = styled.h2`
const SmallBio = styled.p`
margin-bottom: 16px;
padding-bottom: 16px;
border-bottom: 2px solid var(--thirdy-color);
border-bottom: 2px solid var(--primary-color);
font-size: 12px;
`

Expand Down Expand Up @@ -88,7 +88,7 @@ const Col2 = styled.div`
const ColTitle = styled.h3`
font-weight: 600;
font-size: 12px;
color: var(--secondary-color);
color: var(--thirdy-color);
text-transform: uppercase;
margin-bottom: 4px;
letter-spacing: 1.25px;
Expand All @@ -105,7 +105,7 @@ const SkillGrid = styled.div`
const TimelineItem = styled.div`
margin-bottom: 16px;
padding-bottom: 16px;
border-bottom: 2px solid var(--thirdy-color);
border-bottom: 2px solid var(--primary-color);
`

const TimelineTitle = styled.h4`
Expand All @@ -124,14 +124,14 @@ const TimelineLongDescription = styled.div`
`

const TimelineTags = styled.p`
color: var(--secondary-color);
color: var(--thirdy-color);
font-weight: 600;
`

const Col1Item = styled.div`
margin-bottom: 16px;
padding-bottom: 16px;
border-bottom: 2px solid var(--thirdy-color);
border-bottom: 2px solid var(--primary-color);
`

const Education = styled.div`
Expand Down

0 comments on commit 9576a6f

Please sign in to comment.