From d257749a9d316123b26b7c26b6c166cbf6d0a098 Mon Sep 17 00:00:00 2001 From: Akis Date: Thu, 4 Aug 2022 17:30:24 +0300 Subject: [PATCH] lots of unfinished changes --- README.md | 13 ++--- shell.nix | 13 ----- src/lib/Nav.svelte | 61 ++++++++++------------ src/lib/{Members.json => Team.json} | 0 src/lib/app.css | 9 ++-- src/routes/contact.md | 4 +- src/routes/index.svelte | 2 +- src/routes/{members.svelte => team.svelte} | 20 +++---- 8 files changed, 48 insertions(+), 74 deletions(-) delete mode 100644 shell.nix rename src/lib/{Members.json => Team.json} (100%) rename src/routes/{members.svelte => team.svelte} (88%) diff --git a/README.md b/README.md index 6acea2a..29705af 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Project Segfault Website +# Project Segfault website Live at [projectsegfau.lt](https://projectsegfau.lt). @@ -10,17 +10,10 @@ Live at [projectsegfau.lt](https://projectsegfau.lt). - Install [pnpm](https://pnpm.io/) (optional, although strongly recommended). - Learn [Svelte](https://svelte.dev). -### Universal +### Running a dev server. 1. Clone the repository using `git clone https://github.com/ProjectSegfault/website`. 2. Change directory into the clone using `cd ./website`. 3. Install dependencies using `pnpm i` (recommended) or `npm i`. 4. Run the dev server using `pnpm dev` (recommended) or `npm run dev`. -5. Open a browser on `http://localhost:5173/` and you should see the website running locally! - -### NixOS - -1. Clone the repository using `git clone https://github.com/ProjectSegfault/website`. -2. Change directory into the clone using `cd ./website`. -3. In the same terminal type `nix-shell`. -4. Open a browser on `http://localhost:5173/` and you should see the website running locally! +5. Open a browser on `http://localhost:5173/` and you should see the website running locally! \ No newline at end of file diff --git a/shell.nix b/shell.nix deleted file mode 100644 index f740852..0000000 --- a/shell.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ pkgs ? import {} -}: -pkgs.mkShell { - name="dev"; - buildInputs = [ - pkgs.nodejs-16_x - ]; - shellHook = '' - echo "Installing dependencies using npm, please wait." - npm i - echo "You can now "run npm run dev" to start a dev server." - ''; -} \ No newline at end of file diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte index 3c7edb9..a80a3a9 100644 --- a/src/lib/Nav.svelte +++ b/src/lib/Nav.svelte @@ -5,13 +5,7 @@