Skip to content

Commit 9df7ecf

Browse files
Merge pull request #7099 from kishore08-07/add-academy-section
Added academy section to brand page
2 parents 6c8cc1f + 4387875 commit 9df7ecf

File tree

3 files changed

+116
-1
lines changed

3 files changed

+116
-1
lines changed
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
import React from "react";
2+
import styled from "styled-components";
3+
import { SRLWrapper } from "simple-react-lightbox";
4+
import { Row, Col } from "../../../../reusecore/Layout";
5+
import Button from "../../../../reusecore/Button";
6+
import ColorBox from "../../../../components/ColorBox";
7+
import { FiDownloadCloud } from "@react-icons/all-files/fi/FiDownloadCloud";
8+
import AcademyIcon from "../../../../assets/images/academy/academy-layer5.svg";
9+
import AcademyLight from "../../../../assets/images/academy/academy-layer5-light.svg";
10+
11+
const AcademyWrapper = styled.section`
12+
@media (max-width: 575px) {
13+
.brandHeader {
14+
padding: 3rem 0;
15+
}
16+
}
17+
`;
18+
19+
const AcademyBrand = () => {
20+
return (
21+
<AcademyWrapper>
22+
<div className="post-content">
23+
<Row style={{
24+
flexWrap: "wrap"
25+
}} className="brand-section">
26+
<Col $xs={12} $sm={6}>
27+
<h1 className="layerH3">
28+
Academy
29+
</h1>
30+
</Col>
31+
<Col $xs={12} $sm={6} className="download-button">
32+
<a href="/brand/academy-brand-kit.zip">
33+
<Button $primary title="Download Logo Assets" $external={true}>
34+
<FiDownloadCloud size={21} className="icon-left" />
35+
</Button>
36+
</a>
37+
</Col>
38+
<Col>
39+
<p>
40+
The Academy mark includes the Academy name & logo, and any word,
41+
phrase, image, or other designation that identifies the source or
42+
origin of any Layer5 projects. Please don't modify the marks or
43+
use them in a confusing way, including suggesting sponsorship or
44+
endorsement by Layer5, or in a way that confuses Layer5 with
45+
another brand (including your own).
46+
</p>
47+
</Col>
48+
</Row>
49+
<Row style={{
50+
flexWrap: "wrap"
51+
}}>
52+
<Col>
53+
<h2 className="layerH3 in">
54+
Logos
55+
</h2>
56+
</Col>
57+
<SRLWrapper>
58+
<Row $Vcenter className="ImgDiv">
59+
<Col $xs={12} $sm={4}>
60+
<img src={AcademyIcon} style={{ minWidth: "200px" }} alt="Academy Logo" />
61+
</Col>
62+
<Col $xs={12} $sm={4}>
63+
<img src={AcademyLight} style={{ minWidth: "200px" }} alt="AcademyLight Logo" />
64+
</Col>
65+
</Row>
66+
</SRLWrapper>
67+
</Row>
68+
<Row style={{
69+
flexWrap: "wrap"
70+
}}>
71+
<Col $xs={12}>
72+
<h2 className="layerH3 in">
73+
Colors
74+
</h2>
75+
</Col>
76+
<Col $xs={12}>
77+
<p>
78+
The Academy color palette consists of the primary Academy color
79+
and additional shades. The Academy logo should be white or
80+
monochrome tonal when using a color background.
81+
</p>
82+
</Col>
83+
<Row style={{
84+
flexWrap: "wrap"
85+
}} className="color-code-wrapper">
86+
<ColorBox name="Keppel" R="0" G="179" B="159" colorCode="#00B39F" />
87+
<ColorBox name="Caribbean Green" R="0" G="211" B="169" colorCode="#00D3A9" />
88+
<div className="white-color-box">
89+
<ColorBox name="White" R="255" G="255" B="255" dark colorCode="#FFFFFF" />
90+
</div>
91+
</Row>
92+
</Row>
93+
</div>
94+
</AcademyWrapper>
95+
);
96+
};
97+
98+
export default AcademyBrand;

src/sections/Company/Brand/index.js

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const KanvasBrand = loadable(() => import("./Brand-components/kanvas"));
2020
const BrandGuide = loadable(() => import("./Brand-components/brand-guide"));
2121
const StickFigures = loadable(() => import("./Brand-components/stickfigures"));
2222
const Catalog = loadable(() => import("./Brand-components/catalog"));
23+
const Academy = loadable(() => import("./Brand-components/academy"));
2324
const SocialBackgrounds = loadable(() => import("./Brand-components/social-backgrounds"));
2425

2526
const getDimensions = (ele) => {
@@ -112,6 +113,7 @@ const Brand = () => {
112113
const kanvasRef = useRef(null);
113114
const stickfiguresRef = useRef(null);
114115
const CatalogRef = useRef(null);
116+
const AcademyRef = useRef(null);
115117
const SocialBackgroundsRef = useRef(null);
116118

117119
const sectionRefs = [
@@ -129,7 +131,8 @@ const Brand = () => {
129131
{ section: "Kanvas", ref: kanvasRef },
130132
{ section: "Five", ref: stickfiguresRef },
131133
{ section: "Catalog", ref: CatalogRef },
132-
{ section: "SocialBackgrounds", ref: SocialBackgroundsRef }
134+
{ section: "Academy", ref: AcademyRef },
135+
{ section: "SocialBackgrounds", ref: SocialBackgroundsRef },
133136
];
134137

135138
const sectionIdMap = {
@@ -147,6 +150,7 @@ const Brand = () => {
147150
"meshmaster": meshMasterRef,
148151
"kanvas": kanvasRef,
149152
"catalog": CatalogRef,
153+
"academy": AcademyRef,
150154
"five": stickfiguresRef
151155
};
152156

@@ -253,6 +257,9 @@ const Brand = () => {
253257
<div className="section" id="catalog" ref={CatalogRef}>
254258
<Catalog />
255259
</div>
260+
<div className="section" id="academy" ref={AcademyRef}>
261+
<Academy />
262+
</div>
256263
<div className="section" id="five" ref={stickfiguresRef}>
257264
<StickFigures />
258265
</div>
@@ -399,6 +406,16 @@ const Brand = () => {
399406
>
400407
<span> Catalog </span>
401408
</p>
409+
<p
410+
className={`header_link ${
411+
visibleSection === "Academy" ? "selected" : ""
412+
}`}
413+
onClick={() => {
414+
scrollTo(AcademyRef.current, "academy");
415+
}}
416+
>
417+
<span> Academy </span>
418+
</p>
402419
<p
403420
className={`header_link ${
404421
visibleSection === "Five" ? "selected" : ""

static/brand/academy-brand-kit.zip

5.68 KB
Binary file not shown.

0 commit comments

Comments
 (0)