Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
thecybernanny-webapp
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
asranov0003
thecybernanny-webapp
Commits
20b4799b
Commit
20b4799b
authored
Aug 08, 2025
by
asranov0003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: render amounts tariffs
parent
4bbe874b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
Subscription.css
src/pages/Subscription/Subscription.css
+4
-0
Subscription.tsx
src/pages/Subscription/Subscription.tsx
+3
-1
billing.types.ts
src/types/billing.types.ts
+1
-0
No files found.
src/pages/Subscription/Subscription.css
View file @
20b4799b
...
...
@@ -28,6 +28,10 @@
color
:
var
(
--on-text-color
);
}
.subscription__tariff__amount
{
font-size
:
0.875rem
;
}
.subscription__payments__list
{
display
:
flex
;
justify-content
:
space-between
;
...
...
src/pages/Subscription/Subscription.tsx
View file @
20b4799b
...
...
@@ -94,7 +94,9 @@ const Subscription: React.FC = () => {
onClick=
{
()
=>
setSelectedTariff
(
tariff
)
}
>
<
h4
className=
"subscription__tariff__title"
>
{
tariff
.
title
}
</
h4
>
<
p
className=
"subscription__tariff__amount"
>
$
{
tariff
.
amount
}
</
p
>
<
p
className=
"subscription__tariff__amount"
>
{
tariff
.
amountS
}
UZS
</
p
>
</
div
>
))
}
</
div
>
...
...
src/types/billing.types.ts
View file @
20b4799b
...
...
@@ -2,6 +2,7 @@ export interface ITariff {
id
:
string
;
title
:
string
;
amount
:
string
;
amountS
:
string
;
payMonths
:
string
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment