Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Aug 4, 2023
1 parent 10b18a9 commit b1aaf75
Show file tree
Hide file tree
Showing 23 changed files with 334 additions and 481 deletions.
51 changes: 0 additions & 51 deletions src/_includes/layout/front-page.html
Original file line number Diff line number Diff line change
@@ -1,60 +1,9 @@
{% extends "layout/base.html" %}

{% block content %}
{% set hero = {
'title': {
'caption': '<span class="highlighted">Writing code</span><br><span id="typewriter">as it should be</span>',
'typewriter': "as it should be, like a maniac, that helps you, like nobady\'s watching"
},
'description': 'We compose websites and web applications from small to large scale in WordPress and Laravel.',
'btn': [
{
'url': '/services/laravel-development/',
'caption': 'Laravel Development'
},
{
'url': '/services/website-development/',
'caption': 'Website Development'
}
]
} %}
{% include "partial/hero.html" %}

{% set highlighted = {
'title': {
'caption': 'What<br>We<br>Make',
'image': './src/img/title-helper-primary.svg'
},
'description': '<p>Welcome at <span class="highlighted">Cone</span>, where innovation meets impeccable design. We are a cutting-edge web development studio dedicated to crafting <span class="highlighted">stunning digital experiences</span> that leave a lasting impact. With our team of highly skilled developers and designers, we bring your ideas to life, transforming them into visually captivating and user-friendly websites.</p>'
} %}
{% include "partial/highlighted-text.html" %}

{% set testimonial = {
'title': {
'caption': 'What We Do',
'image': './src/img/title-helper-primary.svg'
},
'classes': 'testimonial--secondary'
} %}
{% include "partial/testimonial.html" %}

{% set reference = {
'title': {
'caption': 'What<br>We<br>Make',
'image': './src/img/title-helper-primary.svg'
},
'classes': 'highlighted-reference--align-end'
} %}
{% include "partial/highlighted-reference.html" %}

{% set cta = {
'title': 'Get to Know Us',
'classes': 'cta--border-block:end',
'description': 'We are passionate developers who like to give their best, develop, and learn.',
'btn': {
'url': '/about/',
'caption': 'About Us'
}
} %}
{% include "partial/cta.html" %}
{% endblock %}
2 changes: 1 addition & 1 deletion src/_includes/layout/page.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layout/base.html" %}

{% block content %}
<div class="l-post">
<div class="l-post l-post--page">
<div class="container">
<div class="l-post__inner">
{% include "partial/post-heading.html" %}
Expand Down
3 changes: 2 additions & 1 deletion src/_includes/partial/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
{% include "partial/theme-switcher.html" %}
</div>
<p class="site-footer__copyright">
© 2019 - {{ global.year() }} Cone<br>All rights are reserved.
© 2019 - {{ global.year() }} Cone<br>All rights are reserved.<br>
<a href="/privacy-policy/">Privacy Policy</a>
</p>
</div>
{% for block in navigation.footer %}
Expand Down
66 changes: 32 additions & 34 deletions src/_includes/partial/highlighted-reference.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,36 @@
<div class="highlighted-reference {{ reference.classes }}">
<div class="container">
<div class="highlighted-reference__inner">
{% if reference.title %}
<h2 class="section-title section-title--vertical">
{% svgIcon reference.title.image %}
{{ reference.title.caption | safe }}
</h2>
{% endif %}
<div class="highlighted-reference__preview">
<div class="reference-card">
<img src="/img/preview/sarvar.jpg" alt="" loading="lazy">
<div class="reference-card__caption">
<h3 class="reference-card__title">
Sárvár
</h3>
<a href="https://sarvar.hu" class="reference-card__link">
sarvar.hu
{% svgIcon './src/img/icon/arrow-outward.svg', 'btn__icon' %}
</a>
</div>
</div>
<div class="reference-card">
<img src="/img/preview/sbr.jpg" alt="" loading="lazy">
<div class="reference-card__caption">
<h3 class="reference-card__title">
Smart Budapest Fórum
</h3>
<a href="https://sarvar.hu" class="reference-card__link">
smartbudapestforum.bvk.hu
{% svgIcon './src/img/icon/arrow-outward.svg', 'btn__icon' %}
</a>
</div>
{% if highlightedReference.items %}
<div class="highlighted-reference {{ highlightedReference.classes }}">
<div class="container">
<div class="highlighted-reference__inner">
{% if highlightedReference.title %}
<h2 class="section-title section-title--vertical">
{% svgIcon highlightedReference.title.image %}
{% if highlightedReference.title.url %}
<a href="{{ highlightedReference.title.url }}" class="section-title__link">
{% endif %}
{{ highlightedReference.title.caption | safe }}
{% if highlightedReference.title.url %}
</a>
{% endif %}
</h2>
{% endif %}
<div class="highlighted-reference__preview">
{% for item in highlightedReference.items %}
<div class="reference-card">
<img src="{{ item.image }}" alt="" loading="lazy">
<div class="reference-card__caption">
<h3 class="reference-card__title">
{{ item.title }}
</h3>
<a href="{{ item.linkUrl }}" class="reference-card__link" target="_blank" rel="noopener">
{{ item.linkCaption }}
{% svgIcon './src/img/icon/arrow-outward.svg', 'btn__icon' %}
</a>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
{% endif %}
23 changes: 15 additions & 8 deletions src/_includes/partial/highlighted-text.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
<div class="highlighted-text">
<div class="container">
<div class="highlighted-text__inner">
{% if highlighted.title %}

{% if highlighted.title %}
<div class="highlighted-text">
<div class="container">
<div class="highlighted-text__inner">
<h2 class="section-title section-title--vertical section-title--light">
{% svgIcon highlighted.title.image %}
{{ highlighted.title.caption | safe }}
{% if highlighted.title.url %}
<a href="{{ highlighted.title.url }}" class="section-title__link">
{% endif %}
{{ highlighted.title.caption | safe }}
{% if highlighted.title.url %}
</a>
{% endif %}
</h2>
{% endif %}
{{ highlighted.description | safe }}
{{ highlighted.description | safe }}
</div>
</div>
</div>
</div>
{% endif %}
32 changes: 0 additions & 32 deletions src/_includes/partial/oss.html

This file was deleted.

56 changes: 20 additions & 36 deletions src/_includes/partial/testimonial.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,31 @@
{% if testimonial.title %}
<h2 class="section-title">
{% svgIcon './src/img/title-helper-secondary.svg' %}
What We Do
{% if testimonial.title.url %}
<a href="{{ testimonial.title.url }}" class="section-title__link">
{% endif %}
{{ testimonial.title.caption | safe }}
{% if testimonial.title.url %}
</a>
{% endif %}
</h2>
{% endif %}
<div class="l-testimonial__inner">
<div class="l-testimonial__cards">
<div class="testimonial-card">
<img class="testimonial-card__illustration" src="/img/illustrations/retro-coffee.svg" alt="">
<div class="testimonial-card__caption">
<h3 class="testimonial-card__title">
<a href="#" class="testimonial-card__link">
Application Development
</a>
</h3>
<p class="testimonial-card__description">With Laravel, we create robust and scalable web applications that seamlessly integrate powerful features, intuitive user interfaces, and secure backend functionality.</p>
{% for card in testimonial.cards %}
<div class="testimonial-card">
<img class="testimonial-card__illustration" src="{{ card.image }}" alt="{{ card.imageAlt }}" loading="lazy">
<div class="testimonial-card__caption">
<h3 class="testimonial-card__title">
<a href="{{ card.url }}" class="testimonial-card__link">
{{ card.title }}
</a>
</h3>
<p class="testimonial-card__description">{{ card.description }}</p>
</div>
<span class="testimonial-card__number">0{{ loop.index }}</span>
</div>
<span class="testimonial-card__number">01</span>
</div>
<div class="testimonial-card">
<img class="testimonial-card__illustration" src="/img/illustrations/retro-butter-toast.svg" alt="">
<div class="testimonial-card__caption">
<h3 class="testimonial-card__title">
<a href="#" class="testimonial-card__link">
Website Development
</a>
</h3>
<p class="testimonial-card__description">We create visually stunning and highly functional websites built on WordPress or Eleventy.</p>
</div>
<span class="testimonial-card__number">02</span>
</div>
<div class="testimonial-card">
<img class="testimonial-card__illustration" src="/img/illustrations/retro-chocolate-fancy.svg" alt="">
<div class="testimonial-card__caption">
<h3 class="testimonial-card__title">
<a href="#" class="testimonial-card__link">
UI Design
</a>
</h3>
<p class="testimonial-card__description">Aliqua quis irure enim magna enim deserunt proident consequat non Lorem labore duis commodo sit.</p>
</div>
<span class="testimonial-card__number">03</span>
</div>
{% endfor %}
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cta:
---

<div class="l-post l-post--narrow">
<div class="container">
<div class="container container--narrow">
<div class="l-post__list">
<div class="text-card text-card--two-column">
<h2 class="text-card__title">About Us</h2>
Expand Down
Loading

0 comments on commit b1aaf75

Please sign in to comment.