File tree Expand file tree Collapse file tree 7 files changed +16
-6
lines changed Expand file tree Collapse file tree 7 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,8 @@ const buildConfig : esbuild.BuildOptions = {
4545  outbase : './src/client' , 
4646  entryPoints : [ 
4747    './src/client/**/index.html' , 
48-     './src/client/index.tsx' , 
49-     './src/client/index.css' 
48+     './src/client/index.tsx' 
5049  ] , 
51-   supported : { 
52-     'import-attributes' : true , 
53-     'nesting' : true 
54-   } , 
5550  plugins : [ 
5651    esbuildPluginTransformScriptTags ( ) , 
5752    esbuildPluginDeno ( { 
Original file line number Diff line number Diff line change @@ -18,10 +18,13 @@ body {
1818.page  {
1919  display :  grid;
2020  gap :  100px  ;
21+   justify-content :  center;
2122
2223  .title , 
2324  .link  {
2425    text-align :  center;
26+     border-radius :  10px  ;
27+     padding :  0  15px   5px  ;
2528  }
2629
2730  .link  {
3033
3134  .logo  {
3235    width :  200px  ;
36+     margin :  auto;
3337  }
3438}
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { render } from '@solid-js/web';
22import  {  HashRouter ,  Route  }  from  '@solid-js/router' 
33import  {  Home  }  from  './pages/home/index.tsx' ; 
44import  {  NotFound  }  from  './pages/404/index.tsx' ; 
5+ import  './index.css' 
56
67
78render ( 
Original file line number Diff line number Diff line change 1+ .not-found  .title  {
2+   background-color :  # dd4747
3+ }
Original file line number Diff line number Diff line change 11import  type  { JSXElement }  from  '@solid-js' 
2+ import  './index.css' 
3+ 
24
35export  function  NotFound ( )  : JSXElement  { 
46  return  ( 
Original file line number Diff line number Diff line change 1+ .home  .title  {
2+   background-color :  # 3a813a
3+ }
Original file line number Diff line number Diff line change 11import  type  { JSXElement }  from  '@solid-js' 
2+ import  './index.css' 
3+ 
24
35export  function  Home ( )  : JSXElement  { 
46  return  ( 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments