Skip to content

Commit

Permalink
Remove theme selector
Browse files Browse the repository at this point in the history
- Keep dark theme
- Edit import of 'comments' in utterances post
- Edit some styles

Signed-off-by: Randy <randymoralesg@gmail.com>
  • Loading branch information
randymorales committed Feb 7, 2022
1 parent 4f5425a commit 428d048
Show file tree
Hide file tree
Showing 11 changed files with 5,006 additions and 418 deletions.
4 changes: 0 additions & 4 deletions components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Link from 'next/link'

import useTranslation from '@/i18n/useTranslation'
import Translator from '@/components/Translator'
import ThemeSelector from '@/components/ThemeSelector'

import navbarStyles from '@/styles/navbar.module.css'

Expand Down Expand Up @@ -33,9 +32,6 @@ export default function Header() {
</div>
</li>
</ul>
<div>
<ThemeSelector />
</div>
</nav>
</header>
)
Expand Down
67 changes: 0 additions & 67 deletions components/ThemeSelector.js

This file was deleted.

3 changes: 0 additions & 3 deletions lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

const CommentsRepo = 'randymorales/randymorales.dev-comments'

const DarkTheme = 'dark'

const Domain = 'randymorales.dev'

const FullName = 'Randy Morales'
Expand All @@ -26,7 +24,6 @@ const TwitterUsername = '@randymoralesg'

export {
CommentsRepo,
DarkTheme,
Domain,
FullName,
LightTheme,
Expand Down
Loading

1 comment on commit 428d048

@vercel
Copy link

@vercel vercel bot commented on 428d048 Feb 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.