-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* compress images * delete unnecessary theme files * add necessary files * edit configuration files * update readme.md * add a size of about * add responsive text
- Loading branch information
rickmort
authored
Apr 9, 2020
1 parent
47f9bd3
commit 1e2c397
Showing
105 changed files
with
434 additions
and
2,389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,54 @@ | ||
Planet Decred website | ||
====== | ||
|
||
This is the code for the [planetdecred.org](https://www.planetdecred.org) website. | ||
|
||
|
||
|
||
## Requirements | ||
|
||
* `Go` 1.11 | ||
* `Hugo` 0.63.0 | ||
* `Hugo-extended` 0.63.0 | ||
|
||
You should now be able to access the site at `http://localhost:1313` | ||
|
||
## Setting Up | ||
## Testing | ||
|
||
* Installing Go | ||
* Minimum supported version is 1.11.4. Installation instructions can be found [here](https://golang.org/doc/install). | ||
|
||
* Installing Hugo | ||
* The instructions for your OS can find [here](https://gohugo.io/getting-started/installing/). | ||
|
||
## Start the Hugo server | ||
#### Start the Hugo server | ||
|
||
* ` hugo server -D ` | ||
|
||
* ` http://localhost:1313/ ` | ||
* ` http://localhost:1313/ ` | ||
|
||
## Static Deploy | ||
|
||
For a static deployment you must use the command ` hugo `. | ||
|
||
This will create a `Public` folder in the main path. | ||
Upload files to hosting or server. | ||
|
||
#### Some issues | ||
If the sass files are not displayed correctly, try changing the baseurl in the configuration file | ||
~~~ | ||
config.toml | ||
baseurl = "URL" | ||
~~~ | ||
## Another Options of Deployment | ||
|
||
For a another options of deployment you can consult the following documentation. | ||
|
||
- [Hugo Deploy](https://gohugo.io/hosting-and-deployment/hugo-deploy/). | ||
- [Host-Agnostic Deploys with Nanobox](https://gohugo.io/hosting-and-deployment/deployment-with-nanobox/). | ||
- [Host on Render](https://gohugo.io/hosting-and-deployment/hosting-on-render/). | ||
- [Host on AWS Amplify](https://gohugo.io/hosting-and-deployment/hosting-on-aws-amplify/). | ||
- [Host on Netlify](https://gohugo.io/hosting-and-deployment/hosting-on-netlify/). | ||
- [Host on GitHub](https://gohugo.io/hosting-and-deployment/hosting-on-github/). | ||
- [More Options](https://gohugo.io/hosting-and-deployment/)... | ||
|
||
#### Some issues | ||
If the sass files are not displayed correctly, try changing the baseurl in the configuration file | ||
~~~ | ||
config.toml | ||
baseurl = "URL" | ||
~~~ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
.centered { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
.main { | ||
text-align: center; | ||
width: 100%; | ||
h1 { | ||
font-weight: 700; | ||
color: $white; | ||
} | ||
h2 { | ||
font-weight: 300; | ||
} | ||
ul { | ||
list-style: none; | ||
margin: 3.0rem 0 1.0rem 0; | ||
padding: 0; | ||
li { | ||
display: inline-block; | ||
position: relative; | ||
a { | ||
color: $white; | ||
text-transform: uppercase; | ||
margin-left: 1.0rem; | ||
margin-right: 1.0rem; | ||
font-size: 1.6rem; | ||
&:hover, | ||
&:focus { | ||
color: $green; | ||
} | ||
@media only screen and (max-width : 768px) { | ||
font-size: 1.4rem; | ||
} | ||
i { | ||
font-size: 3.2rem; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.home{ | ||
height: 100vh; | ||
background-image: url(../images/bg.jpg); | ||
background-size: cover; | ||
} | ||
|
||
.about{ | ||
text-align: center; | ||
width: 100%; | ||
height: 100vh; | ||
margin: 0 auto; | ||
h2{ | ||
border-bottom: 1px solid $green; | ||
padding-bottom: 15px; | ||
margin-bottom: 35px; | ||
} | ||
h3 { | ||
font-weight: 300; | ||
text-align: justify; | ||
@media only screen and (max-width : 768px){ | ||
text-align: left; | ||
} | ||
} | ||
} | ||
|
||
.downloads{ | ||
width: 100%; | ||
height: 100vh; | ||
.downloads-container{ | ||
display: grid; | ||
align-items: center; | ||
justify-items: center; | ||
|
||
h2{ | ||
border-bottom: 1px solid $green; | ||
padding-bottom: 15px; | ||
margin-bottom: 35px; | ||
} | ||
img{ | ||
margin: 20px; | ||
width: 250px; | ||
display: block; | ||
} | ||
} | ||
} | ||
|
||
.chat{ | ||
text-align: center; | ||
width: 100%; | ||
height: 100vh; | ||
h2{ | ||
border-bottom: 1px solid $green; | ||
padding-bottom: 15px; | ||
margin-bottom: 35px; | ||
} | ||
.chat-info-container{ | ||
margin-top: 20px; | ||
text-align: justify; | ||
} | ||
p, h3{ | ||
margin: 10px 0px; | ||
@media only screen and (max-width : 768px){ | ||
text-align: left; | ||
} | ||
} | ||
h3{ | ||
font-weight: 300; | ||
} | ||
} |
Oops, something went wrong.