Skip to content
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

chore: affiliation page final review #126

Open
wants to merge 4 commits into
base: testnet
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion components/affiliates/affiliateSection1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const AffiliateSection1: FunctionComponent = () => {
return (
<div className={homeStyles.section1}>
<div className={styles.container}>

<div className={styles.bannerContainer}>
<img
alt="affiliation illustration"
Expand Down Expand Up @@ -53,6 +53,7 @@ const AffiliateSection1: FunctionComponent = () => {
</div>
</div>
</div>
<div className="-mb-16" />
</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion components/affiliates/affiliationDefinition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const AffiliationDefinition: FunctionComponent = () => {
return (
<div className={homeStyles.subsection}>
<div className={styles.card1}>
<div className="flex items-center justify-evenly flex-col">
<div className="flex -mt-20 items-center justify-evenly flex-col">
<h2 className={homeStyles.secondTitle}>
What is the stark affiliate program ?
</h2>
Expand Down
12 changes: 9 additions & 3 deletions components/home/homeCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,18 @@ const HomeCard: FunctionComponent<HomeCardProps> = ({
</h2>
)}
<h1
className="text-xl text-[#454545] card-title "
style={{ textShadow: "none", fontFamily: "'Poppins-Regular', sans-serif", fontWeight: "bold" }}
className="text-xl text-[#454545] card-title "
style={{
textShadow: "none",
fontFamily: "'Poppins-Regular', sans-serif",
fontWeight: "bold",
}}
>
{title}
</h1>
<p className="text-[#8C8989] text-xs font-normal ">{description}</p>
<p className="text-[#8C8989] text-xs leading-5 font-normal ">
{description}
</p>
</div>
<div className=" justify-center hidden lg:flex items-center lg:items-stretch lg:justify-end min-w-[300px] lg:flex-1 lg:basis-1/2">
<Image
Expand Down
2 changes: 1 addition & 1 deletion components/partners/partners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const partners: Partner[] = [

const Partners: FunctionComponent = () => {
return (
<div className="relative py-16 flex items-center flex-col sm:flex-row mb-6">
<div className="relative py-12 md:-mt-40 flex items-center flex-col sm:flex-row mb-5">
{/* Description */}
<div className="sm:mr-8 w-full sm:w-fit">
<p className="font-poppins w-full sm:w-[240px] text-base font-medium leading-6 sm:text-left text-gray-500 text-center">
Expand Down
12 changes: 6 additions & 6 deletions styles/affiliates.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.container {
display: flex;
margin: 3rem;
margin: 3rem 3rem 1rem 3rem;
gap: 70px;
align-items: center;
}
Expand All @@ -18,7 +18,7 @@
.content {
display: flex;
flex-direction: column;
margin-left: -90px;
margin-left: -75px;
margin-top: 20px;
}

Expand Down Expand Up @@ -152,7 +152,7 @@
color: var(--content-600);
margin: 1rem auto 0 auto;
text-align: center;
font-size: 0.875rem;
font-size: 0.88rem;
line-height: 1.5rem;
max-width: 574px;
display: block;
Expand All @@ -171,6 +171,7 @@
display: flex;
align-items: center;
margin-bottom: 1rem;
margin-top: -30px;
}

.card2 {
Expand Down Expand Up @@ -398,19 +399,18 @@
text-align: center;
}


.subtitle {
font-size: 14px;
margin-bottom: 0;
margin-left: 100px;
width: 400px;
}

.secondSubtitle{
.secondSubtitle {
margin-left: 89px;
}

.highlights{
.highlights {
margin-left: 155px;
}

Expand Down