Skip to content

Commit 363ce8e

Browse files
authored
Merge pull request #3 from as-ascii/design-system-and-navigation
Design system and navigation
2 parents 80d3aed + 4b9c993 commit 363ce8e

39 files changed

Lines changed: 609 additions & 1247 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ The homepage is made up of several sections. You can find the text for these sec
1818

1919
* **Hero (Top Section)**: `src/containers/header/home/HomeHeader.jsx`
2020
* **"Have you ever wanted to..."**: `src/containers/components/home/HomeHaveYouEver.jsx`
21-
* **"Unlock the Power"**: `src/containers/components/home/UnlockThePower.jsx`
21+
* **"Unlock the Power" Cards**: The content for these cards is in `src/data/unlockThePowerData.js`.
2222
* **Wings Section**: `src/containers/components/home/WingsSection.jsx`
23-
* **Info/Formats**: `src/containers/components/home/InfoSection.jsx`
2423
* **Call to Action (Bottom)**: `src/containers/CTA/CTA.jsx`
24+
* **Supported Formats Grid**: The list of formats is in `src/data/supportedFormatsData.js`.
2525

2626
**Tip:** Look for the white text inside the code. Be careful not to delete code symbols like `<p>`, `<h3>`, `</div>`, or `{`.
2727

blog/2023-03-21-the-4th-industrial-revolution.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: The 4th Industrial Revolution
33
authors: ferid
44
tags: [industrial-revolution, technology]
5-
image: /img/preview.jpg
65
---
76

87
The 4th Industrial Revolution heralds a new era of technological fusion, where the boundaries between physical, digital, and biological realms blur. This revolution is defined by groundbreaking advancements in artificial intelligence, robotics, IoT, 3D printing, blockchain, and biotechnology. From AI-driven automation to the Internet of Things connecting our devices, the impacts are far-reaching. Jobs are transforming, businesses are digitizing, and ethical considerations are paramount. As we navigate this era, understanding the key technologies and their societal impacts becomes crucial. Let's delve into the essence of this transformative revolution and its implications for our future.

blog/2023-03-22-introduction-to-the-4th-industrial-revolution.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Introduction to the 4th Industrial Revolution
33
authors: ferid
44
tags: [industrial-revolution, technology]
5-
image: /img/preview.jpg
65
---
76

87
The 4th Industrial Revolution heralds a new era of technological fusion, where the boundaries between physical, digital, and biological realms blur. This revolution is defined by groundbreaking advancements in artificial intelligence, robotics, IoT, 3D printing, blockchain, and biotechnology. From AI-driven automation to the Internet of Things connecting our devices, the impacts are far-reaching. Jobs are transforming, businesses are digitizing, and ethical considerations are paramount. As we navigate this era, understanding the key technologies and their societal impacts becomes crucial. Let's delve into the essence of this transformative revolution and its implications for our future.

blog/2023-03-23-case-studies-in-the-4th-industrial-revolution.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Case Studies in the 4th Industrial Revolution
33
authors: ferid
44
tags: [industrial-revolution, case-studies, technology]
5-
image: /img/preview.jpg
65
---
76

87
Embarking on a journey through case studies, we witness firsthand the transformative power of the 4th Industrial Revolution. Smart manufacturing plants hum with the integration of IoT sensors and AI analytics, optimizing efficiency. Biotechnology revolutionizes healthcare, offering tailored treatments through gene editing and personalized medicine. Precision farming, empowered by data analytics, reshapes agriculture for sustainability. Meanwhile, autonomous vehicles promise a future of efficient, safe urban mobility. These cases illuminate the tangible impacts of advanced technologies across industries. Join us as we explore these innovations, their implementations, and the promising future they pave in this era of industrial revolution.

blog/2023-03-24-challenges-and-opportunities-of-the-4th-industrial-revolution.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Challenges and Opportunities of the 4th Industrial Revolution
33
authors: ferid
44
tags: [industrial-revolution, challenges, opportunities]
5-
image: /img/preview.jpg
65
---
76

87
Within the realm of the 4th Industrial Revolution lie both challenges and opportunities that shape our socio-economic landscape. Job displacement looms as automation and AI redefine work, highlighting the urgent need for upskilling. Concerns over data privacy and cybersecurity escalate as data becomes the new currency. Yet, amid these challenges, there are immense opportunities. Innovation flourishes, propelling economic growth and market competitiveness. Technologies promote sustainability, offering solutions for a greener future. Advancements in healthcare promise personalized treatments and improved access. As we navigate this landscape, understanding these dichotomies becomes pivotal for harnessing the potential of this transformative era.

docusaurus.config.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,26 @@ const config = {
6969
respectPrefersColorScheme: true,
7070
},
7171
navbar: {
72-
title: 'Docwire',
72+
title: '',
7373
logo: {
7474
alt: 'Docwire Logo',
7575
src: 'img/logoDocWire.JPG',
7676
},
7777
items: [
78+
{to: '/about-us', label: 'About Us', position: 'left'},
79+
{to: '/showcases', label: 'Showcases', position: 'left'},
7880
{
7981
href: 'https://docwire.readthedocs.io/',
8082
position: 'left',
81-
label: 'Docs',
83+
label: 'Documentation',
84+
},
85+
{
86+
href: 'https://github.com/docwire/docwire/releases',
87+
label: 'Download',
88+
position: 'left',
8289
},
8390
{to: '/blog', label: 'Blog', position: 'left'},
91+
{to: '/contact-us', label: 'Contact Us', position: 'right', className: 'button-pill nav-cta'},
8492
{
8593
href: 'https://github.com/docwire/docwire',
8694
label: 'GitHub',

src/containers/CTA/CTA-contact.jsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,16 @@ import Link from '@docusaurus/Link';
44

55
function CTAcontact() {
66
return (
7-
<div className='docwire__cta'>
8-
<div className='docwire__cta-background'>
7+
<div className='docwire__cta-background section card'>
98
<div className='docwire__cta-background_banner'>
109
<div className='docwire__cta-content'>
1110
<h3>Give our demo a try</h3>
12-
<p>Have a go and experiment with our non-commerical license, without trial periods or gated
11+
<p className="text-lead">Have a go and experiment with our non-commercial license, without trial periods or gated
1312
functions!</p>
1413
</div>
1514
</div>
16-
<div className="docwire__cta-button">
17-
<Link to="/contact-us">Get licence</Link>
18-
</div>
15+
<Link to="/contact-us" className="docwire__cta-button button-pill">Get licence</Link>
1916
</div>
20-
</div>
2117
)
2218
}
2319

src/containers/CTA/CTA.jsx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,15 @@ import React from "react";
33

44
function CTA() {
55
return (
6-
<div className='docwire__cta'>
7-
<div className='docwire__cta-background'>
6+
<div className='docwire__cta-background section card'>
87
<div className='docwire__cta-background_banner'>
98
<div className='docwire__cta-content'>
10-
<h3>Public Binaries</h3>
11-
<p>Have a go and experiment with our non-commerical license, without trial periods or gated
12-
functions!</p>
9+
<h3>Public Releases</h3>
10+
<p className="text-lead">Download the latest release and start building with our powerful SDK. Available under GPLv2 for open source, with commercial options for closed-source projects.</p>
1311
</div>
1412
</div>
15-
<div className="docwire__cta-button">
16-
<a href="https://github.com/docwire/docwire/releases" target="_blank" rel="noreferrer">Download Binaries</a>
17-
</div>
13+
<a href="https://github.com/docwire/docwire/releases" target="_blank" rel="noreferrer" className="docwire__cta-button button-pill">View Releases</a>
1814
</div>
19-
</div>
2015
)
2116
}
2217

src/containers/CTA/cta.css

Lines changed: 13 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,39 @@
1-
.docwire__cta {
2-
flex-direction: column;
3-
justify-content: flex-start;
4-
align-items: center;
5-
display: flex;
6-
}
7-
81
.docwire__cta-background {
92
background-size: 300% 300%;
103
animation: gradient 6s ease infinite;
11-
width: var(--container-width);
12-
height: auto;
13-
max-height: none;
14-
max-width: var(--container-max-width);
15-
min-height: auto;
16-
min-width: auto;
174
color: var(--brand-white);
185
background-color: var(--brand-black);
196
background-image: var(--gradient-bar);
20-
border-radius: 10px;
217
justify-content: space-between;
228
align-items: center;
23-
margin-bottom: 5vh;
24-
padding: 5vh 5%;
9+
padding: 3rem 5%;
10+
gap: 2rem;
2511
display: flex;
12+
flex-direction: row;
13+
14+
/* Contextual Override: Buttons inside this dark container should use surface colors */
15+
--color-button-bg: var(--color-btn-on-dark-bg);
16+
--color-button-text: var(--color-btn-on-dark-text);
2617
}
2718

2819
.docwire__cta-background_banner {
29-
width: 45%;
20+
flex: 1;
3021
flex-direction: column;
3122
justify-content: center;
32-
padding-right: 0;
3323
display: flex;
3424
}
3525

3626
.docwire__cta-content h3 {
37-
color: var(--brand-white);
38-
margin-top: 0;
3927
margin-bottom: 24px;
40-
line-height: 1;
41-
font-family: var(--font-family);
42-
font-size: var(--font-size-h3);
43-
text-align: left;
4428
}
4529

4630
.docwire__cta-content p {
47-
width: auto;
48-
max-width: var(--container-max-width);
49-
font-family: var(--font-family-Open-Sans);
50-
font-weight: 600;
51-
line-height: 1.4;
52-
text-decoration: none;
53-
font-size: var(--font-size-body-large);
54-
color: var(--brand-white);
5531
margin-bottom: 0;
5632
}
5733

5834
.docwire__cta-button {
59-
-webkit-text-fill-color: inherit;
60-
background-color: var(--color-text);
61-
background-clip: border-box;
62-
margin-left: 30px;
63-
width: 12em;
64-
height: 3.5em;
65-
max-height: 55px;
66-
max-width: 190px;
67-
font-size: var(--font-size-body);
68-
color: var(--color-bg);
69-
border-radius: 8px;
70-
justify-content: center;
71-
align-items: center;
72-
font-family: var(--font-family);
73-
display: flex;
74-
padding: 9px 15px;
75-
font-weight: 600;
76-
text-decoration: none;
77-
line-height: inherit;
78-
cursor: pointer;
35+
margin-left: 0;
36+
flex-shrink: 0;
7937
}
8038

8139
@keyframes gradient {
@@ -90,26 +48,11 @@
9048
}
9149
}
9250

93-
@media screen and (max-width: 991px) {
94-
.docwire__cta-background {
95-
width: 90vw;
96-
margin-bottom: 15vh;
97-
}
98-
99-
.docwire__cta-button {
100-
width: 180px;
101-
height: 60px;
102-
font-size: var(--font-size-body);
103-
max-height: none;
104-
max-width: none;
105-
border-radius: 5px;
106-
}
107-
}
108-
10951
@media screen and (max-width: 767px) {
11052
.docwire__cta-background {
11153
flex-direction: column;
112-
align-items: flex-start;
54+
align-items: center;
55+
text-align: center;
11356
padding: 40px;
11457
}
11558

@@ -118,28 +61,17 @@
11861
}
11962

12063
.docwire__cta-button {
121-
margin-top: 25px;
64+
margin-top: 0;
12265
}
12366
}
12467

12568
@media screen and (max-width: 479px) {
12669
.docwire__cta-background {
127-
flex-direction: column;
128-
justify-content: space-between;
129-
align-items: flex-start;
13070
margin-bottom: 5vh;
13171
padding: 24px;
13272
}
13373

13474
.docwire__cta-content {
13575
width: 100%;
13676
}
137-
138-
.docwire__cta-button {
139-
width: 150px;
140-
height: 48px;
141-
justify-content: center;
142-
margin-left: 0;
143-
font-size: var(--font-size-small);
144-
}
14577
}

src/containers/components/contactUs/Contact.jsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,22 @@ import Form from "./Form";
33
function Contact() {
44

55
return (
6-
<div className="docwire__contact">
7-
<div className="docwire__contact-bg">
6+
<div className="docwire__contact-bg section">
87
<div className="docwire__contact-text">
9-
<div className="docwire__contact-text_h1">
8+
<h1 className="docwire__contact-text_h1 text-display">
109
How Can We Help You?
11-
</div>
12-
<div className="docwire__contact-text_section">
10+
</h1>
11+
<p className="docwire__contact-text_section text-lead">
1312
Want access to our non-commercial demo license, ask questions about our functions or simply inquire
1413
about pricing? Fill in the form and we will get back to you!
15-
</div>
14+
</p>
1615
</div>
1716
<div className="docwire__contact-form">
18-
<div className="docwire__contact-form_form">
17+
<div className="docwire__contact-form_form card">
1918
<Form />
2019
</div>
2120
</div>
2221
</div>
23-
</div>
2422
)
2523
}
2624

0 commit comments

Comments
 (0)