Skip to content

Commit

Permalink
add turborepo and other configs
Browse files Browse the repository at this point in the history
  • Loading branch information
kuroji-fusky committed Feb 13, 2023
1 parent be5a886 commit 28deef8
Show file tree
Hide file tree
Showing 6 changed files with 303 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
*.log*
*.log*
.turbo
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"npm": ">= 8.0.0"
},
"devDependencies": {
"prettier": "^2.8.3"
"prettier": "^2.8.3",
"turbo": "^1.7.4"
}
}
13 changes: 13 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"lint": {},
"build": {
"dependsOn": ["^build"],
"outputs": [".output/**"]
},
"deploy": {
"dependsOn": ["lint", "build"]
}
}
}
13 changes: 4 additions & 9 deletions website/components/Login/LoginForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ const password = ref("")
<template>
<form class="form-container">
<div class="field f-username">
<label for="username" :class="`form-label ${username.length > 0 ? 'block' : 'invisible'}`">Username/Email</label>
<label for="username" :class="['form-label', username.length > 0 ? 'block' : 'invisible']">Username/Email</label>
<input name="username" type="username" class="form-textbox" v-model="username" placeholder="Username/Email" />
</div>
<div class="field f-password">
<label for="password" class="form-label">Password</label>
<input name="password" class="form-textbox" type="password" placeholder="Password" v-model="password" />
<NuxtLink to="#">Forgot Password?</NuxtLink>
<NuxtLink to="#">Forgot password?</NuxtLink>
</div>
<div class="buttons flex flex-col w-full text-center items-center">
<NuxtLink to="#" class="submit-button ">Submit</NuxtLink>
<div class="flex flex-col items-center w-full text-center buttons">
<NuxtLink to="#" class="submit-button">Submit</NuxtLink>
</div>
</form>
</template>
Expand All @@ -39,11 +39,6 @@ const password = ref("")
}
}
.forgot-pswd {
grid-area: forgot-pswd;
@apply py-3 flex w-full px-4;
}
.submit-button {
grid-area: submit;
@apply w-full py-3 bg-blue-400 flex px-4 text-center;
Expand Down
Loading

0 comments on commit 28deef8

Please sign in to comment.