Skip to content

Commit

Permalink
refactor: components renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
WHALEEYE committed Jun 27, 2023
1 parent 1666dd0 commit 8bee306
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 46 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion components/small_card.tsx → components/SmallCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Date from "./date";
import Date from "./Date";
import Image from "next/image";
import Link from "next/link";
import {Languages} from "../lib/enums";
Expand Down
29 changes: 0 additions & 29 deletions components/layout.module.css

This file was deleted.

4 changes: 2 additions & 2 deletions pages/articles/[id].tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Layout from "../../components/layout";
import Layout from "../../components/Layout";
import {getAllPostIds, getPostData} from "../../lib/posts";
import Head from "next/head";
import Date from "../../components/date";
import Date from "../../components/Date";
import {GetStaticPaths, GetStaticProps} from "next";
import {section} from "./index"
import Image from "next/image";
Expand Down
6 changes: 3 additions & 3 deletions pages/articles/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import Head from 'next/head'
import Layout, {siteTitle} from '../../components/layout'
import Layout, {siteTitle} from '../../components/Layout'
import {getSortedPostsData} from '../../lib/posts'
import {GetStaticProps} from 'next'
import React from "react";
import Showcase from "../../components/showcase";
import SmallCard from "../../components/small_card";
import Showcase from "../../components/Showcase";
import SmallCard from "../../components/SmallCard";
import {Languages, Sections} from "../../lib/enums";


Expand Down
2 changes: 1 addition & 1 deletion pages/friends.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Head from 'next/head'
import Layout, {siteTitle} from '../components/layout'
import Layout, {siteTitle} from '../components/Layout'
import React from "react";
import {Languages, Sections} from "../lib/enums";

Expand Down
6 changes: 3 additions & 3 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import Head from 'next/head'
import Layout, {siteTitle} from '../components/layout'
import Layout, {siteTitle} from '../components/Layout'
import {getLatestPostsData} from '../lib/posts'
import Link from 'next/link'
import {GetStaticProps} from 'next'
import React from "react";
import Showcase from '../components/showcase'
import SmallCard from "../components/small_card";
import Showcase from '../components/Showcase'
import SmallCard from "../components/SmallCard";
import {Languages, Sections} from "../lib/enums";

export default function Home({allLatestPostsData, curLan, setCurLan}: {
Expand Down
4 changes: 2 additions & 2 deletions pages/profile.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Head from 'next/head'
import Layout, {siteTitle} from '../components/layout'
import Layout, {siteTitle} from '../components/Layout'
import React from "react";
import Link from "next/link";
import Showcase from "../components/showcase";
import Showcase from "../components/Showcase";
import {Languages, Sections} from "../lib/enums";


Expand Down
4 changes: 2 additions & 2 deletions pages/talks/[id].tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Layout from "../../components/layout";
import Layout from "../../components/Layout";
import {getAllPostIds, getPostData} from "../../lib/posts";
import Head from "next/head";
import Date from "../../components/date";
import Date from "../../components/Date";
import {GetStaticPaths, GetStaticProps} from "next";
import {section} from "./index"
import Image from "next/image";
Expand Down
6 changes: 3 additions & 3 deletions pages/talks/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import Head from 'next/head'
import Layout, {siteTitle} from '../../components/layout'
import Layout, {siteTitle} from '../../components/Layout'
import {getSortedPostsData} from '../../lib/posts'
import {GetStaticProps} from 'next'
import React from "react";
import Showcase from "../../components/showcase";
import SmallCard from "../../components/small_card";
import Showcase from "../../components/Showcase";
import SmallCard from "../../components/SmallCard";
import {Languages, Sections} from "../../lib/enums";

export const section = Sections.TALKS;
Expand Down

0 comments on commit 8bee306

Please sign in to comment.