File tree Expand file tree Collapse file tree 7 files changed +544
-1
lines changed
Expand file tree Collapse file tree 7 files changed +544
-1
lines changed Original file line number Diff line number Diff line change 77 < meta name ="theme-color " content ="#000000 " />
88 < meta
99 name ="description "
10- content ="Web site created using create-react-app "
10+ content ="Never be afk "
1111 />
1212 < link rel ="apple-touch-icon " href ="%PUBLIC_URL%/logo192.png " />
1313 <!--
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import Account from './pages/Account';
55import Terms from './pages/Terms' ;
66import Privacy from './pages/Privacy' ;
77import LearnMore from './pages/LearnMore' ;
8+ import Pricing from './pages/Pricing' ;
89import { AuthProvider , useAuth } from './contexts/AuthContext' ;
910
1011const AppContent : React . FC = ( ) => {
@@ -24,6 +25,8 @@ const AppContent: React.FC = () => {
2425 setCurrentPage ( 'privacy' ) ;
2526 } else if ( hash === 'learn-more' ) {
2627 setCurrentPage ( 'learn-more' ) ;
28+ } else if ( hash === 'pricing' ) {
29+ setCurrentPage ( 'pricing' ) ;
2730 } else if ( hash === 'welcome' ) {
2831 setCurrentPage ( 'welcome' ) ;
2932 } else {
@@ -97,6 +100,10 @@ const AppContent: React.FC = () => {
97100 return < LearnMore /> ;
98101 }
99102
103+ if ( currentPage === 'pricing' ) {
104+ return < Pricing /> ;
105+ }
106+
100107 return < Welcome /> ;
101108} ;
102109
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ const Header: React.FC<HeaderProps> = ({isSubpage = false}) => {
2222 < h1 > Salamander</ h1 >
2323 </ div >
2424 < div className = "nav-links" >
25+ < button onClick = { ( ) => window . location . hash = 'pricing' } className = "nav-link" > Pricing</ button >
2526 { user ? (
2627 < button
2728 className = "profile-button"
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ const LearnMore: React.FC = () => {
7373 account.</ p >
7474 < div className = "code-block" >
7575 < code > npm install -g @commit451/salamander</ code >
76+ </ div >
77+ < p className = "step-note" > and then</ p >
78+ < div className = "code-block" >
7679 < code > salamander</ code >
7780 </ div >
7881 < p className = "step-note" > Requires Node.js 18 or higher. Authentication opens a
You can’t perform that action at this time.
0 commit comments