generated from visoftsolutions/ksox-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from visoftsolutions/1-create-basic-frontend-de…
…sign-for-common-components-across-tabs basic design sketch
- Loading branch information
Showing
37 changed files
with
365 additions
and
42 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/web-manifest-combined.json", | ||
"name": "ksox-finance", | ||
"name": "Ksox Finance", | ||
"short_name": "Ksox Finance", | ||
"start_url": ".", | ||
"display": "standalone", | ||
"background_color": "#000000", | ||
"description": "Ksox Finance Platform" | ||
"description": "Ksox Finance Business Platform" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { style } from "@vanilla-extract/css"; | ||
import { vars } from "~/theme.css"; | ||
|
||
export const connect = style({ | ||
fontSize: "16px", | ||
fontWeight: "bold", | ||
border: "1px solid", | ||
borderColor: vars.color.blue, | ||
borderRadius: "8px", | ||
color: vars.color.blue, | ||
paddingTop: "4px", | ||
paddingBottom: "4px", | ||
paddingLeft: "12px", | ||
paddingRight: "12px", | ||
transition: "background-color, color", | ||
transitionDuration: vars.transitions.duration, | ||
transitionTimingFunction: vars.transitions.timingFunction, | ||
":hover": { | ||
backgroundColor: vars.color.blue, | ||
color: vars.color.background, | ||
}, | ||
cursor: "pointer", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { component$ } from "@builder.io/qwik"; | ||
import { connect } from "./connect.css"; | ||
|
||
export const Connect = component$(() => { | ||
return <div class={connect}>Connect</div>; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { style } from "@vanilla-extract/css"; | ||
import { vars } from "~/theme.css"; | ||
|
||
export const headerGrid = style({ | ||
display: "grid", | ||
gridAutoFlow: "column", | ||
gap: "8px", | ||
justifyItems: "center", | ||
justifyContent: "center", | ||
alignItems: "center", | ||
}); | ||
|
||
export const header = style([ | ||
headerGrid, | ||
{ | ||
paddingLeft: "8px", | ||
paddingRight: "8px", | ||
height: "100%", | ||
gridTemplateColumns: "auto 1fr auto", | ||
}, | ||
]); | ||
|
||
export const leftSide = style([ | ||
headerGrid, | ||
{ | ||
gridColumnStart: "1", | ||
gridColumnEnd: "2", | ||
}, | ||
]); | ||
|
||
export const rightSide = style([ | ||
headerGrid, | ||
{ | ||
gridColumnStart: "3", | ||
gridColumnEnd: "4", | ||
}, | ||
]); | ||
|
||
export const title = style({ | ||
fontWeight: "bolder", | ||
letterSpacing: "1px", | ||
fontSize: "20px", | ||
color: vars.color.subtext, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { component$ } from "@builder.io/qwik"; | ||
import { header, leftSide, rightSide, title } from "./header.css"; | ||
import { Connect } from "../connect/connect"; | ||
import BellSvg from "~/media/icons/dark_theme/bell.svg?jsx"; | ||
import { IconButton } from "~/components/iconButton/iconButton"; | ||
|
||
export const Header = component$(() => { | ||
return ( | ||
<div class={header}> | ||
<div class={leftSide}> | ||
<div class={title}>KSOX Finance</div> | ||
</div> | ||
<div class={rightSide}> | ||
<IconButton> | ||
<BellSvg q:slot="icon"></BellSvg> | ||
{/* <div q:slot="text">Home</div> */} | ||
</IconButton> | ||
<Connect></Connect> | ||
</div> | ||
</div> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { style } from "@vanilla-extract/css"; | ||
import { vars } from "~/theme.css"; | ||
|
||
export const button = style({ | ||
display: "grid", | ||
justifyItems: "center", | ||
alignItems: "center", | ||
padding: "8px", | ||
borderRadius: "8px", | ||
transition: "background-color", | ||
transitionDuration: vars.transitions.duration, | ||
transitionTimingFunction: vars.transitions.timingFunction, | ||
":hover": { | ||
backgroundColor: vars.color.backgroundHighlight, | ||
}, | ||
cursor: "pointer", | ||
}); | ||
|
||
export const iconSlot = style({ | ||
width: "24px", | ||
height: "24px", | ||
aspectRatio: "square", | ||
display: "grid", | ||
justifyItems: "center", | ||
alignItems: "center", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Slot, component$ } from "@builder.io/qwik"; | ||
import { button, iconSlot } from "./iconButton.css"; | ||
|
||
export const IconButton = component$(() => { | ||
return ( | ||
<div class={button}> | ||
<div class={iconSlot}> | ||
<Slot name="icon"></Slot> | ||
</div> | ||
</div> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { style } from "@vanilla-extract/css"; | ||
|
||
export const sidenav = style({ | ||
display: "grid", | ||
gridTemplateRows: "repeat(6, 1fr)", | ||
gap: "2px", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { component$ } from "@builder.io/qwik"; | ||
import { sidenav } from "./sidenav.css"; | ||
import { IconButton } from "~/components/iconButton/iconButton"; | ||
|
||
import HomeSvg from "~/media/icons/dark_theme/logo.svg?jsx"; | ||
import TransferSvg from "~/media/icons/dark_theme/transfer.svg?jsx"; | ||
import ChartSvg from "~/media/icons/dark_theme/chart.svg?jsx"; | ||
import WalletSvg from "~/media/icons/dark_theme/wallet.svg?jsx"; | ||
import PeopleSvg from "~/media/icons/dark_theme/people.svg?jsx"; | ||
import SettingsSvg from "~/media/icons/dark_theme/settings.svg?jsx"; | ||
|
||
export const SideNav = component$(() => { | ||
return ( | ||
<div class={sidenav}> | ||
<IconButton> | ||
<HomeSvg style={{ height: "24px" }} q:slot="icon"></HomeSvg> | ||
{/* <div q:slot="text">Home</div> */} | ||
</IconButton> | ||
<IconButton> | ||
<TransferSvg q:slot="icon"></TransferSvg> | ||
{/* <div q:slot="text">Home</div> */} | ||
</IconButton> | ||
<IconButton> | ||
<ChartSvg q:slot="icon"></ChartSvg> | ||
{/* <div q:slot="text">Home</div> */} | ||
</IconButton> | ||
<IconButton> | ||
<WalletSvg q:slot="icon"></WalletSvg> | ||
{/* <div q:slot="text">Home</div> */} | ||
</IconButton> | ||
<IconButton> | ||
<PeopleSvg q:slot="icon"></PeopleSvg> | ||
{/* <div q:slot="text">Home</div> */} | ||
</IconButton> | ||
<IconButton> | ||
<SettingsSvg q:slot="icon"></SettingsSvg> | ||
{/* <div q:slot="text">Home</div> */} | ||
</IconButton> | ||
</div> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.