Skip to content

Commit

Permalink
docs: #427 remove SCSS from the landing page and remove the resources…
Browse files Browse the repository at this point in the history
… links
  • Loading branch information
droshev committed Nov 15, 2019
1 parent 2de5b28 commit ae7ffa8
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 35 deletions.
11 changes: 6 additions & 5 deletions config/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ module.exports = {
sourcesContent: true,
plugins: [
postcssImport(),
postcssAddFallback({importFrom: 'dist/root.css'}),
postcssAddFallback({importFrom: 'node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3/css_variables.css'}),
postcssAddFallback({ importFrom: 'dist/root.css' }),
postcssAddFallback({ importFrom: 'node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3/css_variables.css' }),
autoprefixer({
cascade: true
}),
Expand All @@ -35,13 +35,14 @@ module.exports = {
}),
postcssCustomProperties({
preserve: true
}),
}),
minify,
postcssBanner({
banner: `Fundamental Styles v${packageVersion}
banner: `Fundamental Library Styles v${packageVersion}
Copyright (c) ${year} SAP SE or an SAP affiliate company.
Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/master/LICENSE)`,
important: true})
important: true
})

]
}
2 changes: 1 addition & 1 deletion docs/_data/sidebars/left-navigation-sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ entries:
url: /resources/design-system-utilities.html
output: web

- title: Fundamental Styles Implementation Libraries
- title: Fundamental Libraries
url: /resources/fundamentals-libraries.html
output: web

2 changes: 1 addition & 1 deletion docs/_includes/topnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<!-- logo -->
<a class="docs-top-nav__logo" href="{{site.baseurl}}/index.html">
Fundamental <span class="docs-top-nav__logo__accent">Styles</span>
Fundamental Library<span class="docs-top-nav__logo__accent"> Styles</span>
</a>

<button id="mobile-sidenav-btn" class="fd-button--light sap-icon--menu2" aria-haspopup="true" aria-expanded="false" aria-label="Menu"></button>
Expand Down
29 changes: 6 additions & 23 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
<div class="docs-home_hero">
<div class="fd-container fd-container--fluid">
<div class="fd-col--12 docs-home_hero-content">
<h1 class="docs-home_hero-heading"><span class="docs-home_hero-bold">Develop</span> with Fundamental
<h1 class="docs-home_hero-heading"><span class="docs-home_hero-bold">Develop</span> with Fundamental Library
<br>Styles.</h1>
<p class="docs-home_hero-description">
Fundamental Styles is SCSS ready! Explore some functions and mixins to maintain consistency & quality of
your SCSS.
An open source library to consistent user interface across web applications.
</p>
<a class="fd-button--emphasized docs-home_hero-btn"
href="components/index.html">
Expand Down Expand Up @@ -55,32 +54,16 @@ <h2 class="docs-home_panel-heading">Type.</h2>

<div class="docs-home_panel docs-home_panel--alt">
<div class="fd-container fd-container--fluid">
<h1 class="docs-home_panel-title"><a href="components/index.html">library.</a></h1>
<div class="fd-col--6">
<h1 class="docs-home_panel-title"><a href="components/index.html">library.</a></h1>
<div class="docs-home_panel-search-box">
{% include search-box.html %}
</div>
</div>
<div class="fd-col--6">
<h1 class="docs-home_panel-title"><a href="resources/index.html">resources.</a></h1>
<div class="fd-container fd-container--fluid">
<a href="https://github.com/SAP/fundamental-styles" target="_blank" class="docs-home_panel-resources-link">Source Code <span class="sap-icon--navigation-right-arrow"></span> </a>
<a href="resources/index.html" class="docs-home_panel-resources-link">Guides <span class="sap-icon--navigation-right-arrow"></span> </a>
</div>
<br><br>
<a href="https://sap.github.io/fundamental-ngx" target="_blank" class="docs-home_panel-resources-link">Fundamental Library for Angular <span class="sap-icon--navigation-right-arrow"></span> </a>
<a href="https://sap.github.io/fundamental-react" target="_blank" class="docs-home_panel-resources-link">Fundamental Library for React <span class="sap-icon--navigation-right-arrow"></span> </a>
<a href="https://github.com/SAP/fundamental-vue" target="_blank" class="docs-home_panel-resources-link">Fundamental Library for Vue <span class="sap-icon--navigation-right-arrow"></span> </a>
</div>
</div>
</div>

<div class="docs-home_panel docs-home_panel--alt">
<div class="fd-container fd-container--fluid">
<div class="fd-col--6">
<h1 class="docs-home_panel-title"><a href="components/index.html">implementation libraries.</a></h1>

<a href="https://sap.github.io/fundamental-ngx" target="_blank" class="docs-home_panel-resources-link">Fundamental for Angular <span class="sap-icon--navigation-right-arrow"></span> </a>
<a href="https://sap.github.io/fundamental-react" target="_blank" class="docs-home_panel-resources-link">Fundamental for React <span class="sap-icon--navigation-right-arrow"></span> </a>
<a href="https://github.com/SAP/fundamental-vue" target="_blank" class="docs-home_panel-resources-link">Fundamental for Vue <span class="sap-icon--navigation-right-arrow"></span> </a>
</div>

</div>
</div>
10 changes: 5 additions & 5 deletions docs/pages/resources/fundamentals-libraries.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
---
title: Fundamental Styles Implementation Libraries
title: Fundamental Libraries
keywords: libraries frameworks angular vue react
sidebar: left-navigation-sidebar
toc: false
permalink: resources/fundamentals-libraries.html
folder: resources
summary: Fundamental Styles can be used with your framework of choice, however fundamentals-react, fundamentals-ngx, and fundamentals-vue are currently in active development.
summary: Fundamental Library Styles can be used with your framework of choice, however Fundamental Library for React, Fundamental Library for Angular, and Fundamental Library for Vue are currently in active development.
---
<hr>

## Fundamental NGX ([GitHub](https://github.com/SAP/fundamental-ngx){:target="_blank"})
{: .docs-header-h2}
[Fundamental NGX](https://sap.github.io/fundamental-ngx/){:target="_blank"} is a set of Angular components built with the Fundamental Styles library.
[Fundamental Library for Angular](https://sap.github.io/fundamental-ngx/){:target="_blank"} is a set of Angular components built with the Fundamental Styles library.

## Fundamental React ([GitHub](https://github.com/SAP/fundamental-react){:target="_blank"})
{: .docs-header-h2}
[Fundamental React](https://sap.github.io/fundamental-react/){:target="_blank"} is a set of React components built with the Fundamental Styles library.
[Fundamental Library for React](https://sap.github.io/fundamental-react/){:target="_blank"} is a set of React components built with the Fundamental Styles library.

## Fundamental Vue ([GitHub](https://github.com/SAP/fundamental-vue){:target="_blank"})
{: .docs-header-h2}
[Fundamental Vue](https://sap.github.io/fundamental-vue/){:target="_blank"} is a set of Vue components built with the Fundamental Styles library.
[Fundamental Library for Vue](https://sap.github.io/fundamental-vue/){:target="_blank"} is a set of Vue components built with the Fundamental Styles library.

0 comments on commit ae7ffa8

Please sign in to comment.