diff --git a/README.md b/README.md index 74e239e..eca70b1 100644 --- a/README.md +++ b/README.md @@ -5,33 +5,39 @@ ## Adding new content to the website ### **Adding up blogs.** + Add your article as a new markdown file in the [Blogs directory](https://github.com/intelowlproject/intelowlproject.github.io/tree/develop/Blogs) with the same title as the file. -If you are an IntelOwl contributor and you would like to add content on this blog which is related to IntelOwl, feel free to fork this repository and submit an article! We will review it and publish it! +If you are an IntelOwl contributor and you would like to add content on this blog which is related to IntelOwl, feel free to fork this repository and submit an article! We will review it and publish it! ### **Adding up a new feature/testimonial/sponsor.** In [Constants folder](https://github.com/intelowlproject/intelowlproject.github.io/tree/develop/constants), you can add the content for specific section in thier specific file in form of these json objects, no need to scour the codebase. Features in `featuresdata.ts` - ```(json) + +```(json) { - "color": "lighter", - "title":"feature name", - "description":"feature desc" + "color": "lighter", + "title":"feature name", + "description":"feature desc" } ``` + (color here defines the shade of the container which would be rendered.) Testimonials in `testimonialdata.ts` - ```(json) + +```(json) { - name: "meh", - designation: "engineer", - review: "Lorem ipsum dolor sit amet, consectetur adipiscing elit." + name: "meh", + designation: "engineer", + review: "Lorem ipsum dolor sit amet, consectetur adipiscing elit." } ``` + Sponsors in `sponsordata.ts` + ``` { companyname: "ushfhjhb", @@ -42,8 +48,8 @@ Sponsors in `sponsordata.ts` } ``` - Faq's in `faqdata.ts` + ``` { question: "Lorem ipsum dolor sit a", @@ -52,15 +58,14 @@ Faq's in `faqdata.ts` ``` ### **Contributor Notes** -Make sure to go through the [contribute](https://intelowl.readthedocs.io/en/latest/Contribute.html#create-a-pull-request) section here, before creating your pr. +Make sure to go through the [contribute](https://intelowlproject.github.io/docs//Contribute.html#create-a-pull-request) section here, before creating your pr. While testing any markdown related changes, if you run into any issue, you can do `npx --no-install contentlayer build` to generate the contentlayer content yourself, through your vscode terminal. ##### Run The Application locally + ```commandline npm install npm run dev ``` - - diff --git a/components/Header.tsx b/components/Header.tsx index 19b4297..907d51b 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -38,7 +38,7 @@ export function Header(props: Headerprops) { Features Docs @@ -104,7 +104,7 @@ export function Header(props: Headerprops) { Features Docs diff --git a/components/sections/HeroSection.tsx b/components/sections/HeroSection.tsx index 9646f0a..46cb9bf 100644 --- a/components/sections/HeroSection.tsx +++ b/components/sections/HeroSection.tsx @@ -3,7 +3,7 @@ /* eslint-disable @next/next/no-img-element */ import Link from "next/link"; import { motion } from "framer-motion"; -import { TypeAnimation } from 'react-type-animation'; +import { TypeAnimation } from "react-type-animation"; /* eslint-disable react/jsx-no-undef */ interface HeroSectionProps { @@ -12,7 +12,16 @@ interface HeroSectionProps { export default function HeroSection(props: HeroSectionProps) { const { isMobile } = props; - const words = ["a hash.", 2000, "an ip.", 2000, "a malware.", 2000, "a domain.", 2000]; + const words = [ + "a hash.", + 2000, + "an ip.", + 2000, + "a malware.", + 2000, + "a domain.", + 2000, + ]; return ( <> @@ -23,14 +32,14 @@ export default function HeroSection(props: HeroSectionProps) { >