Skip to content

Commit

Permalink
Deployment Dilemma Blog Post (#8)
Browse files Browse the repository at this point in the history
* deployment dilemma blog post draft

* Update pages-deploy.yml

* updated graphics

* update order & date

* date

* update berkeley img

* update sec img

* date
  • Loading branch information
daryakaviani authored Sep 27, 2023
1 parent ef21306 commit e738dea
Show file tree
Hide file tree
Showing 27 changed files with 248 additions and 23 deletions.
171 changes: 171 additions & 0 deletions _blog/deployment-dilemma.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ collections:
tabs:
output: true
sort_by: order
blog:
output: true

defaults:
- scope:
Expand Down
2 changes: 1 addition & 1 deletion _data/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ layout:
tabs:
# format: <filename_without_extension>: <value>
home: Deployments
blog: Blog
categories: Categories
# tags: Institutions
archives: Archives
about: Maintainers

Expand Down
File renamed without changes.
48 changes: 29 additions & 19 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ <h1 data-toc-skip>{{ page.title }}</h1>
<span>
{{ site.data.locales[lang].post.posted }}
{% include datetime.html date=page.date tooltip=true lang=lang %}

{% if page.custom_authors %} <!-- Display read time next to the date if custom_authors is true -->
&bull;
{% include read-time.html content=content prompt=true lang=lang %}
{% endif %}

</span>

<!-- lastmod date -->
Expand Down Expand Up @@ -50,24 +56,26 @@ <h1 data-toc-skip>{{ page.title }}</h1>
<div class="d-flex justify-content-between">
<!-- author(s) -->
<span>
{% if page.author %}
{% assign authors = page.author %}
{% elsif page.authors %}
{% assign authors = page.authors %}
{% endif %}

{{ site.data.locales[lang].post.written_by }}

<em>
{% if authors %}
{% for author in authors %}
<a href="{{ site.data.authors[author].url }}">{{ site.data.authors[author].name }}</a>
{% unless forloop.last %}</em>, <em>{% endunless %}
{% endfor %}
{% else %}
<a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>
{% endif %}
</em>
{% unless page.custom_authors %} <!-- Add this condition -->
{% if page.author %}
{% assign authors = page.author %}
{% elsif page.authors %}
{% assign authors = page.authors %}
{% endif %}

{{ site.data.locales[lang].post.written_by }}

<em>
{% if authors %}
{% for author in authors %}
<a href="{{ site.data.authors[author].url }}">{{ site.data.authors[author].name }}</a>
{% unless forloop.last %}</em>, <em>{% endunless %}
{% endfor %}
{% else %}
<a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>
{% endif %}
</em>
{% endunless %} <!-- Close the condition here -->
</span>

<div>
Expand All @@ -82,7 +90,9 @@ <h1 data-toc-skip>{{ page.title }}</h1>
{% endif %}

<!-- read time -->
{% include read-time.html content=content prompt=true lang=lang %}
{% unless page.custom_authors %} <!-- Display read time here only if custom_authors is NOT true -->
{% include read-time.html content=content prompt=true lang=lang %}
{% endunless %}
</div>

</div> <!-- .d-flex -->
Expand Down
2 changes: 1 addition & 1 deletion _tabs/about.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# the default layout is 'page'
icon: fas fa-user
order: 3
order: 5
---

<style>
Expand Down
13 changes: 13 additions & 0 deletions _tabs/blog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: page
icon: fas fa-feather
order: 2
math: true
hide: true
---

{% for post in site.blog%}
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
<p>{{ post.excerpt }}</p>
<a href="{{ post.url }}">Read More >></a>
{% endfor %}
2 changes: 1 addition & 1 deletion _tabs/categories.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: categories
icon: fas fa-stream
order: 3
order: 4
---
2 changes: 1 addition & 1 deletion _tabs/contribute.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# layout: archives
icon: fas fa-pen
order: 2
order: 3
---

> If you know of an MPC deployment that has been **deployed** and reached a **substantial number of users** in practice, submit a PR to add a deployment. Or update an existing entry!
Expand Down
29 changes: 29 additions & 0 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,32 @@
@import '{{ site.theme }}';

/* append your custom style below */

/* Add to your CSS file */
.author-name {
font-weight: bold;
}

.author-affiliation {
font-style: italic;
}

.author-info {
font-size: 0.9em;
}

.rounded-10 {
border-radius: 10px !important;
}

.rounded-corners {
border-radius: 10px;
overflow: hidden;
display: inline-block; /* Makes the div wrap around the image */
}

.rounded-corners img {
display: block; /* Removes any unwanted space below the image */
width: 100%; /* Ensures the image fills the entire div */
height: auto;
}
Binary file added assets/img/berkeley.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/cloudenclaves.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/coinbase.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/coinbase2pc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/coinbaseoverview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/divviup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/divviupgraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/enclave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/enpa-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/enpa.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/isrgoverview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/mpc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/mpcintheclouds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/securitygroup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/separation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/signal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/signaloverview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e738dea

Please sign in to comment.