File tree Expand file tree Collapse file tree 2 files changed +52
-1
lines changed 
src/frontend/components/Settings Expand file tree Collapse file tree 2 files changed +52
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { WeatherSettings } from './sections/WeatherSettings';
66import  {  TrackMapSettings  }  from  './sections/TrackMapSettings' ; 
77import  {  AdvancedSettings  }  from  './sections/AdvancedSettings' ; 
88import  {  InputSettings  }  from  './sections/InputSettings' ; 
9+ import  {  AboutSettings  }  from  './sections/AboutSettings' ; 
910import  {  useDashboard  }  from  '@irdashies/context' ; 
1011import  {  useState  }  from  'react' ; 
1112
@@ -97,13 +98,19 @@ export const SettingsLayout = () => {
9798            </ li > 
9899          </ ul > 
99100          { /* Advanced settings pushed to bottom */ } 
100-           < div  className = "mt-auto pt-4 border-t border-slate-700" > 
101+           < div  className = "mt-auto pt-4 border-t border-slate-700 flex flex-col gap-2 " > 
101102            < Link 
102103              to = "/settings/advanced" 
103104              className = { menuItemClass ( '/advanced' ) } 
104105            > 
105106              Advanced
106107            </ Link > 
108+             < Link 
109+               to = "/settings/about" 
110+               className = { menuItemClass ( '/about' ) } 
111+             > 
112+               About
113+             </ Link > 
107114          </ div > 
108115        </ div > 
109116
@@ -116,6 +123,7 @@ export const SettingsLayout = () => {
116123            < Route  path = "map"  element = { < TrackMapSettings  /> }  /> 
117124            < Route  path = "input"  element = { < InputSettings  /> }  /> 
118125            < Route  path = "advanced"  element = { < AdvancedSettings  /> }  /> 
126+             < Route  path = "about"  element = { < AboutSettings  /> }  /> 
119127            < Route 
120128              path = "*" 
121129              element = { 
Original file line number Diff line number Diff line change 1+ import  {  GithubLogo ,  DiscordLogo  }  from  '@phosphor-icons/react' ; 
2+ 
3+ export  const  AboutSettings  =  ( )  =>  { 
4+   return  ( 
5+     < div  className = "flex flex-col gap-6" > 
6+       < div > 
7+         < h2  className = "text-xl font-bold mb-4" > About</ h2 > 
8+         < p  className = "text-slate-300" > 
9+           iRacing Dashies is an open-source iRacing Dashboards &  Overlays  application  that  helps  you  customize  and  enhance  your  racing  experience . 
10+         </ p > 
11+       </ div > 
12+ 
13+       < div  className = "flex flex-col gap-2" > 
14+         < h3  className = "text-lg font-semibold" > Version</ h3 > 
15+         < p  className = "text-slate-300" > v0.0.7</ p > 
16+       </ div > 
17+ 
18+       < div  className = "flex flex-col gap-4" > 
19+         < h3  className = "text-lg font-semibold" > Connect</ h3 > 
20+         
21+         < a  
22+           href = "https://github.com/tariknz/irdashies"  
23+           target = "_blank"  
24+           rel = "noopener noreferrer" 
25+           className = "flex items-center gap-2 text-slate-300 hover:text-white transition-colors w-fit" 
26+         > 
27+           < GithubLogo  size = { 24 }  weight = "bold"  /> 
28+           < span > GitHub Repository</ span > 
29+         </ a > 
30+ 
31+         < a  
32+           href = "https://discord.gg/YMAqduF2Ft"  
33+           target = "_blank"  
34+           rel = "noopener noreferrer" 
35+           className = "flex items-center gap-2 text-slate-300 hover:text-white transition-colors w-fit" 
36+         > 
37+           < DiscordLogo  size = { 24 }  weight = "bold"  /> 
38+           < span > Join our Discord Community</ span > 
39+         </ a > 
40+       </ div > 
41+     </ div > 
42+   ) ; 
43+ } ;  
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments