Skip to content

Commit

Permalink
Update the UI a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyef committed Aug 21, 2022
1 parent 167fe87 commit c6878c9
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
4 changes: 4 additions & 0 deletions src/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ const FOOTER_LINKS: FooterSection[] = [
label: 'Uses',
href: '/uses',
},
{
label: 'Thoughts',
href: '/thoughts',
},
],
},
{
Expand Down
27 changes: 21 additions & 6 deletions src/pages/thoughts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { Paragraph } from '@/components/Typography/Paragraph';
import { SectionTitle } from '@/components/Typography/SectionTitle';
import { SkipSSR } from '@/components/SkipSSR';
import { getAllThoughtPages } from '@/blog/getAllThoughtPages';
import { LightButton } from '@/components/common/Button/LightButton';

import { getRelativeTimeFromNow } from '@/utils/datetime/getRelativeTime';

Expand Down Expand Up @@ -42,12 +43,7 @@ const ThoughtsIndexPage: NextPage<Props> = ({ thoughts }) => {
when I felt like I was getting asked similar questions quite often.
Instead of answering them with a similar answer everytime, why not
compile them at one place so they can be easily discoverable and
shareable? It&apos;s kinda like{' '}
<ExternalLink href="https://reactjs.org/docs/error-decoder.html/?invariant=425">
React error page
</ExternalLink>
, where you can find answer for specific invariant error code, but for
topics instead!
shareable?
</Paragraph>

<Paragraph></Paragraph>
Expand All @@ -69,6 +65,25 @@ const ThoughtsIndexPage: NextPage<Props> = ({ thoughts }) => {
</Paragraph>
</Panel>

<Panel
type="primary"
title="Got topics you would like to hear my thought of?"
>
<Paragraph className="text-inherit">
If you have some topics you would like to hear my thoughts of, feel
free to submit an issue on the GitHub repository!
</Paragraph>

<div className="mx-auto mb-4">
<ExternalLink
isNotFancy
href="https://github.com/jackyef/my-site/issues/new"
>
<LightButton variant="primary">Submit an issue</LightButton>
</ExternalLink>
</div>
</Panel>

<HorizontalDivider />

<SectionTitle>Topics</SectionTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ to try understanding this process from the perspective of the employer, so
that's what I am going to talk about here.

In general, companies are hiring because they need people to contribute to their
company. If it sounds obvious, because it is! Contributing comes in many forms,
company. If it sounds obvious, that's because it is! Contributing comes in many forms,
depending on the company and the expectation of the job. To simplify, let's just
say contributing basically means providing values to the company. So
essentially, when a company is hiring, they are looking for people who they
Expand Down

0 comments on commit c6878c9

Please sign in to comment.