From 7b16965ab9060d3e28740b6eda9512dc63c22ab2 Mon Sep 17 00:00:00 2001 From: ChrQR Date: Fri, 17 May 2024 21:32:25 +0200 Subject: [PATCH] - updated readme - updated content on svelte projects page --- README.md | 40 +++++----------------------------- src/routes/+layout.svelte | 8 ++++--- src/routes/svelte/+page.svelte | 24 +++++++++++++++----- 3 files changed, 29 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index 5ce6766..24597fc 100644 --- a/README.md +++ b/README.md @@ -1,38 +1,10 @@ -# create-svelte +This is a portfolio application built to showcase my projects and try out the svelte framework. -Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte). +It is built using: -## Creating a project +- Svelte / Sveltekit +- Tailwind CSS -If you're seeing this, you've probably already done this step. Congrats! +The gitea workflow builds docker image and pushed it to this registry. It is then deploy to my infrastructure which you can read more about [here](https://rannes.dev/homelab) -```bash -# create a new project in the current directory -npm create svelte@latest - -# create a new project in my-app -npm create svelte@latest my-app -``` - -## Developing - -Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: - -```bash -npm run dev - -# or start the server and open the app in a new browser tab -npm run dev -- --open -``` - -## Building - -To create a production version of your app: - -```bash -npm run build -``` - -You can preview the production build with `npm run preview`. - -> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. +The project is hosted at [rannes.dev](https://rannes.dev). diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 5af7e26..c52bef1 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -44,13 +44,15 @@ {:else} -