mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Move page styles to the main styles folder
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ import { FC } from 'react';
|
|||||||
import { useRouter } from 'next/router';
|
import { useRouter } from 'next/router';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
import IconButton from '../components/IconButton';
|
import IconButton from '../components/IconButton';
|
||||||
import { Wrapper } from './styles/404';
|
import { Wrapper } from '../styles/404';
|
||||||
|
|
||||||
const NotFound: FC = () => {
|
const NotFound: FC = () => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@ import React, { FC, useContext, useState } from 'react';
|
|||||||
import { DarkModeContext } from '../components/DarkMode';
|
import { DarkModeContext } from '../components/DarkMode';
|
||||||
import { useForm, ValidationError } from '@formspree/react';
|
import { useForm, ValidationError } from '@formspree/react';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
import { Wrapper } from './styles/about';
|
import { Wrapper } from '../styles/about';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import Input from '../components/Input';
|
import Input from '../components/Input';
|
||||||
import MDXButton from '../components/MDXButton';
|
import MDXButton from '../components/MDXButton';
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import { MDXEmbedProvider } from 'mdx-embed';
|
|||||||
import { GetStaticPaths, GetStaticProps } from 'next';
|
import { GetStaticPaths, GetStaticProps } from 'next';
|
||||||
import renderToString from 'next-mdx-remote/render-to-string';
|
import renderToString from 'next-mdx-remote/render-to-string';
|
||||||
import hydrate from 'next-mdx-remote/hydrate';
|
import hydrate from 'next-mdx-remote/hydrate';
|
||||||
import { Wrapper } from '../styles/blog/slug';
|
import { Wrapper } from '../../styles/blog/slug';
|
||||||
import matter from 'gray-matter';
|
import matter from 'gray-matter';
|
||||||
import components from '../../components';
|
import components from '../../components';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { FC } from 'react';
|
import React, { FC } from 'react';
|
||||||
import { useRouter } from 'next/router';
|
import { useRouter } from 'next/router';
|
||||||
import { getBlogPosts } from '../../utils/blog';
|
import { getBlogPosts } from '../../utils/blog';
|
||||||
import { Wrapper } from '../styles/blog';
|
import { Wrapper } from '../../styles/blog';
|
||||||
import Card from '../../components/Card';
|
import Card from '../../components/Card';
|
||||||
import IconButton from '../../components/IconButton';
|
import IconButton from '../../components/IconButton';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@ import { FC } from 'react';
|
|||||||
import { getPortfolioProjects } from '../utils/portfolio';
|
import { getPortfolioProjects } from '../utils/portfolio';
|
||||||
import { getBlogPosts } from '../utils/blog';
|
import { getBlogPosts } from '../utils/blog';
|
||||||
import { GetStaticProps } from 'next';
|
import { GetStaticProps } from 'next';
|
||||||
import { Wrapper } from './styles/home';
|
import { Wrapper } from '../styles/home';
|
||||||
import Hero from '../components/Hero';
|
import Hero from '../components/Hero';
|
||||||
import Button from '../components/Button';
|
import Button from '../components/Button';
|
||||||
import Card from '../components/Card';
|
import Card from '../components/Card';
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import renderToString from 'next-mdx-remote/render-to-string';
|
|||||||
import hydrate from 'next-mdx-remote/hydrate';
|
import hydrate from 'next-mdx-remote/hydrate';
|
||||||
import matter from 'gray-matter';
|
import matter from 'gray-matter';
|
||||||
import components from '../../components';
|
import components from '../../components';
|
||||||
import { Wrapper } from '../styles/portfolio/slug';
|
import { Wrapper } from '../../styles/portfolio/slug';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
import IconButton from '../../components/IconButton';
|
import IconButton from '../../components/IconButton';
|
||||||
import CodeBlock from '../../components/CodeBlock';
|
import CodeBlock from '../../components/CodeBlock';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { FC } from 'react';
|
import React, { FC } from 'react';
|
||||||
import { getPortfolioProjects } from '../../utils/portfolio';
|
import { getPortfolioProjects } from '../../utils/portfolio';
|
||||||
import { useRouter } from 'next/router';
|
import { useRouter } from 'next/router';
|
||||||
import { Wrapper } from '../styles/portfolio';
|
import { Wrapper } from '../../styles/portfolio';
|
||||||
import Card from '../../components/Card';
|
import Card from '../../components/Card';
|
||||||
import IconButton from '../../components/IconButton';
|
import IconButton from '../../components/IconButton';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
|
|||||||
Reference in New Issue
Block a user