Skip to content

Commit 5e3868e

Browse files
authored
chore: more improvements (#89)
* Use upstash redis url instead of lambda.store * Add analytics * Update work * dont track pings
1 parent 3a28922 commit 5e3868e

File tree

8 files changed

+17
-16
lines changed

8 files changed

+17
-16
lines changed

.github/workflows/refresh.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- name: Refresh
1010
run: |
11-
curl https://alexxie.com
12-
curl https://alex.xie.codes
13-
curl https://xie.codes
14-
curl https://alexxie.ca
11+
curl https://alexxie.com/ping
12+
curl https://alex.xie.codes/ping
13+
curl https://xie.codes/ping
14+
curl https://alexxie.ca/ping

next.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ module.exports = withPreact({
1919
source: '/work',
2020
destination: '/',
2121
},
22+
{
23+
source: '/ping',
24+
destination: '/',
25+
},
2226
],
2327
experimental: {
2428
modern: true,

package-lock.json

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/resume.pdf

-216 KB
Binary file not shown.

src/components/Bio/Work.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ const Work: FC = memo(() => {
3232
</Text>
3333

3434
<Text as="p">
35-
Next spring, I'll be working at an ML stealth startup. I've previously
36-
been a part of{' '}
35+
When not in school, I've previously been a part of{' '}
3736
{PAST_EXPERIENCE.map(({ label, href, color }, i, arr) => {
3837
const isLast = i === arr.length - 1;
3938
return (
@@ -51,9 +50,8 @@ const Work: FC = memo(() => {
5150
</Text>
5251

5352
<Text as="p">
54-
I'm looking for <Text bold>summer 2021 opportunities</Text>! Take a peek
55-
at my resume below or{' '}
56-
<Link href="mailto:alex@xie.codes">get in touch</Link>.
53+
I'm looking for <Text bold>fall 2021 opportunities</Text>!{" "}
54+
<Link href="mailto:alex@xie.codes">Get in touch</Link>.
5755
</Text>
5856
</>
5957
);

src/pages/_document.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ export default class CustomDocument extends Document<{ css: string }> {
3030
<body>
3131
<Main />
3232
<NextScript />
33+
<script data-skip-dnt="true" data-hostname="alexxie.com" data-ignore-pages="/ping" async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
34+
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt=""/></noscript>
3335
</body>
3436
</Html>
3537
);

src/services/_server_/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class StorageClient {
1919

2020
constructor() {
2121
this.client = new Redis(
22-
'redis://:e22f6050ce1449d7962e9f7edd053940@us1-apparent-grouper-31548.lambda.store:31548',
22+
'redis://:e22f6050ce1449d7962e9f7edd053940@us1-apparent-grouper-31548.upstash.io:31548',
2323
{
2424
enableAutoPipelining: true,
2525
}

src/services/copy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const GREETINGS = [
1010
"👋! I'm Alex.",
1111
"你好! I'm Alex.",
1212
'It me, Alex!',
13+
'What\'s crackalackin?'
1314
];
1415

1516
/**
@@ -49,15 +50,14 @@ export const ACTIVITIES = [
4950
export const TALKING_POINTS = [
5051
'why comic sans is the best font',
5152
'dark patterns and how they affect human behaviour',
52-
'summer 2021 internship opportunities',
53+
'fall 2021 internship opportunities',
5354
'how power lines are the ugliest form of infrastructure',
5455
];
5556

5657
/**
5758
* Links
5859
*/
5960
export const LINKS = [
60-
{ label: 'resume', href: '/resume.pdf' },
6161
{ label: 'github', href: 'https://github.com/alexieyizhe' },
6262
{
6363
label: 'blog',

0 commit comments

Comments
 (0)