Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fast-website #3311

Merged
merged 39 commits into from
Jun 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
a6cd644
chore: add new marketing website (#3060)
eljefe223 May 5, 2020
83a3aa6
chore: load all the fast-components (#3062)
radium-v May 5, 2020
fa48c99
chore: add section layout to the website (#3068)
khamudom May 7, 2020
df92ec5
feat: create section-header component for marketing site (#3070)
khamudom May 8, 2020
374f776
Add website to lerna and yarn workspace (#3081)
radium-v May 8, 2020
c7cb9a1
feat: adds preview component (#3097)
eljefe223 May 11, 2020
17881fe
feat: stub in preview section (#3108)
eljefe223 May 12, 2020
4dcf66d
chore: add design system provider components to fast-website (#3104)
radium-v May 13, 2020
4ab354c
feat: add navigation menu component (#3111)
khamudom May 13, 2020
e569794
feat: create content-placement component for marketing site (#3105)
SamanthaAO May 13, 2020
ac1cbfe
update the page content width (#3128)
khamudom May 14, 2020
eb108fd
feat: add accent color and background color selection (#3123)
eljefe223 May 14, 2020
b843689
feat: create content-placement-container to generate content from dat…
SamanthaAO May 15, 2020
7ebd643
feat: add feature-card and card-section components (#3119)
freefaller69 May 16, 2020
bdff98b
fix: gets feature branch back to a working state (#3153)
eljefe223 May 18, 2020
54d9f71
Add svg-inline-loader (#3146)
radium-v May 18, 2020
2e3a169
Update package.json (#3161)
radium-v May 19, 2020
cb6b12b
feat: adds density slider to marketing site (#3166)
eljefe223 May 20, 2020
a8b4c19
chore: update styles for framework and community sections (#3162)
SamanthaAO May 21, 2020
8ba91a1
feat: remainder of design system knobs (#3171)
eljefe223 May 22, 2020
6449ba8
chore: add responsive navigation to marketing site (#3164)
khamudom May 22, 2020
ebd374d
chore: add feature card to content-placement-container and update hov…
SamanthaAO May 26, 2020
a3f1fd7
change section header font size for mobile (#3201)
khamudom May 29, 2020
5b42f8c
chore: update single column and hover styles on feature cards (#3180)
freefaller69 May 29, 2020
9be0ca4
feat: add background image and preliminary effects (#3185)
radium-v May 29, 2020
8cfcbd9
feat: responsive layouts for fast-frame (#3210)
eljefe223 Jun 2, 2020
08c8e9b
feat: add side navigation for social links and scroll (#3199)
SamanthaAO Jun 2, 2020
1bfee5c
fix: update anchor styles and add destination to links (#3208)
khamudom Jun 3, 2020
08b5f3a
fix small screen scroll issue, add typescript to click event handler,…
SamanthaAO Jun 4, 2020
b6658cb
chore: responsive layout modification of cards sections (#3212)
freefaller69 Jun 4, 2020
932208a
chore: update copy (#3227)
radium-v Jun 5, 2020
4997ad0
chore: adds backdrop to tablist in fast-frame (#3245)
eljefe223 Jun 8, 2020
7f28cae
chore: update card/content styling to match figma (#3228)
SamanthaAO Jun 9, 2020
d08fd3f
fix: overflow issue between 661px and 800px widths (#3237)
freefaller69 Jun 9, 2020
2cc5f9e
chore: refactor repeat select template by section (#3259)
freefaller69 Jun 10, 2020
d29f2ee
feat: add animated background (#3266)
radium-v Jun 11, 2020
1e0af4e
chore: ensure package dependencies are opted into semver
chrisdholt Jun 11, 2020
c57c064
Add script to copy homepage into website dir (#3295)
radium-v Jun 15, 2020
0333bee
add :focus-within to all cards (#3284)
freefaller69 Jun 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"sites/fast-color-explorer",
"sites/fast-component-explorer",
"sites/fast-creator",
"sites/fast-tooling-examples"
"sites/fast-tooling-examples",
"sites/fast-website"
],
"version": "independent",
"npmClient": "yarn",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"license": "MIT",
"private": true,
"workspaces": {
"packages": ["packages/**/*", "sites/fast-color-explorer", "sites/fast-component-explorer", "sites/fast-creator", "sites/site-utilities", "sites/fast-tooling-examples"],
"packages": ["packages/**/*", "sites/fast-color-explorer", "sites/fast-component-explorer", "sites/fast-creator", "sites/site-utilities", "sites/fast-tooling-examples", "sites/fast-website"],
"nohoist": ["**/react-syntax-highlighter", "**/@types/chai", "**/@types/jest", "**/@types/karma", "**/@types/mocha"]
},
"repository": {
Expand Down Expand Up @@ -45,7 +45,7 @@
"build/helpers/*.ts"
],
"coverageReporters": [
"json",
"json",
[
"lcov", {"projectRoot": "."}
]
Expand Down
1 change: 1 addition & 0 deletions sites/fast-website/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "presets": [ "env" ] }
13 changes: 13 additions & 0 deletions sites/fast-website/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
extends: ["@microsoft/eslint-config-fast-dna", "prettier"],
rules: {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/typedef": [
"error",
{
arrowParameter: "false",
},
],
},
};
40 changes: 40 additions & 0 deletions sites/fast-website/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "fast-website",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you provide a better description in the package.json? "FAST website is a culmination of marketing and documentation compiled for release to https://www.fast.design" for example?

"version": "1.0.0",
"description": "fast website",
"main": "index.js",
"private": true,
"license": "MIT",
"devDependencies": {
"@microsoft/fast-element": "^0.10.2",
"@microsoft/fast-foundation": "^1.1.2",
"@microsoft/fast-web-utilities": "^4.5.1",
"@microsoft/fast-components": "^1.1.2",
"babel-core": "^6.26.3",
"babel-loader": "^8.1.0",
"babel-preset-env": "^1.7.0",
"clean-webpack-plugin": "^3.0.0",
"html-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^0.9.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"prettier": "2.0.2",
"svg-inline-loader": "^0.8.2",
"terser-webpack-plugin": "^3.0.1",
"ts-loader": "^7.0.2",
"typescript": "^3.8.3",
"webpack": "^4.43.0",
"webpack-dev-server": "^3.10.3",
"webpack-merge": "^4.2.2"
},
"scripts": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: but, I prefer to see the dependencies near the bottom, since more often newbies want to see the authorship details and scripts when onboarding or researching.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is something we feel is important to standardize on, can we create an issue to discuss it? My fear is that we'll end up in a long discussion on opinions with no action without a formal resolution.

"start": "webpack-dev-server --config=./webpack.dev.js --history-api-fallback --progress",
"build": "webpack --config=./webpack.prod.js",
"prettier": "prettier --config ../../.prettierrc --write \"**/*.ts\"",
"prettier:diff": "prettier --config ../../.prettierrc \"**/*.ts\" --list-different"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Microsoft/fast-dna.git"
},
"author": "Microsoft"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import { css } from "@microsoft/fast-element";
import { display } from "@microsoft/fast-foundation";
import { neutralFillRestBehavior } from "@microsoft/fast-components";

export const BackgroundDesignStyles = css`
${display("block")} :host {
contain: content;
height: 99vh; /* https://developers.google.com/web/updates/2016/12/url-bar-resizing */
isolation: isolate;
position: fixed;
z-index: 0;
left: 0;
top: 0;
width: 100%;
}

:host .background-image {
align-items: center;
display: flex;
height: 100%;
justify-content: center;
position: relative;
width: 100%;
}

:host .background-image::after {
background: var(--background-color);
content: "";
display: block;
height: 100%;
left: 0;
opacity: 0.45;
position: absolute;
top: 0;
width: 100%;
}

:host .background-image canvas {
height: auto;
min-width: 1440px;
object-fit: cover;
object-position: 50% 50%;
width: 100%;
}
`.withBehaviors(neutralFillRestBehavior);
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { html, ref } from "@microsoft/fast-element";
import { BackgroundDesign } from "./background-design";

export const BackgroundDesignTemplate = html<BackgroundDesign>`
<template>
<div class="background-image">
<canvas ${ref("canvas")}></canvas>
</div>
</template>
`;
Loading