Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
57 changes: 32 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
Programming/

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
.env
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
Programming/

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
.env

.envrc
.direnv
flake.nix
flake.lock
.devcontainer
.pnpm-store
61 changes: 61 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
description = "Agrobot Devshell";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
nodejs_20
pnpm
lefthook
];

shellHook = ''
echo "Dev shell ready: Node.js $(node -v), pnpm $(pnpm -v)"
'';
};
});
}
17 changes: 17 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
pre-commit:
parallel: true
commands:
lint:
glob: '*.{js,jsx,ts,tsx,vue,json,css,scss,md}'
run: pnpm run lint
stage_fixed: true

pretty:
glob: '*.{js,jsx,ts,tsx,vue,json,css,scss,md}'
run: pnpm run pretty
stage_fixed: true
# pre-push:
# commands:
# lint-check:
# run: pnpm run lint
# fail_text: "Linting failed. Please fix the issues before pushing."
11 changes: 9 additions & 2 deletions src/components/recruitment/Timeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,15 @@ function Timeline() {
if (today > end_day || today < start_day) {
return (
<p className="text-[32px] font-medium pt-8">
We are not taking applications currently. If you are still interested
you can email us at{' '}
Applications for the team are now officially open! Apply using the
following{' '}
<a
href="https://docs.google.com/forms/d/e/1FAIpQLSfTsSp2DBLQ9jJ0jRU6AFzYBqIYsVRzayUlXa3zDIgrEtlQJQ/viewform?usp=header"
className="underline"
>
Google Forms Link.
</a>{' '}
Questions? Send us an email at{' '}
<a href="mailto:ubcagrobot@gmail.com" className="underline">
ubcagrobot@gmail.com
</a>
Expand Down