Skip to content

Commit

Permalink
chore: Update about page and frequent questions section
Browse files Browse the repository at this point in the history
  • Loading branch information
EdSDR committed Jul 16, 2024
1 parent c2baa76 commit 5ed5e82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
6 changes: 5 additions & 1 deletion apps/commune-page/src/app/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default function Page(): JSX.Element {
About
<span className="font-thin text-green-500"> us</span>
</h2>
<p className="text-xl text-gray-400">A Knowledge Treasure Trove</p>
</div>
{sections.map((section, index) => {
return (
Expand All @@ -25,6 +24,11 @@ export default function Page(): JSX.Element {
/>
);
})}
<div className="flex w-full flex-col space-y-4 pb-8 pt-16">
<h2 className="w-[80%] text-3xl font-medium text-white lg:text-5xl">
FAQ
</h2>
</div>
<FrequentQuestions />
</main>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,6 @@ import { faqData } from "../../../utils/mocks/frequent-questions";
export function FrequentQuestions(): JSX.Element {
return (
<section className="relative animate-fade-up overflow-hidden pb-12 text-left text-white animate-delay-200">
<div className="p-4 px-4">
<div className="mx-auto max-w-screen-2xl">
<div className="flex w-full items-center justify-between text-left">
<div className="flex w-full flex-col space-y-4 pb-4 pt-8">
<h2 className="w-[80%] text-3xl font-medium text-white lg:text-5xl">
Frequently asked
<span className="font-thin text-green-500"> questions</span>
</h2>
<p className="text-xl text-gray-400">
A Knowledge Treasure Trove
</p>
</div>
</div>
</div>
</div>
<div className="border border-white/20 bg-[#898989]/5 px-12 py-4 backdrop-blur-md">
{faqData.map((faq) => (
<div key={faq.question}>
Expand Down
2 changes: 1 addition & 1 deletion apps/commune-page/src/utils/mocks/sections-mock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const sections = [
{
sectionName: "tokenomics",
title: "Tokenomics",
subtitle: `Premine`,
subtitle: `No Premine`,
iconSrc: "/tokenomics-icon.svg",
features: [
{
Expand Down

0 comments on commit 5ed5e82

Please sign in to comment.