Go to file
ed barz 896fc714c8 remove langchain 2023-07-24 10:08:58 +02:00
src comment out old code 2023-07-24 09:58:20 +02:00
static new style added 2023-07-24 09:56:00 +02:00
.env.development front style update 2023-05-29 12:46:35 +02:00
.env.production just added a https to VIT_API_URL 2023-06-01 12:42:44 +02:00
.eslintignore Initial commit 2023-05-24 21:24:26 +02:00
.eslintrc.cjs Initial commit 2023-05-24 21:24:26 +02:00
.gitignore .env dev and prod files added for API endpoints 2023-05-27 12:01:04 +02:00
.npmrc Initial commit 2023-05-24 21:24:26 +02:00
.prettierignore Initial commit 2023-05-24 21:24:26 +02:00
.prettierrc Initial commit 2023-05-24 21:24:26 +02:00
README.md in the middle of refactor, just to keep track 2023-05-30 21:34:02 +02:00
package-lock.json remove langchain 2023-07-24 10:08:58 +02:00
package.json remove langchain 2023-07-24 10:08:58 +02:00
svelte.config.js front style update 2023-05-29 12:46:35 +02:00
vite.config.js fix cookie 2023-07-24 10:05:07 +02:00

README.md

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# 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:

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:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

////////////////

Right now, my signup page is set up like that:

svelte:head </svelte:head>

Sign Up

{#if showModal} <Modal {modalMessage} on:close={closeModal} /> {/if}

And input is set up like that in styles/forms.scss:

input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], select { padding: 12px 0px; margin: 8px 0; box-sizing: border-box; border: none; border-bottom: 5px solid $fg-color; background-color: $bg-color; color: $fg-color; font-size: 1.2rem; font-weight: 400; &:focus { outline: none; border-bottom: 5px solid $red; } }

So the email field has a red border on bottom when focused.

I would like that borer to become green when the email is valid.