Skip to content

Commit bb8f865

Browse files
committed
special thanks to sovereign tech agency
1 parent 7a2dd0e commit bb8f865

File tree

4 files changed

+54
-1
lines changed

4 files changed

+54
-1
lines changed

website/pages/en/index.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,34 @@ class Index extends React.Component {
113113
</Block>
114114
);
115115

116+
const Sponsors = () => (
117+
<Container
118+
id="sponsors"
119+
background={null}>
120+
<div className="sponsors-header">
121+
<h2>Special Thanks</h2>
122+
</div>
123+
<GridBlock
124+
align="center"
125+
layout="fourColumn"
126+
contents={[
127+
{
128+
image: `${baseUrl}img/sponsors/sovereign-tech-agency.webp`,
129+
imageAlign: 'top',
130+
imageAlt: 'Sovereign Tech Agency',
131+
imageLink: 'https://www.sovereign.tech/tech/phpseclib',
132+
},
133+
]}
134+
/>
135+
</Container>
136+
);
137+
116138
return (
117139
<div>
118140
<HomeSplash siteConfig={siteConfig} language={language} />
119141
<div className="mainContainer">
120142
<Features />
143+
<Sponsors />
121144
</div>
122145
</div>
123146
);

website/static/css/custom.css

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,33 @@ sub {
4747
.equation {
4848
font-size: 120%;
4949
font-family: "Times New Roman", Times, serif;
50-
}
50+
}
51+
52+
/* Center heading */
53+
#sponsors .sponsors-header { text-align: center; margin-bottom: 0.75rem; }
54+
#sponsors .sponsors-header h2 { font-weight: 600; font-size: 1.5rem; margin: 0; }
55+
56+
/* Center GridBlock contents as a group (works for 1..N sponsors) */
57+
#sponsors .gridBlock { text-align: center; }
58+
#sponsors .blockElement {
59+
float: none !important;
60+
display: inline-block;
61+
vertical-align: top;
62+
margin: 0 16px 16px;
63+
}
64+
65+
/* Center each logo box and scale logos up */
66+
#sponsors .blockImage {
67+
display: flex;
68+
justify-content: center;
69+
align-items: center;
70+
min-height: 140px; /* slot height so different logos line up */
71+
text-align: center;
72+
}
73+
74+
#sponsors .blockImage img {
75+
max-height: 120px; /* never taller than 120px */
76+
max-width: 200px; /* never wider than 200px */
77+
width: auto;
78+
height: auto;
79+
}
Lines changed: 1 addition & 0 deletions
Loading
13.3 KB
Loading

0 commit comments

Comments
 (0)