Compare commits
2
Commits
42a6846208
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8ef8fbeb7 | ||
|
|
163ad6d2b3 |
@@ -0,0 +1,18 @@
|
||||
import { ScrollText } from "lucide-react";
|
||||
import Button from "../lib/layout/Button";
|
||||
|
||||
type Props = {};
|
||||
export default function ResumeButton({}: Props) {
|
||||
return (
|
||||
<Button
|
||||
title="Benjamin Toby Resume"
|
||||
beforeIcon={<ScrollText size={17} className="font-normal" />}
|
||||
href="https://docs.google.com/document/d/1SQ5ERYmGs39LMo03GqL_Hs5kz1Ir8via-mPPByi6jyk/edit?usp=sharing"
|
||||
variant="outlined"
|
||||
className="grow w-full"
|
||||
target="_blank"
|
||||
>
|
||||
Resume
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
@@ -5,7 +5,8 @@ import Row from "@/src/components/lib/layout/Row";
|
||||
import Section from "@/src/components/lib/layout/Section";
|
||||
import Span from "@/src/components/lib/layout/Span";
|
||||
import Stack from "@/src/components/lib/layout/Stack";
|
||||
import { Contact, Terminal } from "lucide-react";
|
||||
import { Contact, ScrollText, Terminal } from "lucide-react";
|
||||
import ResumeButton from "../../general/resume-button";
|
||||
|
||||
export default function Main() {
|
||||
return (
|
||||
@@ -55,7 +56,7 @@ export default function Main() {
|
||||
>
|
||||
View My Work
|
||||
</Button>
|
||||
<Button
|
||||
{/* <Button
|
||||
title="View My Work"
|
||||
beforeIcon={
|
||||
<Terminal size={17} className="font-normal" />
|
||||
@@ -64,17 +65,8 @@ export default function Main() {
|
||||
className="grow w-full"
|
||||
>
|
||||
Learn More
|
||||
</Button>
|
||||
{/* <Button
|
||||
beforeIcon={
|
||||
<ScrollText size={17} className="font-normal" />
|
||||
}
|
||||
href="/contact"
|
||||
variant="outlined"
|
||||
className="grow w-full"
|
||||
>
|
||||
Resume
|
||||
</Button> */}
|
||||
<ResumeButton />
|
||||
</Row>
|
||||
</Stack>
|
||||
</Section>
|
||||
|
||||
@@ -7,7 +7,8 @@ import Row from "@/src/components/lib/layout/Row";
|
||||
import Section from "@/src/components/lib/layout/Section";
|
||||
import Span from "@/src/components/lib/layout/Span";
|
||||
import Stack from "@/src/components/lib/layout/Stack";
|
||||
import { Terminal } from "lucide-react";
|
||||
import { ScrollText, Terminal } from "lucide-react";
|
||||
import ResumeButton from "../../general/resume-button";
|
||||
|
||||
export default function Main() {
|
||||
return (
|
||||
@@ -34,6 +35,8 @@ export default function Main() {
|
||||
<li>Full-stack delivery with Next.js, Bun, and SQL</li>
|
||||
</ul>
|
||||
|
||||
<ResumeButton />
|
||||
|
||||
<Divider />
|
||||
|
||||
<H2>Background</H2>
|
||||
|
||||
@@ -28,7 +28,7 @@ async function scrollToEnd() {
|
||||
behavior: "smooth",
|
||||
});
|
||||
|
||||
await sleep(5000);
|
||||
await sleep(20000);
|
||||
|
||||
const current_content_height = grabContentHeight();
|
||||
|
||||
@@ -64,7 +64,7 @@ async function main() {
|
||||
|
||||
console.log(`Searching for Article #${i} ...`);
|
||||
|
||||
await sleep(5000);
|
||||
await sleep(20000);
|
||||
|
||||
present_articles = Array.from(
|
||||
document.querySelectorAll("div[role='article']"),
|
||||
@@ -120,7 +120,7 @@ async function main() {
|
||||
.find((el) => el.textContent.includes("See more"))
|
||||
?.click();
|
||||
|
||||
await sleep(2000);
|
||||
await sleep(10000);
|
||||
|
||||
let new_window_url = window.location.href;
|
||||
|
||||
@@ -148,7 +148,7 @@ async function main() {
|
||||
articles_objects.push(article_object);
|
||||
|
||||
window.history.back();
|
||||
await sleep(2000);
|
||||
await sleep(10000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user