Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
update home page
Browse files Browse the repository at this point in the history
  • Loading branch information
ehab-hassan committed Mar 8, 2023
1 parent e82e57d commit 36a69e3
Show file tree
Hide file tree
Showing 187 changed files with 11,259 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# www_incubaid_zola
# OurPhone™

##

![](./public/images/logo_placeholder.png)

## About

The official website of OurPhone™

[www.threefold.io](https://ourphone.ourworld.tf)

## Contribution

Feel free to [create a new issue](https://github.com/ourworld-tsc/www_ourphone/issues) to report an error on the website, or if you have any suggestions on website improvements.
38 changes: 38 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
echo "Starting build..."

# TODO: Check if current version is latest to avoid redundant installation

# checks os and architecture for correct release
# https://stackoverflow.com/a/8597411
echo "Installing & building tailwind..."
ASSET="tailwindcss"

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
ASSET="$ASSET-linux"
elif [[ "$OSTYPE" == "darwin"* ]]; then
ASSET="$ASSET-macos"
fi
if [[ "$(uname -m)" == "x86_64"* ]]; then
ASSET="$ASSET-x64"
elif [[ "$(uname -m)" == "arm64"* ]]; then
ASSET="$ASSET-arm64"
fi

curl -sLO "https://github.com/tailwindlabs/tailwindcss/releases/latest/download/${ASSET}"
chmod +x $ASSET
mv $ASSET tailwindcss


# initialized and configures tailwind if not configured
echo "Initializing tailwind..."
if [[ ! -f "tailwind.config.js" ]]
then
./tailwindcss init
sed -i '' "s| content: \\[\\],| content: \\['./templates/**/*.html'\\],|g" tailwind.config.js
fi

# compiles tailwind css for prod & builds project
echo "Compiling tailwindcss and building zola project..."
rm -rf public static/css
./tailwindcss -i css/index.css -o ./static/css/index.css --minify
zola build
71 changes: 71 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# The URL the site will be built for
base_url = "https://incubaid.com/"
# Change this to your own URL! Please note this variable **must** be uncommented.

title = "Incubaid"
description="Sovereign SmartPhone Like No Other"

# When set to "true", a feed is automatically generated.
# generate_feed = true

# The filename to use for the feed. Used as the template filename, too.
# Defaults to "atom.xml", which has a built-in template that renders an Atom 1.0 feed.
# There is also a built-in template "rss.xml" that renders an RSS 2.0 feed.
# feed_filename = "index.xml"

# The number of articles to include in the feed. All items are included if
# this limit is not set (the default).
# feed_limit = 10

# Whether to automatically compile all Sass files in the sass directory
compile_sass = false

# When set to "true", the generated HTML files are minified.
# minify_html = true
# I'm keeping off for now -- buggy -- 2021-02-05 (@keats says it'll be fixed 0.14.0)

# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false

[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
highlight_theme = "visual-studio-dark"

# When set to "true", emoji aliases translated to their corresponding
# Unicode emoji equivalent in the rendered Markdown files. (e.g.: :smile: => 😄)
render_emoji = false

[slugify]
paths = "on"

# Whether external links are to be opened in a new tab
# If this is true, a `rel="noopener"` will always automatically be added for security reasons
external_links_target_blank = true

# Whether to set rel="nofollow" for all external links
external_links_no_follow = true

# Whether to set rel="noreferrer" for all external links
external_links_no_referrer = true

# Whether smart punctuation is enabled (changing quotes, dashes, dots in their typographic form)
# For example, `...` into `…`, `"quote"` into `“curly”` etc
smart_punctuation = true

[[taxonomies]]
name = "categories"
feed = true
paginate_by = 2
paginate_path = "blog-posts"

[[taxonomies]]
name = "categories"
feed = true
paginate_by = 2
paginate_path = "blog-posts"

[extra]
header_class = "customize"
footer_class = "customize"
Binary file added content/.DS_Store
Binary file not shown.
11 changes: 11 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "OurPhone"
description: ""
date: 2018-09-14
updated: 2021-02-20
draft: false
sort_by: weight
weight: 1
extra:
logo_path: images/incubaid-logo.png
---
Binary file added content/home/.DS_Store
Binary file not shown.
Binary file added content/home/img/.DS_Store
Binary file not shown.
Binary file added content/home/img/home_bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
125 changes: 125 additions & 0 deletions content/home/img/logos-13.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 36a69e3

Please sign in to comment.