Skip to content

Commit 0229b1d

Browse files
committed
feat: get ping feature working and update some copy
1 parent 5b26d16 commit 0229b1d

File tree

7 files changed

+40
-22
lines changed

7 files changed

+40
-22
lines changed

.github/workflows/refresh.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
name: Refresh data
22
on:
33
schedule:
4-
- cron: '*/15 * * * *'
4+
- cron: '*/10 * * * *'
55
jobs:
66
refresh-data:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Refresh
1010
run: |
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
11+
curl https://alexxie.com/?utm_source=github_refresh_data_action
12+
curl https://alex.xie.codes//?utm_source=github_refresh_data_action
13+
curl https://xie.codes//?utm_source=github_refresh_data_action
14+
curl https://alexxie.ca//?utm_source=github_refresh_data_action
15+
curl https://alexxie.com/work/?utm_source=github_refresh_data_action
16+
curl https://alex.xie.codes/work/?utm_source=github_refresh_data_action
17+
curl https://xie.codes/work/?utm_source=github_refresh_data_action
18+
curl https://alexxie.ca/work/?utm_source=github_refresh_data_action

next.config.js

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

src/components/Bio/About.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ const About = () => {
1919
<Text bold>
2020
<DynamicTagline />
2121
</Text>{' '}
22-
that's currently studying computer science at the University of
23-
Waterloo.
22+
in my senior year of computer science at the University of Waterloo.
2423
</Text>
2524
</div>
2625

src/components/Bio/Work.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Work: FC = memo(() => {
1616
<Link href="https://github.com/alexieyizhe/intern.plus/" newTab>
1717
intern+
1818
</Link>{' '}
19-
and contribute to projects
19+
and contribute to other projects
2020
{latestRepo ? (
2121
<>
2222
{' '}
@@ -50,7 +50,7 @@ const Work: FC = memo(() => {
5050
</Text>
5151

5252
<Text as="p">
53-
I'm looking for <Text bold>fall 2021 opportunities</Text>!{" "}
53+
I'm looking for <Text bold>new grad full time opportunities</Text>!{' '}
5454
<Link href="mailto:alex@xie.codes">Get in touch</Link>.
5555
</Text>
5656
</>

src/components/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ const Footer: FC = memo(() => {
2727

2828
return (
2929
<Container>
30-
{LINKS.map(({ label, href }) => (
30+
{LINKS.map(({ label, href, title }) => (
3131
<Text>
32-
<Link href={href} newTab>
32+
<Link href={href} newTab title={title}>
3333
{label}
3434
</Link>
3535
</Text>

src/pages/_document.tsx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,19 @@ 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>
33+
<script
34+
data-skip-dnt="true"
35+
data-hostname="alexxie.com"
36+
async
37+
defer
38+
src="https://scripts.simpleanalyticscdn.com/latest.js"
39+
/>
40+
<noscript>
41+
<img
42+
src="https://queue.simpleanalyticscdn.com/noscript.gif"
43+
alt=""
44+
/>
45+
</noscript>
3546
</body>
3647
</Html>
3748
);

src/services/copy.ts

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

1616
/**
@@ -61,13 +61,21 @@ export const TALKING_POINTS = [
6161
* Links
6262
*/
6363
export const LINKS = [
64-
{ label: "yumtown", href: "https://www.instagram.com/alexplores.cuisine/" },
65-
{ label: "uses", href: "https://www.notion.so/Uses-754d5447cf16442f9ce5f444ecce01d0" },
6664
{
67-
label: 'blog',
65+
label: 'yumtown',
66+
title: 'Food blog',
67+
href: 'https://www.instagram.com/alexplores.cuisine/',
68+
},
69+
{
70+
label: 'word vomit',
71+
title: 'Blog',
6872
href: 'https://www.craft.do/s/essARjCAB2DclB',
6973
},
70-
{ label: 'gh', href: 'https://github.com/alexieyizhe' },
74+
{
75+
label: 'beep boop',
76+
title: 'Github profile',
77+
href: 'https://github.com/alexieyizhe',
78+
},
7179
];
7280

7381
export const PAST_EXPERIENCE = [

0 commit comments

Comments
 (0)