From fd0740d12abcd72bb59a120b2bb2fdf11c8a56aa Mon Sep 17 00:00:00 2001 From: Divlo Date: Thu, 9 Sep 2021 10:08:42 +0200 Subject: [PATCH] fix: add text that I'm a student at University --- components/Header/SwitchTheme.tsx | 45 +- locales/en/home.json | 2 +- locales/fr/home.json | 2 +- package-lock.json | 6175 +++-------------------------- pages/_app.tsx | 4 +- pages/_document.tsx | 40 +- 6 files changed, 487 insertions(+), 5781 deletions(-) diff --git a/components/Header/SwitchTheme.tsx b/components/Header/SwitchTheme.tsx index b95d2a3..4646451 100644 --- a/components/Header/SwitchTheme.tsx +++ b/components/Header/SwitchTheme.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from 'react' +import { useEffect, useState } from 'react' import { useTheme } from 'next-themes' export const SwitchTheme: React.FC = () => { @@ -20,25 +20,35 @@ export const SwitchTheme: React.FC = () => { return ( <>
-
+
-
- 🌜 +
+ + 🌜 +
-
- 🌞 +
+ + 🌞 +
-
+
@@ -46,16 +56,8 @@ export const SwitchTheme: React.FC = () => {