-
-
Notifications
You must be signed in to change notification settings - Fork 267
Expand file tree
/
Copy pathLogoSection.tsx
More file actions
202 lines (191 loc) · 7.95 KB
/
Copy pathLogoSection.tsx
File metadata and controls
202 lines (191 loc) · 7.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
import { cx } from 'common/utils/cva';
import Badge from 'components/Badge/Badge';
import Content from 'components/Content/Content';
import { s3 } from 'common/constants/urls';
import Image from 'next/image';
const smLogos = [
{ img: 'small-blue-logo.png', alt: 'Small Blue Accented Logo', label: 'Blue' },
{ img: 'small-red-logo.png', alt: 'Small Red Accented Logo', label: 'Red' },
{ img: 'small-logo.png', alt: 'Small Unaccented Logo', label: 'Slate' },
{ img: 'small-white-logo.png', alt: 'Small White Accented Logo', label: 'White' },
];
const stackedLogos = [
{ img: 'small-stacked-logo-blue.png', alt: 'Large Stacked Original', label: 'Blue' },
{ img: 'small-stacked-logo-red.png', alt: 'Red Stacked Logo', label: 'Red' },
{ img: 'small-stacked-logo.png', alt: 'Light Stacked Logo', label: 'Slate' },
];
const medalsOrBadges = [
{ img: 'large-blue-medal.png', alt: 'OC Blue', label: 'OC Blue' },
{ img: 'large-red-medal.png', alt: 'Red', label: 'Red' },
{ img: 'large-slate-medal.png', alt: 'Navy', label: 'Navy' },
];
const lgLogos = [
{ img: 'large-blue-logo.png', alt: 'Original Large Logo', label: 'Blue' },
{ img: 'large-red-logo.png', alt: 'Red Large Logo', label: 'Red' },
{ img: 'large-logo.png', alt: 'Large Unaccented Logo', label: 'Slate' },
{ img: 'large-white-logo.png', alt: 'Large White Accented Logo', label: 'White' },
];
function LogoSection() {
const badgeListClassNames =
'flex justify-around items-center flex-wrap pb-4 border-b border-solid border-slate-400';
return (
<Content
title="Logo"
theme="gray"
hasTitleUnderline
columns={[
<ul key="logos" className="space-y-4 [&>li>p]:my-4">
{/* - SMALL LOGOS - */}
<li>
<h5 className="text-center">Small Logos</h5>
<p className="mx-auto">
For use when Operation Code's logo name is between 0-1 inch in height. In most
cases, use the Original Small Logo. The Stacked Small Logo is to be used where
graphics needs are larger in vertical height than horizontal width with the Operation
Code logo name still under 1 inch in height.
</p>
<ul className="space-y-4">
<li>
<h6 className="text-center">TYPICAL</h6>
<ul className={badgeListClassNames}>
{smLogos.map(logo => (
<li key={logo.label}>
<Badge
icon={
<Image
src={`${s3}branding/logos/${logo.img}`}
alt={logo.alt}
width={318}
height={60}
/>
}
isImageFirst={false}
label={logo.label}
/>
</li>
))}
</ul>
</li>
<li>
<h6 className="text-center">Stacked Logos</h6>
<p className="mx-auto">
Use the Large Stacked Original logo in areas where you have more vertical space
than horizontal. Only use the Red Stacked Logo for special holidays such as
Thanksgiving, fall events, and Christmas. The Light Stacked Logo is to be used
with dark or contrasting bright colored backgrounds.
</p>
<ul className={badgeListClassNames}>
{stackedLogos.map(logo => (
<li key={logo.label}>
<Badge
icon={
<Image
src={`${s3}branding/logos/${logo.img}`}
alt={logo.alt}
width={270}
height={226}
/>
}
isImageFirst={false}
label={logo.label}
/>
</li>
))}
</ul>
</li>
<li>
<h6 className="text-center">Medals</h6>
<p className="mx-auto">
Use the following medals when you are prompted to upload a thumbnail logo only or
profile photo. In most cases, use the OC Blue Medal. The Red Medal should only be
used for holidays and special events (such as Thanksgiving, fall, or Christmas).
The Navy Medal should be used memorandums or lighter bright colored backgrounds.
</p>
<ul className={badgeListClassNames}>
{medalsOrBadges.map(medal => (
<li key={medal.label}>
<Badge
icon={
<Image
src={`${s3}branding/logos/${medal.img}`}
alt={`${medal.alt} Medal`}
width={300}
height={404}
/>
}
isImageFirst={false}
label={medal.label}
/>
</li>
))}
</ul>
</li>
<li>
<h6 className="text-center">Badges</h6>
<p className="mx-auto">
You may also use badges as a profile photo or thumbnail. Badges should be used to
accompany corporate sponsors or alliance partnerships on shared branding. Use the
original OC Blue Badge in most cases, except the Red Badge for special events and
holidays (Thanksgiving, fall and Christmas). The Navy Badge may be used with light
backgrounds and bright colored backgrounds.
</p>
<ul className={badgeListClassNames}>
{medalsOrBadges.map(badge => (
<li key={badge.label}>
<Badge
icon={
<Image
src={`${s3}branding/logos/${badge.img}`}
alt={`${badge.alt} Badge`}
width={300}
height={404}
/>
}
isImageFirst={false}
label={`${badge.label} Badge`}
/>
</li>
))}
</ul>
</li>
</ul>
</li>
{/* - LARGE LOGOS - */}
<li>
<h5 className="text-center">Large Logos</h5>
<p className="mx-auto">
Use the Original Large Logo in almost all cases above 1 inch in height. The Red Large
Logo is to be used in special events (such as Thanksgiving, fall or Christmas), and
the Light Large Logo is to be used with dark backgrounds or bright colored
backgrounds.
</p>
<ul>
<li>
<h6 className="text-center">TYPICAL</h6>
<ul className={cx(badgeListClassNames, 'flex-col flex-nowrap')}>
{lgLogos.map(logo => (
<li key={logo.label}>
<Badge
icon={
<Image
src={`${s3}branding/logos/${logo.img}`}
alt={logo.alt}
width={384}
height={70}
/>
}
isImageFirst={false}
label={logo.label}
/>
</li>
))}
</ul>
</li>
</ul>
</li>
</ul>,
]}
/>
);
}
export default LogoSection;