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

Add GitHub link to the top right navigation #1041

Open
wants to merge 3 commits into
base: v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@ Start a local server using:

```bash
yarn
yarn build
yarn serve
```

Start in a development mode using:

```bash
yarn
yarn start
```

The website is automatically deployed using [Vercel](https://vercel.com).

Search is powered by [Algolia DocSearch](https://docsearch.algolia.com/).
9 changes: 5 additions & 4 deletions src/home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h1 id="parcel" class="text-red-400 h-10 lg:h-16">
<div class="lg:mr-12">
<div class="flex flex-row items-center">
<h2 class="text-4xl md:text-5xl xl:text-6xl font-extrabold text-white my-5 lg:my-10 leading-tight">
The zero configuration build tool for
The zero configuration build tool for
<ul id="languageMarquee" class="inline-block align-top relative z-0 whitespace-nowrap">
<li><span class="text-green-400">the web</span>.</li>
<li><span class="text-cyan-400">JavaScript</span>.</li>
Expand Down Expand Up @@ -105,15 +105,15 @@ <h2 class="text-4xl md:text-5xl xl:text-6xl font-extrabold text-white my-5 lg:my
#languageMarquee li:first-child {
transform: translateY(0);
opacity: 1;
animation:
animation:
var(--animation-duration) fade-up-first 2650ms ease-in-out,
var(--animation-duration) fade-up calc(2650ms + var(--animation-duration)) ease-in-out infinite;
}

#languageMarquee li:last-child {
position: static;
}

@keyframes fade-up {
0% {
opacity: 0;
Expand Down Expand Up @@ -217,7 +217,7 @@ <h2 class="text-4xl md:text-5xl xl:text-6xl font-extrabold text-white my-5 lg:my
let file = filenames[Math.floor(Math.random() * filenames.length)];
let time = Math.floor(Math.random() * 600) + 45;
let spins = Math.floor(time / 80);

for (let i = 0; i < spins; i++) {
heroStatus.textContent = `${spinners[i % spinners.length]} Building ${file}...`;
await sleep(80);
Expand Down Expand Up @@ -268,6 +268,7 @@ <h2 class="text-4xl md:text-5xl xl:text-6xl font-extrabold text-white my-5 lg:my
</div>
<a href="/docs/" class="hover:text-pink-100 dark:hover:text-pink-200 transition">Docs</a>
<a href="/blog/" class="hover:text-pink-100 dark:hover:text-pink-200 transition">Blog</a>
<a href="https://github.com/parcel-bundler/parcel" target="_blank" rel="noopener" class="hover:text-pink-100 dark:hover:text-pink-200 transition hidden md:block">GitHub</a>
</nav>
</header>
<section class="pt-20 lg:pt-32 -mb-10 flex flex-row flex-wrap gap-x-10 gap-y-6 items-center justify-center max-w-xl lg:max-w-full mx-auto px-8 text-gray-700 dark:text-gray-300">
Expand Down