Skip to content

Commit

Permalink
Move conf site to our new style
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed May 28, 2024
1 parent 9b7e6af commit 069ae34
Show file tree
Hide file tree
Showing 140 changed files with 32,375 additions and 7,640 deletions.
25 changes: 24 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
title: Fyne Conf
description: Exploring the exciting word of platform-agnostic app development with Fyne
git_address: https://github.com/fyne-io/conf
git_edit_address: https://github.com/fyne-io/conf/tree/master

# theme options from https://bootswatch.com/3/
# comment out this to use default Bootstrap
bootwatch: slate # cerulean cosmo custom cyborg darkly flatly journal lumen readable sandstone simplex slate solar spacelab superhero united yeti

# Build settings
markdown: kramdown
highlighter: rouge
# Plugins (previously gems:)
plugins:
- jekyll-feed
- jekyll-redirect-from
- jekyll-seo-tag
- jekyll-sitemap

exclude:
- Gemfile
- Gemfile.lock
- .idea/
- .gitignore
- README.md
- vendor

theme: jekyll-theme-hacker
9 changes: 9 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<footer class="footer">
<div class="container">

<p>If you like the Fyne toolkit please consider
<a href="https://fyne.io/sponsor/">sponsoring</a> our work.</p>
<p>
</div>
</footer>

9 changes: 0 additions & 9 deletions _includes/head-custom.html

This file was deleted.

25 changes: 25 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-154487488-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-154487488-1');
</script>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="icon" type="image/png" href="/img/favicon.png" sizes="32x322">

<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
<link rel="stylesheet" href="{{ "/assets/css/custom.css" | relative_url }}">
<link href='//fonts.googleapis.com/css?family=Poppins:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ "/assets/css/font-awesome.min.css" | relative_url }}">

<link rel="shortcut icon" href="{{ "/favicon.ico?1" | relative_url }}">
{% seo %}
</head>
8 changes: 8 additions & 0 deletions _includes/js_files.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<script>
var baseurl = '{{ site.baseurl }}'
</script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="{{ "/assets/js/bootstrap.min.js" | relative_url }} "></script>
<script src="{{ "/assets/js/typeahead.bundle.min.js" | relative_url }} "></script>

<script src="{{ "/assets/js/main.js" | relative_url }} "></script>
37 changes: 37 additions & 0 deletions _includes/topnav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container navbar-container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://fyne.io/">
<span><img src="{{ "/assets/img/transparent.png" | relative_url }}" alt="Logo"></span> {{ site.title }}
</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="https://docs.fyne.io">Docs</a></li>
<li><a href="https://apps.fyne.io">Apps</a></li>
<li><a href="https://addons.fyne.io">Add-ons</a></li>
<li class="active"><a href="/">Conference</a></li>
<li><a href="https://fyne.io/blog">Blog</a></li>
<li><a href="https://fyne.io/events">Events</a></li>
<li><a href="https://fyne.io/support">Support</a></li>
</ul>
<div class="navbar-right">
<form class="navbar-form navbar-left">
<!--div class="form-group has-feedback">
<input id="search-box" type="search" class="form-control" placeholder="Search...">
<i class="fa fa-search form-control-feedback"></i>
</div-->
</form>
<ul class="nav navbar-nav">
<li><a href="{{ site.git_address }}"><i class="fa fa-github" aria-hidden="true"></i></a></li>
</ul>
</div>
</div>
</div>
</nav>
63 changes: 27 additions & 36 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,39 +1,30 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
{% include head-custom.html %}

{% seo %}
</head>

<body>
{% include nav.html %}
<header style="text-align: left; height: auto; padding-top: 70px;">
<div class="container">
<a id="a-title" href="{{ '/' | relative_url }}">
<h1>{{ site.title | default: site.github.repository_name }}</h1>
</a>
<h2>{{ site.description | default: site.github.project_tagline }}</h2>

<section id="downloads">
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn">Download as .zip</a>
<a href="{{ site.github.tar_url }}" class="btn">Download as .tar.gz</a>
{% endif %}
<a href="{{ site.github.repository_url }}" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
</section>
</div>
</header>

<div class="container">
<section id="main_content">
{{ content }}
</section>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

{% include head.html %}

<body style="background: center/cover url(/assets/img/conference_bg.jpg)">

{% include js_files.html %}
{% include topnav.html %}

<div class="page-content">
<div class="wrapper">
<div class="post">

<aside class="bg-dark">
<div class="container">
<div class="call-to-action">
{{ content }}
</div>
</div>
</aside>

</div>
</div>
</div>
</body>
</html>

{% include footer.html %}
</body>

</html>
Loading

0 comments on commit 069ae34

Please sign in to comment.