-
Notifications
You must be signed in to change notification settings - Fork 6
added homepage #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
added homepage #34
Changes from all commits
9c5946c
8cf12f8
ed1b09f
d803123
94df107
ef14acf
c13690b
3c252fe
ac1c93c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,164 @@ | ||
| import React from "react"; | ||
| import { Inter } from "next/font/google"; | ||
| import styles from "@/styles/Home.module.css"; | ||
| const inter = Inter({ subsets: ["latin"] }); | ||
|
|
||
| const Center = () => { | ||
| return ( | ||
| <div className={inter.className}> | ||
| <div className={styles.testca}> | ||
| <div className={styles.data}> | ||
| <div className={styles.details1}> | ||
| <p>An Open Source Comprehensive Test Case Generator</p> | ||
| </div> | ||
|
|
||
| <div className={styles.author}> | ||
| <a | ||
| href="https://www.linkedin.com/in/ank1traj/" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| > | ||
| By Ankit Raj | ||
| </a> | ||
| </div> | ||
| </div> | ||
|
|
||
| <div className={styles.imag}> | ||
| <div className="relative rounded-lg bg-slate-900 p-2 "> | ||
| <div className="relative flex text-center"> | ||
| <div className="flex pl-3.5 pt-3"> | ||
| <svg | ||
| viewBox="0 0 24 24" | ||
| fill="currentColor" | ||
| className="-ml-0.5 mr-1.5 h-3 w-3 text-red-500/20" | ||
| > | ||
| <circle r="12" cy="12" cx="12"></circle> | ||
| </svg> | ||
| <svg | ||
| viewBox="0 0 24 24" | ||
| fill="currentColor" | ||
| className="-ml-0.75 mr-1.5 h-3 w-3 text-yellow-500/20" | ||
| > | ||
| <circle r="12" cy="12" cx="12"></circle> | ||
| </svg> | ||
| <svg | ||
| viewBox="0 0 24 24" | ||
| fill="currentColor" | ||
| className="-ml-0.75 mr-1.5 h-3 w-3 text-green-500/20" | ||
| > | ||
| <circle r="12" cy="12" cx="12"></circle> | ||
| </svg> | ||
| </div> | ||
| <span className="absolute inset-x-0 top-2 text text-slate-500"></span> | ||
| </div> | ||
| <div className="mt-5 space-y-1.5 px-5 pb-10"> | ||
| <p className="mt-4 font-mono text font-normal tracking-wide text-violet-400"> | ||
| <span className="text-slate-500"><</span> | ||
| <span className="text-pink-400">Card</span> | ||
| <span className="text-slate-500">></span> | ||
| </p> | ||
| <p className="ml-3 font-mono text font-normal tracking-wide text-violet-400"> | ||
| <span className="text-slate-500"><</span> | ||
| <span className="text-pink-400">Text</span> | ||
| <span className="text-slate-500">></span> | ||
| <span className="relative inline-block px-1 before:absolute before:-inset-0.5 before:block before:rounded before:bg-blue-500/10"> | ||
| <span className="relative text-blue-400"> | ||
| Testcase case generator | ||
| </span> | ||
| </span> | ||
| <span className="text-slate-500"></</span> | ||
| <span className="text-pink-400">Text</span> | ||
| <span className="text-slate-500">></span> | ||
| </p> | ||
| <p className="ml-3 font-mono text font-normal leading-4 tracking-wide text-violet-400"> | ||
| <span className="text-slate-500"><</span> | ||
| <span className="text-pink-400">Event</span> | ||
| <span className="text-slate-500">></span> | ||
| <span className="relative inline-block px-1 before:absolute before:-inset-0.5 before:block before:rounded before:bg-blue-500/10"> | ||
| <span className="relative text-blue-400">Codepeak 2023</span> | ||
| </span> | ||
| <span className="text-slate-500"></</span> | ||
| <span className="text-pink-400">Event</span> | ||
| <span className="text-slate-500">></span> | ||
| </p> | ||
| <p className="ml-3 font-mono text font-normal tracking-wide text-violet-400"> | ||
| <span className="text-slate-500"><</span> | ||
| <span className="text-pink-400">Flex</span> | ||
| <span className="ml-2 text-violet-400"> | ||
| className<span className="text-slate-500">=</span> | ||
| <span className="relative inline-block px-1 before:absolute before:-inset-0.5 before:block before:rounded before:bg-blue-500/10"> | ||
| <span className="relative text-blue-400">Owner</span> | ||
| </span> | ||
| </span> | ||
| <span className="text-slate-500">></span> | ||
| <span className="relative text-blue-400">AnkitRaj</span> | ||
| <span className="text-slate-500"><</span> | ||
| <span className="text-pink-400">Flex</span>> | ||
| </p> | ||
| <p className="ml-6 font-mono text font-normal tracking-wide text-violet-400"> | ||
| <span className="text-slate-500"><</span> | ||
| <span className="text-pink-400">Text</span> | ||
| <span className="text-slate-500">></span> | ||
| <span className="text-slate-500"><</span> | ||
| <span className="text-pink-400">Bold</span> | ||
| <span className="text-slate-500">></span> | ||
| <span className="relative inline-block px-1 before:absolute before:-inset-0.5 before:block before:rounded before:bg-blue-500/10"> | ||
| <span className="relative text-blue-400">32%</span> | ||
| </span> | ||
| <span className="text-slate-500"></</span> | ||
| <span className="text-pink-400">Bold</span> | ||
| <span className="text-slate-500">></span> | ||
| <span className="relative inline-block px-1 before:absolute before:-inset-0.5 before:block before:rounded before:bg-blue-500/10"> | ||
| <span className="relative text-blue-400">Open Sourced</span> | ||
| </span> | ||
| <span className="text-slate-500"></</span> | ||
| <span className="text-pink-400">Text</span> | ||
| <span className="text-slate-500">></span> | ||
| </p> | ||
| <p className="ml-6 font-mono text font-normal tracking-wide text-violet-400"> | ||
| <span className="text-slate-500"><</span> | ||
| <span className="text-pink-400">Text</span> | ||
| <span className="text-slate-500">></span> | ||
| <span className="relative inline-block px-1 before:absolute before:-inset-0.5 before:block before:rounded before:bg-blue-500/10"> | ||
| <span className="relative text-blue-400">$ 223,328</span> | ||
| </span> | ||
| <span className="text-slate-500"></</span> | ||
| <span className="text-pink-400">Text</span> | ||
| <span className="text-slate-500">></span> | ||
| </p> | ||
| <p className="ml-3 font-mono text font-normal tracking-wide text-violet-400"> | ||
| <span className="text-slate-500"></</span> | ||
| <span className="text-pink-400">Flex</span> | ||
| <span className="text-slate-500">></span> | ||
| </p> | ||
| <p className="ml-3 font-mono text font-normal leading-4 tracking-wide text-violet-400"> | ||
| <span className="text-slate-500"><</span> | ||
| <span className="text-pink-400">ProgressBar</span> | ||
| <span className="ml-2 text-violet-400"> | ||
| value<span className="text-slate-500">=</span> | ||
| <span className="relative inline-block px-1 before:absolute before:-inset-0.5 before:block before:rounded before:bg-blue-500/10"> | ||
| <span className="relative text-blue-400">{32}</span> | ||
| </span> | ||
| </span> | ||
| <span className="ml-2 text-violet-400"> | ||
| className<span className="text-slate-500">=</span> | ||
| <span className="relative inline-block px-1 before:absolute before:-inset-0.5 before:block before:rounded before:bg-blue-500/10"> | ||
| <span className="relative text-blue-400">mt-3</span> | ||
| </span> | ||
| </span> | ||
| <span className="text-slate-500">/></span> | ||
| </p> | ||
| <p className="font-mono text font-normal tracking-wide text-violet-400"> | ||
| <span className="text-slate-500"></</span> | ||
| <span className="text-pink-400">Card</span> | ||
| <span className="text-slate-500">></span> | ||
| </p> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| ); | ||
| }; | ||
|
|
||
| export default Center; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| module.exports = { | ||
| plugins: { | ||
| tailwindcss: {}, | ||
| autoprefixer: {}, | ||
| }, | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -8,6 +8,47 @@ | |||||||||||||||||||||||||||||
| padding-top: 3rem; | ||||||||||||||||||||||||||||||
| min-height: 100vh; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| .testca{ | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||||||||||
| align-items: center; | ||||||||||||||||||||||||||||||
| justify-content: center; | ||||||||||||||||||||||||||||||
| margin: 50px; | ||||||||||||||||||||||||||||||
| margin-bottom: 300px; | ||||||||||||||||||||||||||||||
| padding: 50px 20px; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| @media (max-width:700px) { | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| .testca{ | ||||||||||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||||||||||
| flex-direction: column; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| .data{ | ||||||||||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||||||||||
| flex-direction: column; | ||||||||||||||||||||||||||||||
| justify-content: center; | ||||||||||||||||||||||||||||||
| align-items: flex-start; | ||||||||||||||||||||||||||||||
| max-width: 50%; | ||||||||||||||||||||||||||||||
| font-size: 35px; | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| .author a{ | ||||||||||||||||||||||||||||||
| font-size: 20px; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
Comment on lines
+39
to
+41
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||||||||||||||||||||||||||||||
| .imag{ | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| max-width: 50%; | ||||||||||||||||||||||||||||||
| display: flex; | ||||||||||||||||||||||||||||||
| justify-content: center; | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
Comment on lines
+42
to
+49
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The - display: flex;
- justify-content: center;Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| .nav { | ||||||||||||||||||||||||||||||
| display: inherit; | ||||||||||||||||||||||||||||||
|
|
@@ -191,22 +232,19 @@ | |||||||||||||||||||||||||||||
| width: 190px; | ||||||||||||||||||||||||||||||
| height: 150px; | ||||||||||||||||||||||||||||||
| border-radius: var(--border-radius); | ||||||||||||||||||||||||||||||
| background-image: linear-gradient(163deg, #00ff75 0%, #3700ff 100%); | ||||||||||||||||||||||||||||||
| margin-bottom: 10px; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| .card2{ | ||||||||||||||||||||||||||||||
| width: 200px; | ||||||||||||||||||||||||||||||
| height: 150px; | ||||||||||||||||||||||||||||||
| background-color: #1a1a1a; | ||||||||||||||||||||||||||||||
| padding: 1rem 1.2rem; | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| .card2:hover { | ||||||||||||||||||||||||||||||
| transform: scale(0.98); | ||||||||||||||||||||||||||||||
| border-radius: 20px; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| .card:hover{ | ||||||||||||||||||||||||||||||
| background-image: linear-gradient(163deg, #00ff75 0%, #3700ff 100%); | ||||||||||||||||||||||||||||||
| box-shadow: 0px 0px 30px 1px rgba(0, 255, 117, 0.30); | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| .card2 span { | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,8 @@ | ||
| @tailwind base; | ||
| @tailwind components; | ||
| @tailwind utilities; | ||
|
|
||
|
|
||
| :root { | ||
| --max-width: 1100px; | ||
| --border-radius: 12px; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| /** @type {import('tailwindcss').Config} */ | ||
| module.exports = { | ||
| content: [ | ||
| "./app/**/*.{js,ts,jsx,tsx,mdx}", | ||
| "./pages/**/*.{js,ts,jsx,tsx,mdx}", | ||
| "./components/**/*.{js,ts,jsx,tsx,mdx}", | ||
|
|
||
| // Or if using `src` directory: | ||
| "./src/**/*.{js,ts,jsx,tsx,mdx}", | ||
| ], | ||
| theme: { | ||
| extend: {}, | ||
| }, | ||
| plugins: [], | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
.testcaclass has inconsistent vertical margins which may not be intentional. Consider using a consistent margin shorthand property.Committable suggestion