Skip to content

Commit

Permalink
Home page: current working on aligne (#223)
Browse files Browse the repository at this point in the history
* current working on aligne

* home page: small screen spacing
  • Loading branch information
tt-haogege authored Sep 6, 2021
1 parent 5ea8fdc commit f6ec4b2
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 6 deletions.
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"
},
"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%;
}
}

1 comment on commit f6ec4b2

@vercel
Copy link

@vercel vercel bot commented on f6ec4b2 Sep 6, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.