Skip to content

Commit

Permalink
fix: ci cd issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiginicoletti committed Sep 8, 2024
1 parent 3b439ac commit 9824e2c
Show file tree
Hide file tree
Showing 47 changed files with 2,354 additions and 1,145 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ N/A
N/A

- **Solution**
N/A
N/A

</details>

Expand Down
18 changes: 9 additions & 9 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import '../styles/globals.css'
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "../styles/globals.css";

const inter = Inter({ subsets: ['latin'] })
const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
title: "Create Next App",
description: "Generated by create next app",
};

export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
)
);
}
24 changes: 12 additions & 12 deletions app/octopost/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
import '../../styles/globals.css'
import type { Metadata } from 'next'
import { Poppins } from 'next/font/google'
import React from 'react'
import "../../styles/globals.css";
import type { Metadata } from "next";
import { Poppins } from "next/font/google";
import React from "react";

const poppins = Poppins({
subsets: ['latin'],
weight: ['100', '200', '300', '400', '500', '600', '700', '800', '900'],
})
subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});

export const metadata: Metadata = {
title: 'Octopost',
title: "Octopost",
description:
'A octo te leva para um mergulho em todas suas redes em um click',
}
"A octo te leva para um mergulho em todas suas redes em um click",
};

export default function RootLayout({
children,
}: {
children: React.ReactNode
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={`${poppins.className} bg-primary-gray max-h-screen`}>
{children}
</body>
</html>
)
);
}
19 changes: 9 additions & 10 deletions app/octopost/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import About from '@/components/octopost/About/About'
import Datas from '@/components/octopost/Datas/Datas'
import Faq from '@/components/octopost/Faq/Faq'
import Hero from '@/components/octopost/Hero/Hero'
import Navbar from '@/components/octopost/Navbar/Navbar'
import JoinUs from '@/components/octopost/JoinUs/JoinUs'
import Works from '@/components/octopost/Works/Works'
import Footer from '@/components/octopost/Footer/Footer'
import About from "@/components/octopost/About/About";
import Faq from "@/components/octopost/Faq/Faq";
import Hero from "@/components/octopost/Hero/Hero";
import Navbar from "@/components/octopost/Navbar/Navbar";
import JoinUs from "@/components/octopost/JoinUs/JoinUs";
import Works from "@/components/octopost/Works/Works";
import Footer from "@/components/octopost/Footer/Footer";

function Page() {
return (
Expand All @@ -18,7 +17,7 @@ function Page() {
<Faq />
<Footer />
</>
)
);
}

export default Page
export default Page;
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export default function Home() {
<div className="animate-spin text-8xl font-extrabold">Devhat</div>
<div className="animate-ping text-4xl duration-1000">Coming soon...</div>
</main>
)
);
}
26 changes: 13 additions & 13 deletions app/petdex/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
import '../../styles/globals.css'
import type { Metadata } from 'next'
import { Montserrat } from 'next/font/google'
import React from 'react'
import "../../styles/globals.css";
import type { Metadata } from "next";
import { Montserrat } from "next/font/google";
import React from "react";

const montserrat = Montserrat({
subsets: ['latin'],
weight: ['100', '200', '300', '400', '500', '600', '700', '800', '900'],
variable: '--font-montserrat',
})
subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
variable: "--font-montserrat",
});

export const metadata: Metadata = {
title: 'Petdex',
title: "Petdex",
description:
'Bem vindo ao petdex. Clique aqui para saber mais sobre os pets.',
}
"Bem vindo ao petdex. Clique aqui para saber mais sobre os pets.",
};

export default function RootLayout({
children,
}: {
children: React.ReactNode
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={`${montserrat.className} bg-primary-gray max-h-screen`}>
{children}
</body>
</html>
)
);
}
6 changes: 3 additions & 3 deletions app/petdex/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import Footer from '@/components/petdex/Footer/Footer'
import Footer from "@/components/petdex/Footer/Footer";

function Page() {
return (
<>
<Footer />
</>
)
);
}

export default Page
export default Page;
8 changes: 4 additions & 4 deletions components/octopost/About/assets/AboutLogo.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import React from "react";

function AboutLogo() {
return (
Expand Down Expand Up @@ -203,7 +203,7 @@ function AboutLogo() {
></path>
<mask
id="mask0_242_392"
style={{ maskType: 'luminance' }}
style={{ maskType: "luminance" }}
width="380"
height="381"
x="413"
Expand Down Expand Up @@ -1013,7 +1013,7 @@ function AboutLogo() {
</linearGradient>
</defs>
</svg>
)
);
}

export default AboutLogo
export default AboutLogo;
14 changes: 7 additions & 7 deletions components/octopost/About/assets/AboutLogoIcons.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import React from "react";

function AboutIcons1() {
return (
Expand Down Expand Up @@ -36,7 +36,7 @@ function AboutIcons1() {
</linearGradient>
</defs>
</svg>
)
);
}
function AboutIcons2() {
return (
Expand Down Expand Up @@ -74,7 +74,7 @@ function AboutIcons2() {
</linearGradient>
</defs>
</svg>
)
);
}

function AboutIcons3() {
Expand Down Expand Up @@ -113,7 +113,7 @@ function AboutIcons3() {
</linearGradient>
</defs>
</svg>
)
);
}

function AboutIcons4() {
Expand Down Expand Up @@ -152,7 +152,7 @@ function AboutIcons4() {
</linearGradient>
</defs>
</svg>
)
);
}

function AboutIcons5() {
Expand All @@ -174,7 +174,7 @@ function AboutIcons5() {
fill="white"
/>
</svg>
)
);
}

export { AboutIcons1, AboutIcons2, AboutIcons3, AboutIcons4, AboutIcons5 }
export { AboutIcons1, AboutIcons2, AboutIcons3, AboutIcons4, AboutIcons5 };
6 changes: 3 additions & 3 deletions components/octopost/About/assets/CloudIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import React from "react";

function CloudIcon() {
return (
Expand Down Expand Up @@ -368,7 +368,7 @@ function CloudIcon() {
</linearGradient>
</defs>
</svg>
)
);
}

export default CloudIcon
export default CloudIcon;
2 changes: 1 addition & 1 deletion components/octopost/Datas/Datas.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client";
import { motion, stagger } from "framer-motion";
import { motion } from "framer-motion";
import { CloudIcon } from "./assets/CloudIcon";
import { ArrowLeft, ArrowRight } from "lucide-react";
import { useRef } from "react";
Expand Down
2 changes: 1 addition & 1 deletion components/octopost/Datas/assets/CloudIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export function CloudIcon() {
fill-opacity="0.9"
/>
</svg>
)
);
}
2 changes: 1 addition & 1 deletion components/octopost/Faq/assets/FaqLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,5 +277,5 @@ export default function FaqLogo() {
</clipPath>
</defs>
</svg>
)
);
}
2 changes: 1 addition & 1 deletion components/octopost/Faq/assets/MinusIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export default function MinusIcon() {
fill="white"
/>
</svg>
)
);
}
2 changes: 1 addition & 1 deletion components/octopost/Faq/assets/PlusIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export default function MinusIcon() {
fill="#1D1E25"
/>
</svg>
)
);
}
8 changes: 4 additions & 4 deletions components/octopost/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import InputMail from "./InputMail";

export default function Footer() {
return (
<footer className="flex flex-col md:flex-row lg:flex-row justify-evenly items-center bg-[#221440] text-octopost-primaryWhite h-[428px] w-full">
<footer className="flex h-[428px] w-full flex-col items-center justify-evenly bg-[#221440] text-octopost-primaryWhite md:flex-row lg:flex-row">
<motion.div
initial={{ y: 300, opacity: 0, scale: 0.9 }}
whileInView={{ y: 0, opacity: 1, scale: 1 }}
Expand All @@ -19,7 +19,7 @@ export default function Footer() {
<div className="mix-blend-luminosity">
<Logo />
</div>
<div className="font-bold leading-10 space-x-4 text-center max-w-[250px]">
<div className="max-w-[250px] space-x-4 text-center font-bold leading-10">
<Link href="/"> About Us</Link>
<Link href="/">Team</Link>
<Link href="/">Careers</Link>
Expand All @@ -33,7 +33,7 @@ export default function Footer() {
whileInView={{ y: 0, opacity: 1, scale: 1 }}
transition={{ duration: 0.4 }}
exit={{ y: 300, opacity: 0 }}
className="space-y-4 max-w-[300px]"
className="max-w-[300px] space-y-4"
>
<div className="space-y-4">
<h1 className="font-bold">Newsletter</h1>
Expand Down Expand Up @@ -62,5 +62,5 @@ export default function Footer() {
</div>
</motion.div>
</footer>
)
);
}
12 changes: 5 additions & 7 deletions components/octopost/Footer/InputMail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ import { motion } from "framer-motion";
import React, { useState } from "react";
import InputIcon from "./assets/InputIcon";

type Props = {};

export default function InputMail({}: Props) {
export default function InputMail() {
const [isClicked, setIsClicked] = useState(false);

const handleClick = () => {
setIsClicked(true);
};

return (
<div className="flex items-center over">
<div className="over flex items-center">
<motion.div
className="flex"
initial={{ width: "250px", opacity: 1 }}
Expand All @@ -24,7 +22,7 @@ export default function InputMail({}: Props) {
style={{ overflow: "hidden" }}
>
<motion.input
className="p-2 outline-cyan-800/30 bg-cyan-900/20 text-white outline mr-[3px] h-[46px]"
className="mr-[3px] h-[46px] bg-cyan-900/20 p-2 text-white outline outline-cyan-800/30"
type="text"
placeholder="Entre com seu email"
style={{ width: "100%" }}
Expand All @@ -38,7 +36,7 @@ export default function InputMail({}: Props) {
opacity: 1,
}}
transition={{ duration: 1.5, ease: "easeInOut" }}
className="flex items-center justify-center w-[62px] h-[46px]"
className="flex h-[46px] w-[62px] items-center justify-center"
onClick={handleClick}
>
<motion.div
Expand All @@ -65,7 +63,7 @@ export default function InputMail({}: Props) {
>
<InputIcon />
<div
className={`h-2 ${isClicked ? "opacity-100" : "opacity-0"} transition duration-1000 absolute top-[14px] left-[24px] text-[0.4rem] font-light w-2 rounded-full bg-red-500 flex-center`}
className={`h-2 ${isClicked ? "opacity-100" : "opacity-0"} flex-center absolute left-[24px] top-[14px] w-2 rounded-full bg-red-500 text-[0.4rem] font-light transition duration-1000`}
>
1
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/octopost/Footer/assets/InputIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export default function InputIcon() {
fill="white"
/>
</svg>
)
);
}
Loading

0 comments on commit 9824e2c

Please sign in to comment.