Updates
This commit is contained in:
parent
42a6846208
commit
163ad6d2b3
@ -5,7 +5,7 @@ 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";
|
||||||
|
|
||||||
export default function Main() {
|
export default function Main() {
|
||||||
return (
|
return (
|
||||||
@ -55,7 +55,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 +64,19 @@ export default function Main() {
|
|||||||
className="grow w-full"
|
className="grow w-full"
|
||||||
>
|
>
|
||||||
Learn More
|
Learn More
|
||||||
</Button>
|
</Button> */}
|
||||||
{/* <Button
|
<Button
|
||||||
|
title="Benjamin Toby Resume"
|
||||||
beforeIcon={
|
beforeIcon={
|
||||||
<ScrollText size={17} className="font-normal" />
|
<ScrollText size={17} className="font-normal" />
|
||||||
}
|
}
|
||||||
href="/contact"
|
href="https://docs.google.com/document/d/1SQ5ERYmGs39LMo03GqL_Hs5kz1Ir8via-mPPByi6jyk/edit?usp=sharing"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
className="grow w-full"
|
className="grow w-full"
|
||||||
|
target="_blank"
|
||||||
>
|
>
|
||||||
Resume
|
Resume
|
||||||
</Button> */}
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@ -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