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