Skip to content

Commit

Permalink
membership and theme layers
Browse files Browse the repository at this point in the history
  • Loading branch information
davay42 committed Mar 30, 2024
1 parent efdc115 commit 037eaba
Show file tree
Hide file tree
Showing 35 changed files with 103 additions and 100 deletions.
92 changes: 90 additions & 2 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ NuxtLayout
</template>

<style lang="postcss">
@import url(~/assets/index.postcss);
main a {
@apply underline
}
Expand All @@ -58,4 +56,94 @@ body {
.dark body {
@apply bg-dark-300 transition duration-1000 text-light-200;
}
.page {
transition: all ease-in-out 0.12s;
}
.page-enter-active,
.page-leave-active {
transition: all ease-in-out 0.12s;
}
.page-leave-to {
opacity: 0.4;
filter: blur(0.1rem);
transform: translate(-4px, 0px);
}
.page-enter-from {
opacity: 0.4;
filter: blur(0.1rem);
transform: translate(4px, 0);
}
.fade-enter-active,
.fade-leave-active {
transition: opacity 1s ease;
}
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}
form input {
@apply p-2 text-lg rounded bg-light-200 dark-bg-dark-100;
flex: 1 1 200px;
}
form button,
form button[type="submit"] {
@apply p-4 rounded-xl bg-purple-500 shadow-xl text-xl;
}
form label {
@apply p-2 text-lg flex-1 text-right;
}
pre {
@apply p-4 max-w-full;
}
html {
@apply overscroll-y-none;
font-family: var(--font-family-base);
}
.glass {
@apply transition bg-light-500/90 dark-bg-dark-500/90 rounded-lg shadow-lg hover-shadow-xl filter backdrop-blur hover-backdrop-blur-xl;
}
/* Fonts */
:root {
--font-family-base: "Commissioner", -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans",
"Helvetica Neue", sans-serif;
--font-family-mono: "Fira Code", source-code-pro, Menlo, Monaco, Consolas,
"Courier New", monospace;
}
@font-face {
font-family: "Commissioner";
font-style: normal;
font-weight: 400;
src: local(""),
url("/fonts/commissioner-v3-latin_cyrillic-ext_cyrillic-regular.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("/fonts/commissioner-v3-latin_cyrillic-ext_cyrillic-regular.woff") format("woff");
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
font-family: "Commissioner";
font-style: normal;
font-weight: 700;
src: local(""),
url("/fonts/commissioner-v3-latin_cyrillic-ext_cyrillic-700.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("/fonts/commissioner-v3-latin_cyrillic-ext_cyrillic-700.woff") format("woff");
/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
</style>
93 changes: 0 additions & 93 deletions assets/index.postcss

This file was deleted.

1 change: 0 additions & 1 deletion assets/logo.svg

This file was deleted.

6 changes: 5 additions & 1 deletion auth/components/AuthSignup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,18 @@ const onSubmit = async () => {
<template lang='pug'>
.glass.p-4.flex.flex-col.gap-4
slot
.text-2xl.p-2 Sign Up
form.p-4.flex.flex-col.gap-4(
@submit.prevent.stop="onSubmit()")
.flex.gap-4
label(for="first_name") First name
input#first_name(
type="text"
v-model="u.first_name")
.flex.gap-4
label(for="last_name") Last name
input#last_name(
type="text"
v-model="u.last_name")
.flex.gap-4
label(for="email") Email
input#email(
Expand Down
1 change: 0 additions & 1 deletion auth/pages/auth/login.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script setup>
import PricePanel from '~/components/PricePanel.vue';
const email = ref('')
</script>

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const sending = ref(false)
const error = ref('')
async function subscribe() {
if (!user?.value?.email) return
sending.value = true
Expand Down Expand Up @@ -54,7 +55,10 @@ async function subscribe() {
slot
.flex.flex-col.gap-6(style="flex: 2 1 400px")
.flex.flex-col.gap-6(
style="flex: 2 1 400px"
)
.text-xl Choose your plan
.flex.flex-wrap.gap-4
.shadow.p-4.border-2.flex.flex-wrap.gap-2.rounded-xl.cursor-pointer.relative(
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions membership/nuxt.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default defineNuxtConfig({})
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default defineNuxtConfig({
extends: ['./auth'],
extends: ['./auth', './theme', './membership'],
app: {
pageTransition: { name: 'page', mode: 'out-in' }
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions theme/nuxt.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default defineNuxtConfig({})
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 037eaba

Please sign in to comment.