subvind-components
Advanced tools
| <script>export let active; | ||
| </script> | ||
| <br /> | ||
| <br /> | ||
| <br /> | ||
| <br /> | ||
| <hr> | ||
| <div class="container"> | ||
| <div class="row" style="margin: 0 -1em;"> | ||
| <div class="col s12 m5"> | ||
| <h6>About US</h6> | ||
| <p> | ||
| <a href="https://underwind.solutions">underwind.solutions</a> was formed in 2023 as a software agency for generating fair source products. | ||
| </p> | ||
| <p> | ||
| <a href="https://subvind.com">subvind.com</a> and everything under the -nomy branding are products made by US. | ||
| </p> | ||
| <p> | ||
| <a href="https://istrav.com">istrav.com</a> is where where you may find our coding community. Plus, documentation about our µSaaS Modules, our developer API, and our client area. | ||
| </p> | ||
| <p> | ||
| Pricing starts at $19/month! (<a href="https://www.subvind.com">demo</a>) | ||
| </p> | ||
| </div> | ||
| <div class="col s12 m7" style="text-align: right;"> | ||
| <h6 style="text-align: right;">µSaaS Modules</h6> | ||
| {active === "HOME" ? '->' : ''}<a href="https://homenomy.subvind.com" class="nav">nomy.HOME</a><br /> | ||
| {active === "ERP" ? '->' : ''}<a href="https://erpnomy.subvind.com" class="nav">nomy.ERP</a><br /> | ||
| {active === "TUBE" ? '->' : ''}<a href="https://tubenomy.subvind.com" class="nav">nomy.TUBE</a><br /> | ||
| {active === "DESK" ? '->' : ''}<a href="https://desknomy.subvind.com" class="nav">nomy.DESK</a><br /> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <hr> | ||
| <div class="container"> | ||
| <a href="/terms-and-conditions" class="nav hide-on-med-and-down">Terms & Conditions</a> | ||
| <a href="/privacy-policy" class="nav hide-on-med-and-down">Privacy Policy</a> | ||
| <h3 class="logo">nomy.{active}</h3> | ||
| </div> | ||
| <hr> | ||
| <div class="container"> | ||
| {window.location.hostname} © {new Date().getFullYear()}. | ||
| <p style="margin: 0;"> | ||
| powered by <a href="https://subvind.com">subvind</a> | ||
| </p> | ||
| </div> | ||
| <br /> | ||
| <style> | ||
| .logo { | ||
| margin: 0; | ||
| } | ||
| .nav { | ||
| margin: 0 0 0 1em; | ||
| float: right; | ||
| color: #333; | ||
| text-decoration: underline; | ||
| } | ||
| .nav:hover { | ||
| text-decoration: none; | ||
| background: #1a95e0; | ||
| color: #fff; | ||
| } | ||
| </style> |
| import { SvelteComponent } from "svelte"; | ||
| declare const __propDef: { | ||
| props: { | ||
| active: string; | ||
| }; | ||
| events: { | ||
| [evt: string]: CustomEvent<any>; | ||
| }; | ||
| slots: {}; | ||
| }; | ||
| export type FooterCommandProps = typeof __propDef.props; | ||
| export type FooterCommandEvents = typeof __propDef.events; | ||
| export type FooterCommandSlots = typeof __propDef.slots; | ||
| export default class FooterCommand extends SvelteComponent<FooterCommandProps, FooterCommandEvents, FooterCommandSlots> { | ||
| } | ||
| export {}; |
@@ -52,5 +52,2 @@ | ||
| <div class="header"> | ||
| <!-- <a href="https://underwind.solutions"> | ||
| <img src="/anchor.png" alt="underwind.solutions" class="anchor"> | ||
| </a> --> | ||
| <h1 class="title"> | ||
@@ -68,11 +65,2 @@ Login | ||
| <div class="row"> | ||
| <!-- <div class="input-field col s12"> | ||
| <select bind:value={type}> | ||
| <option value="" disabled selected>Choose your membership</option> | ||
| <option value="organization-customer">customer</option> | ||
| <option value="organization-employee">employee</option> | ||
| <option value="organization-supplier">supplier</option> | ||
| </select> | ||
| <label>Account Type</label> | ||
| </div> --> | ||
| <div class="input-field col s12"> | ||
@@ -79,0 +67,0 @@ <input id="email" type="email" placeholder="test@test.com" class="validate" bind:value={email}> |
@@ -10,3 +10,2 @@ <script>import { onMount } from "svelte"; | ||
| let passwordRepeat = ""; | ||
| let deskHostname = ""; | ||
| export let organization; | ||
@@ -65,3 +64,3 @@ async function register(event) { | ||
| console.log("decoded_token", decodedToken); | ||
| window.location.href = `/portal/dashboard`; | ||
| window.location.href = `/auth/success`; | ||
| } else { | ||
@@ -82,18 +81,2 @@ const errorData = await response2.json(); | ||
| onMount(async () => { | ||
| deskHostname = window.location.hostname; | ||
| if (deskHostname === "localhost") { | ||
| deskHostname = "client-area.subvind.com"; | ||
| } | ||
| const response = await fetch(`https://api.subvind.com/organizations/deskHostname/${deskHostname}`, { | ||
| method: "GET", | ||
| headers: { | ||
| "Content-Type": "application/json" | ||
| } | ||
| }); | ||
| if (response.ok) { | ||
| organization = await response.json(); | ||
| } else { | ||
| const errorData = await response.json(); | ||
| alert(errorData.error); | ||
| } | ||
| }); | ||
@@ -104,5 +87,2 @@ </script> | ||
| <div class="header"> | ||
| <!-- <a href="https://underwind.solutions"> | ||
| <img src="/anchor.png" alt="underwind.solutions" class="anchor"> | ||
| </a> --> | ||
| <h1 class="title"> | ||
@@ -109,0 +89,0 @@ Register |
+1
-0
@@ -15,1 +15,2 @@ export { default as Auth } from "./Auth.svelte"; | ||
| export { default as AuthAccountRegister } from "./authAccount/Register.svelte"; | ||
| export { default as FooterCommand } from "./FooterCommand.svelte"; |
+2
-0
@@ -21,1 +21,3 @@ // Reexport your entry components here | ||
| export { default as AuthAccountRegister } from './authAccount/Register.svelte'; | ||
| export { default as FooterCommand } from './FooterCommand.svelte'; |
+1
-1
| { | ||
| "name": "subvind-components", | ||
| "version": "0.0.15", | ||
| "version": "0.0.16", | ||
| "scripts": { | ||
@@ -5,0 +5,0 @@ "dev": "vite dev", |
49093
3.14%34
6.25%268
7.2%