Skip to content

Commit

Permalink
chore: change default theme to light
Browse files Browse the repository at this point in the history
  • Loading branch information
ttttonyhe committed Oct 21, 2024
1 parent 4734702 commit ec10d2f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 20 deletions.
5 changes: 1 addition & 4 deletions apps/main/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ function App({ Component, pageProps }: AppPropsWithLayout) {
options={{ showSpinner: false }}
/>
{/* Next-Themes Theme Provider */}
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem={true}>
<ThemeProvider attribute="class" defaultTheme="light" enableSystem={true}>
{/* Redux Store Provider */}
<ReduxProvider store={store}>
<div className="min-h-screen bg-gbg dark:bg-neutral-900 dark:text-white">
Expand Down
32 changes: 16 additions & 16 deletions apps/main/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,25 @@ const Home: NextPageWithLayout = () => {
</div>
</section>
<section className="mt-12">
<label className="inline-flex items-center rounded-full border border-gray-300 bg-white px-4 py-[4px] font-medium tracking-wider shadow-sm dark:border-gray-600 dark:bg-gray-700">
{/* <label className="border-gray-301 inline-flex items-center rounded-full border bg-white px-4 py-[4px] font-medium tracking-wider shadow-sm dark:border-gray-600 dark:bg-gray-700">
<span className="mr-2.5 flex h-5 w-5 text-green-500">
<Icon name="plane" />
</span>
<span className="uppercase">How to Reach Me</span>
</label> */}
<div className="mt-6">
<Top />
</div>
</section>
<section className="mt-6">
{/* <label className="inline-flex items-center rounded-full border border-gray-300 bg-white px-4 py-[4px] font-medium tracking-wider shadow-sm dark:border-gray-600 dark:bg-gray-700">
<span className="mr-1.5 flex h-5 w-5 text-yellow-400">
<Icon name="flag" />
</span>
<span className="uppercase">Featured Content</span>
</label>
</label> */}
<div className="mt-5">
<ResearchPapers />
{/* <ResearchPapers /> */}
<div className="mt-4">
<PagesAndLinks />
</div>
Expand Down Expand Up @@ -313,7 +324,7 @@ const Home: NextPageWithLayout = () => {
/>
</div>
</section>
<section className="mt-14">
{/* <section className="mt-14">
<div className="flex items-center justify-between">
<label className="inline-flex items-center rounded-full border border-gray-300 bg-white px-4 py-[4px] font-medium tracking-wider shadow-sm dark:border-gray-600 dark:bg-gray-700">
<span className="mr-1.5 flex h-5 w-5 text-rose-500">
Expand All @@ -340,18 +351,7 @@ const Home: NextPageWithLayout = () => {
dateString="Aug - Dec 2023"
/>
</div>
</section>
<section className="mt-14">
<label className="inline-flex items-center rounded-full border border-gray-300 bg-white px-4 py-[4px] font-medium tracking-wider shadow-sm dark:border-gray-600 dark:bg-gray-700">
<span className="mr-1.5 flex h-5 w-5 text-green-500">
<Icon name="plane" />
</span>
<span className="uppercase">How to Reach Me</span>
</label>
<div className="mt-5">
<Top />
</div>
</section>
</section> */}
<section className="mb-24 mt-14">
<div className="flex justify-between">
<label className="inline-flex items-center rounded-full border border-gray-300 bg-white px-4 py-[4px] font-medium tracking-wider shadow-sm dark:border-gray-600 dark:bg-gray-700">
Expand Down

0 comments on commit ec10d2f

Please sign in to comment.