@@ -3,7 +3,7 @@ import { Link } from "@remix-run/react";
3
3
4
4
import { useOptionalUser } from "~/utils" ;
5
5
6
- export const meta : MetaFunction = ( ) => [ { title : "Remix Notes " } ] ;
6
+ export const meta : MetaFunction = ( ) => [ { title : "Homeschool Lab " } ] ;
7
7
8
8
export default function Index ( ) {
9
9
const user = useOptionalUser ( ) ;
@@ -15,126 +15,51 @@ export default function Index() {
15
15
< div className = "absolute inset-0" >
16
16
< img
17
17
className = "h-full w-full object-cover"
18
- src = "https://user-images.githubusercontent.com/1500684/157774694-99820c51-8165-4908-a031-34fc371ac0d6 .jpg"
19
- alt = "Sonic Youth On Stage "
18
+ src = "/assets/sea-turtle-swimming-in-the-ocean .jpg"
19
+ alt = "Sea Turtle Swimming in the Ocean "
20
20
/>
21
- < div className = "absolute inset-0 bg-[color:rgba(254,204,27 ,0.5)] mix-blend-multiply" />
21
+ < div className = "absolute inset-0 bg-[color:rgba(0,100,150 ,0.5)] mix-blend-multiply" />
22
22
</ div >
23
23
< div className = "relative px-4 pb-8 pt-16 sm:px-6 sm:pb-14 sm:pt-24 lg:px-8 lg:pb-20 lg:pt-32" >
24
- < h1 className = "text-center text-6xl font-extrabold tracking-tight sm:text-8xl lg:text-9xl" >
25
- < span className = "block uppercase text-yellow-500 drop-shadow-md" >
26
- Indie Stack
24
+ < h1 className = "text-center text-6xl font-extrabold tracking-tight sm:text-8xl lg:text-9xl font-schoolbell " >
25
+ < span className = "block uppercase text-white drop-shadow-md" >
26
+ Homeschool
27
27
</ span >
28
28
</ h1 >
29
- < p className = "mx-auto mt-6 max-w-lg text-center text-xl text-white sm:max-w-3xl" >
30
- Check the README.md file for instructions on how to get this
31
- project deployed.
29
+ < p className = "mx-auto mt-6 max-w-lg text-center text-xl text-white sm:max-w-3xl font-schoolbell" >
30
+ 2 Timothy 2:15 Study to shew thyself approved unto God, a workman that needeth not to be ashamed, rightly dividing the word of truth.
32
31
</ p >
33
32
< div className = "mx-auto mt-10 max-w-sm sm:flex sm:max-w-none sm:justify-center" >
34
33
{ user ? (
35
34
< Link
36
- to = "/notes "
37
- className = "flex items-center justify-center rounded-md border border-transparent bg-white px-4 py-3 text-base font-medium text-yellow -700 shadow-sm hover:bg-yellow -50 sm:px-8"
35
+ to = "/portal "
36
+ className = "flex items-center justify-center rounded-md border border-transparent bg-white px-4 py-3 text-base font-medium text-blue -700 shadow-sm hover:bg-blue -50 sm:px-8"
38
37
>
39
- View Notes for { user . email }
38
+ Go to Portal { user . email }
40
39
</ Link >
41
40
) : (
42
41
< div className = "space-y-4 sm:mx-auto sm:inline-grid sm:grid-cols-2 sm:gap-5 sm:space-y-0" >
43
42
< Link
44
43
to = "/join"
45
- className = "flex items-center justify-center rounded-md border border-transparent bg-white px-4 py-3 text-base font-medium text-yellow -700 shadow-sm hover:bg-yellow -50 sm:px-8"
44
+ className = "flex items-center justify-center rounded-md border border-transparent bg-white px-4 py-3 text-base font-medium text-blue -700 shadow-sm hover:bg-blue -50 sm:px-8"
46
45
>
47
46
Sign up
48
47
</ Link >
49
48
< Link
50
49
to = "/login"
51
- className = "flex items-center justify-center rounded-md bg-yellow -500 px-4 py-3 font-medium text-white hover:bg-yellow -600"
50
+ className = "flex items-center justify-center rounded-md bg-blue -500 px-4 py-3 font-medium text-white hover:bg-blue -600"
52
51
>
53
52
Log In
54
53
</ Link >
55
54
</ div >
56
55
) }
57
56
</ div >
58
- < a href = "https://remix.run" >
59
- < img
60
- src = "https://user-images.githubusercontent.com/1500684/158298926-e45dafff-3544-4b69-96d6-d3bcc33fc76a.svg"
61
- alt = "Remix"
62
- className = "mx-auto mt-16 w-full max-w-[12rem] md:max-w-[16rem]"
63
- />
64
- </ a >
57
+ < div className = "flex items-center justify-center" >
58
+ < p className = "mx-auto mt-16 text-center text-6xl text-white w-full max-w-[12rem] md:max-w-[16rem] font-schoolbell" > Portal</ p >
59
+ </ div >
65
60
</ div >
66
61
</ div >
67
62
</ div >
68
-
69
- < div className = "mx-auto max-w-7xl px-4 py-2 sm:px-6 lg:px-8" >
70
- < div className = "mt-6 flex flex-wrap justify-center gap-8" >
71
- { [
72
- {
73
- src : "https://user-images.githubusercontent.com/1500684/157764397-ccd8ea10-b8aa-4772-a99b-35de937319e1.svg" ,
74
- alt : "Fly.io" ,
75
- href : "https://fly.io" ,
76
- } ,
77
- {
78
- src : "https://user-images.githubusercontent.com/1500684/157764395-137ec949-382c-43bd-a3c0-0cb8cb22e22d.svg" ,
79
- alt : "SQLite" ,
80
- href : "https://sqlite.org" ,
81
- } ,
82
- {
83
- src : "https://user-images.githubusercontent.com/1500684/157764484-ad64a21a-d7fb-47e3-8669-ec046da20c1f.svg" ,
84
- alt : "Prisma" ,
85
- href : "https://prisma.io" ,
86
- } ,
87
- {
88
- src : "https://user-images.githubusercontent.com/1500684/157764276-a516a239-e377-4a20-b44a-0ac7b65c8c14.svg" ,
89
- alt : "Tailwind" ,
90
- href : "https://tailwindcss.com" ,
91
- } ,
92
- {
93
- src : "https://user-images.githubusercontent.com/1500684/157764454-48ac8c71-a2a9-4b5e-b19c-edef8b8953d6.svg" ,
94
- alt : "Cypress" ,
95
- href : "https://www.cypress.io" ,
96
- } ,
97
- {
98
- src : "https://user-images.githubusercontent.com/1500684/157772386-75444196-0604-4340-af28-53b236faa182.svg" ,
99
- alt : "MSW" ,
100
- href : "https://mswjs.io" ,
101
- } ,
102
- {
103
- src : "https://user-images.githubusercontent.com/1500684/157772447-00fccdce-9d12-46a3-8bb4-fac612cdc949.svg" ,
104
- alt : "Vitest" ,
105
- href : "https://vitest.dev" ,
106
- } ,
107
- {
108
- src : "https://user-images.githubusercontent.com/1500684/157772662-92b0dd3a-453f-4d18-b8be-9fa6efde52cf.png" ,
109
- alt : "Testing Library" ,
110
- href : "https://testing-library.com" ,
111
- } ,
112
- {
113
- src : "https://user-images.githubusercontent.com/1500684/157772934-ce0a943d-e9d0-40f8-97f3-f464c0811643.svg" ,
114
- alt : "Prettier" ,
115
- href : "https://prettier.io" ,
116
- } ,
117
- {
118
- src : "https://user-images.githubusercontent.com/1500684/157772990-3968ff7c-b551-4c55-a25c-046a32709a8e.svg" ,
119
- alt : "ESLint" ,
120
- href : "https://eslint.org" ,
121
- } ,
122
- {
123
- src : "https://user-images.githubusercontent.com/1500684/157773063-20a0ed64-b9f8-4e0b-9d1e-0b65a3d4a6db.svg" ,
124
- alt : "TypeScript" ,
125
- href : "https://typescriptlang.org" ,
126
- } ,
127
- ] . map ( ( img ) => (
128
- < a
129
- key = { img . href }
130
- href = { img . href }
131
- className = "flex h-16 w-32 justify-center p-1 grayscale transition hover:grayscale-0 focus:grayscale-0"
132
- >
133
- < img alt = { img . alt } src = { img . src } className = "object-contain" />
134
- </ a >
135
- ) ) }
136
- </ div >
137
- </ div >
138
63
</ div >
139
64
</ main >
140
65
) ;
0 commit comments