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

Home page: current working on aligne #223

Merged
merged 3 commits into from
Sep 6, 2021
Merged
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
6 changes: 3 additions & 3 deletions i18n/en-US/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"message": "Current Working On"
},
"go storage description": {
"message": "A Golang storage abstraction which beyond the existing storage services."
"message": "A Golang storage abstraction which beyond the existing storage services"
},
"go storage article one": {
"message": "Production ready: well designed strong typed API, continuously increasing testing"
Expand All @@ -254,7 +254,7 @@
"message": "Vendor agnostic: support services ranging from s3, gcs, azblob to onedrive, ipfs"
},
"dm description": {
"message": "Neutral data migration services."
"message": "Neutral data migration services"
},
"dm article one": {
"message": "BeyondStorage's go-storage powered high performance backend"
Expand All @@ -273,4 +273,4 @@
"message": "On this page",
"description": "The label used by the button on the collapsible TOC component"
}
}
}
6 changes: 3 additions & 3 deletions i18n/zh-CN/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"message": "Current Working On"
},
"go storage description": {
"message": "A Golang storage abstraction which beyond the existing storage services."
"message": "A Golang storage abstraction which beyond the existing storage services"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't change any files inside i18n/zh-CN, they are maintained by external tools.

},
"go storage article one": {
"message": "Production ready: well designed strong typed API, continuously increasing testing"
Expand All @@ -254,7 +254,7 @@
"message": "Vendor agnostic: support services ranging from s3, gcs, azblob to onedrive, ipfs"
},
"dm description": {
"message": "Neutral data migration services."
"message": "Neutral data migration services"
},
"dm article one": {
"message": "BeyondStorage's go-storage powered high performance backend"
Expand All @@ -273,4 +273,4 @@
"message": "On this page",
"description": "The label used by the button on the collapsible TOC component"
}
}
}
98 changes: 98 additions & 0 deletions src/pages/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,101 @@
.architecture img {
min-width: var(--main-modules-width);
}
/* projects */

.projects h1 {
display: inline-block;
margin-bottom: 60px;
line-height: 3.25rem;
padding-right: 2px;
font-size: 2.25rem;
background-image: url('/img/underline1.svg');
background-repeat: no-repeat;
background-position: right bottom;
}

.projectsContent {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 8.3333vw;
}

.projectsContent > div {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 32px;
}

.projectsContent > div > img, .projectsContent > div > p {
margin-bottom: 32px;
}
.projectsContent > div > p {
min-height: 60px;
}

.projectsContent h2 {
margin-bottom: 20px;
}

.projectsContent ul {
flex-grow: 1;
width: 95%;
display: inline-block;
text-align: left;
}

.projectsContent ul li {
min-height: 70px;
margin-bottom: 24px;
}

.projectsContent a {
display: inline-flex;
align-items: center;
padding: 0 20px;

height: 32px;

color: #ffffff;

background: #31383E;
border-radius: 4px;
text-decoration: none;
}

.projectsContent a:hover {
opacity: 0.8;
}

.projectsContent a img {
margin-left: 12px;
}

@media (max-width: 996px) {
.introductionContent, .projects, .projectsContent {
display: block;
}
.projectsContent ul {
width: 60%;
}
.projectsContent ul li {
min-height: 30px;
}
.projectsContent > div > p {
min-height: 30px;
}
.projectsContent a {
margin-bottom: 3.75rem;
}

.introductionContent > div {
margin-bottom: 1rem;
}
}

@media (max-width: 440px) {
.projectsContent ul {
width: 80%;
}
}