diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 06dae82..dde92eb 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,10 +1,10 @@ ## Questionnaire -- Where did you find the job? -> LinkedIn / Indeed / Kyujin Box / Referral -- Have you applied on the site above? -> Yes / No +- Where did you find the job? -> LinkedIn +- Have you applied on the site above? -> Yes ## Agreement -- [ ] I did not ask anyone for help to solve the problem. -- [ ] I did not refer any other forks or pull requests of this repository. -- [ ] I would make my fork private if requested after screening. +- [x] I did not ask anyone for help to solve the problem. +- [x] I did not refer any other forks or pull requests of this repository. +- [x] I would make my fork private if requested after screening. diff --git a/fresh.gen.ts b/fresh.gen.ts index 799a93f..4654717 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -3,10 +3,16 @@ // This file is automatically updated during development when running `dev.ts`. import * as $0 from "./routes/index.tsx"; +import * as $1 from "./routes/jobs/[randomString].tsx"; +import * as $2 from "./routes/jobs/engineer.tsx"; +import * as $3 from "./routes/jobs/index.tsx"; const manifest = { routes: { "./routes/index.tsx": $0, + "./routes/jobs/[randomString].tsx": $1, + "./routes/jobs/engineer.tsx": $2, + "./routes/jobs/index.tsx": $3, }, islands: {}, baseUrl: import.meta.url, diff --git a/routes/index.tsx b/routes/index.tsx index 6071486..125454f 100644 --- a/routes/index.tsx +++ b/routes/index.tsx @@ -1,7 +1,10 @@ /** @jsx h */ +import { useState } from 'preact/hooks'; import { h } from "preact"; export default function Home() { + const [inputText, setInputText] = useState("engineer") + return (
+ { randomString === "engineer" + ? 'Job "engineer" is open for you!' + : randomString === '' + ? 'error: empty input' + : `Job "${randomString}" is not available` + } +
++ error: empty input +
+