diff --git a/components/Container/Container.module.css b/components/Container/Container.module.css new file mode 100644 index 00000000..d49ef8dc --- /dev/null +++ b/components/Container/Container.module.css @@ -0,0 +1,8 @@ +.container { + background: linear-gradient( + 132.82deg, + rgba(11, 14, 32, 0.64) 5.03%, + rgba(52, 20, 33, 0.9) 73.08% + ); + border-radius: 16px; +} diff --git a/components/Container/index.tsx b/components/Container/index.tsx new file mode 100644 index 00000000..3c35c581 --- /dev/null +++ b/components/Container/index.tsx @@ -0,0 +1,13 @@ +import React from "react"; +import styles from "./Container.module.css"; + +type Props = { + children: React.ReactNode; + className?: string; +}; + +const Container = ({ children, className = "" }: Props) => { + return
{children}
; +}; + +export default Container; diff --git a/pages/index.tsx b/pages/index.tsx index 8ba594c7..97266bc3 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -3,6 +3,8 @@ import Head from "next/head"; import Image from "next/image"; import styles from "../styles/Home.module.css"; +import Container from "components/Container"; + const Home: NextPage = () => { return (
@@ -12,33 +14,35 @@ const Home: NextPage = () => {
- -

Documentation →

-

Find in-depth information about Next.js features and API.

-
+ + +

Documentation →

+

Find in-depth information about Next.js features and API.

+
+
- -

Learn →

-

Learn about Next.js in an interactive course with quizzes!

-
+ + +

Learn →

+

Learn about Next.js in an interactive course with quizzes!

+
+
- -

Examples →

-

Discover and deploy boilerplate example Next.js projects.

-
+ + +

Examples →

+

Discover and deploy boilerplate example Next.js projects.

+
+
- -

Deploy →

-

- Instantly deploy your Next.js site to a public URL with Vercel. -

-
+ + +

Deploy →

+

+ Instantly deploy your Next.js site to a public URL with Vercel. +

+
+
diff --git a/styles/Home.module.css b/styles/Home.module.css index ca6f86f0..272f7493 100644 --- a/styles/Home.module.css +++ b/styles/Home.module.css @@ -28,7 +28,7 @@ } .title a { - color: #0070f3; + color: orange; text-decoration: none; } @@ -79,7 +79,6 @@ color: inherit; text-decoration: none; border: 1px solid #eaeaea; - border-radius: 10px; transition: color 0.15s ease, border-color 0.15s ease; max-width: 300px; } @@ -87,8 +86,8 @@ .card:hover, .card:focus, .card:active { - color: #0070f3; - border-color: #0070f3; + color: orange; + border-color: orange; } .card h2 {