diff --git a/.DS_Store b/.DS_Store index 9af52741..3271e510 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/components/Core/indexAuth.tsx b/components/Core/indexAuth.tsx index 0c153872..89631e52 100644 --- a/components/Core/indexAuth.tsx +++ b/components/Core/indexAuth.tsx @@ -142,50 +142,53 @@ export default function IndexAuth() { }, [session?.user?.id]) return ( - <> - - - {session?.user?.id && showProfile == true && ( +

+ ) + +// return ( +// <> +// + +// {session?.user?.id && showProfile == true && ( -
-

Your profile

+//
+//

Your profile

-
- - -

Username: {profile?.username}

- -
- setUsername(e.target.value)} - value={username} - /> - -
- {/* )} */} -
- )} - - - {session?.user?.id == 'cebdc7a2-d8af-45b3-b37f-80f328ff54d6' && ( - Test - )} - - - ) +//
+// + +//

Username: {profile?.username}

+// +//
+// setUsername(e.target.value)} +// value={username} +// /> +// +//
+// {/* )} */} +//
+// )} +// +// {/* */} +// {session?.user?.id == 'cebdc7a2-d8af-45b3-b37f-80f328ff54d6' && ( +// Test +// )} +// +//
} \ No newline at end of file diff --git a/components/onboarding/LightKurve/transitMethod.tsx b/components/onboarding/LightKurve/transitMethod.tsx index 88e2baa7..ac58dfd7 100644 --- a/components/onboarding/LightKurve/transitMethod.tsx +++ b/components/onboarding/LightKurve/transitMethod.tsx @@ -1,9 +1,21 @@ +import Link from 'next/link'; import React from 'react'; const Instructions: React.FC = () => { return (
+
+
+ + + + {/* Add a component/test that the user has to pass before getting to view the next step. How do we make this persistent though? Maybe just have this for milestones, provided they've updated their basic profile information */} +
+ +
+ +

The first study we’re taking part in is the Planet Hunters project

@@ -38,7 +50,17 @@ const Instructions: React.FC = () => {

There are several citizen science projects that focus on the discovery, analysis, and follow-up of exoplanets - planets outside our Solar System. The Planet Hunters TESS Coffee Chat team works in collaboration with these projects, in particular, Planet Hunters Transiting Exoplanet Survey Satellite or TESS.

-
+

+
+ + + + +
+ +
+ +

); }; diff --git a/components/onboarding/index.tsx b/components/onboarding/index.tsx index ca47dd90..4d5b5b69 100644 --- a/components/onboarding/index.tsx +++ b/components/onboarding/index.tsx @@ -2,6 +2,7 @@ import { useSession, useSupabaseClient } from '@supabase/auth-helpers-react'; import React from 'react'; import Login from '../../pages/login'; import { useDarkMode } from '../Globals/DarkModeToggle'; +import Link from 'next/link'; const Instructions: React.FC = () => { // User prefs @@ -9,8 +10,8 @@ const Instructions: React.FC = () => { const session = useSession(); // Styling hooks - const [isDarkMode, toggleDarkMode] = useDarkMode(); - + const [isDarkMode, toggleDarkMode] = useDarkMode(); + if (!session) { return ( @@ -28,34 +29,43 @@ const Instructions: React.FC = () => { */}

There's a number of exciting research projects you're going to be able to contribute to! -

+


- Using the transit method to find exoplanets reveals a lot of information about the planet itself - the size of the dip in light is related to the fraction of light that is being blocked out by a planet - for a given star, a larger planet means the dip is larger, and a smaller planet results in a smaller dip. -

-
+ Welcome to "Star Sailors," an exciting realm of citizen science where you'll embark on a captivating journey as a star sailor. Immerse yourself in our training program, which will guide you through various projects focused on scientific research. Get ready to explore the vast expanse of space and contribute to unraveling the mysteries of the universe. +


+ {/*
Size Estimation -
+
*/}

- Space-based satellites such as Gaia can tell us the size of stars that TESS looks at, meaning that when a transit event is found, its depth can be used to estimate the size of the planet. + In the training program, you'll become skilled at analyzing graphs, videos, and data to identify exoplanets—planets that orbit stars beyond our solar system. Through informative tutorials, you'll learn to decipher the intricate patterns and anomalies within the graphs, gaining expertise in making informed classifications.

-

Why not use AI?

+

Collaboration

- You might be wondering why astronomers use visual vetting (looking at data by eye) when there are computers that can do this. Computer algorithms are very good at finding certain types of transit events; however, they also tend to miss other types of transits. More specifically, most transit search algorithms require at least two transit events for the algorithm to identify it. This means that machines are biased toward finding short period planets (planets where the duration of a year is very short) and tend to miss the longer period planets. + Collaboration is at the heart of the training program. Engage in discussions with fellow star sailors, sharing insights and exchanging ideas. Together, you'll uncover the secrets hidden within the data. Consensus is sought through collaborative decision-making, allowing the community to leverage collective knowledge. +

+
+
+ +
+

Voting

+
+

+ Once discussions have taken place, it's time to cast your vote. By voting, you contribute to the collective wisdom of the star sailor community, bringing us closer to understanding the cosmos. This user flow of data analysis, discussion, and voting forms the core of the training program, which remains consistent across all projects within "Star Sailors."

-

Other projects/classifications

- There are several citizen science projects that focus on the discovery, analysis, and follow-up of exoplanets - planets outside our Solar System. The Planet Hunters TESS Coffee Chat team works in collaboration with these projects, in particular, Planet Hunters Transiting Exoplanet Survey Satellite or TESS. + Prepare for an extraordinary journey as a Star Sailor, where your contributions as a citizen scientist will shape the course of astronomical discoveries. Welcome aboard this cosmic adventure!

-
- +

+ {/* Add user profile section, check username :) */} +
); }; diff --git a/pages/index.tsx b/pages/index.tsx index 4d8ce6c7..18854744 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -42,7 +42,138 @@ export default function Home() { )} { session && ( <> - {/* */} + <> +
+
+
+
+ +
+ +

+ Welcome to Star Sailors
+

+ +

Our game offers a unique and engaging experience that combines the excitement of gaming with scientific knowledge. By playing, you can actively contribute to scientific research by classifying objects based on real-world data. Our current focus is on the planets mini-game, where you can help identify potential new planets discovered by the TESS telescope. To start playing, log in to the Star Sailors website and navigate to the planets page where you'll classifying different objects with relevant information to help you make informed decisions. You can create posts about your decisions and invite other users to vote on your assessment. As you participate, you'll earn points that can be redeemed for rewards and recognition within the Star Sailors community. Join us today and embark on a thrilling journey of discovery and learning!

+ + {/* Read more about the offer » */} +
+
+
+
+

Recent classifications by our users

+ +

+
+
+ + )} diff --git a/pages/tests/onboarding/index.tsx b/pages/tests/onboarding/index.tsx index fe4efb71..00077786 100644 --- a/pages/tests/onboarding/index.tsx +++ b/pages/tests/onboarding/index.tsx @@ -7,5 +7,5 @@ export default function OnboardingSignupPage () { - ) -} \ No newline at end of file + ); +}; \ No newline at end of file diff --git a/pages/tests/onboarding/planetHunters/1.tsx b/pages/tests/onboarding/planetHunters/1.tsx new file mode 100644 index 00000000..90a7d258 --- /dev/null +++ b/pages/tests/onboarding/planetHunters/1.tsx @@ -0,0 +1,11 @@ +import React from "react"; +import CoreLayout from "../../../../components/Core/Layout"; +import Instructions from "../../../../components/onboarding/LightKurve/transitMethod"; + +export default function PlanetHuntersOnboardingPage1 () { + return ( + + + + ); +}; \ No newline at end of file