Skip to content
New issue

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

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

Already on GitHub? # to your account

Feat-eldads-update2 #42

Merged
merged 49 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
c1bdb68
Updated icon padding
eldadfux Sep 22, 2023
0952a75
Updated stats
eldadfux Sep 22, 2023
c9331fc
Updated titles
eldadfux Sep 22, 2023
2fcbdb2
Updated team avatars
eldadfux Sep 22, 2023
26f3111
Blog WIP
eldadfux Sep 22, 2023
c46407b
fix: author href
ArmanNik Sep 22, 2023
f6d80bd
Blog WIP
eldadfux Sep 22, 2023
a8ad2a6
Blog WIP
eldadfux Sep 22, 2023
a8dff7d
Blog WIP
eldadfux Sep 22, 2023
22ad674
Updated content
eldadfux Sep 23, 2023
6bac111
Updated images and author names
eldadfux Sep 23, 2023
a1180c5
Updated communtiy events
eldadfux Sep 23, 2023
1c0002e
Added Discord redirect
eldadfux Sep 23, 2023
f8896f0
Hide top nav, added link to brand blog
eldadfux Sep 23, 2023
6fd4271
Fixed animation copy
eldadfux Sep 23, 2023
10708bd
Changed title and some copy
eldadfux Sep 24, 2023
3d5612f
Updated FAQ and plan names to be consistent all over
eldadfux Sep 24, 2023
6bb26d7
Hide table of contents on empty pages
eldadfux Sep 24, 2023
24a0056
Fixed duplicated ID
eldadfux Sep 24, 2023
a6196b4
Typo
eldadfux Sep 24, 2023
8da6764
Added more methods to upload and download
Haimantika Sep 19, 2023
3aa0ea3
Initial commit
ArmanNik Sep 21, 2023
af842e6
fix: merge errors
ArmanNik Sep 22, 2023
7c28bb0
Blog WIP
eldadfux Sep 22, 2023
c74850b
Updated images and author names
eldadfux Sep 23, 2023
af97cc8
Added more methods to upload and download
Haimantika Sep 19, 2023
07e1030
Initial commit
ArmanNik Sep 21, 2023
d3608d7
fix: merge errors
ArmanNik Sep 22, 2023
e037dd4
Blog WIP
eldadfux Sep 22, 2023
9e339b3
Updated images and author names
eldadfux Sep 23, 2023
065b330
Added more methods to upload and download
Haimantika Sep 19, 2023
67991a0
Initial commit
ArmanNik Sep 21, 2023
038e5f3
fix: merge errors
ArmanNik Sep 22, 2023
b8f7987
Reverted Carousel changes
eldadfux Sep 24, 2023
3969ffe
Reverted Carousel changes
eldadfux Sep 24, 2023
f62cccd
Fixed conflict
eldadfux Sep 24, 2023
3def500
Fixed icons dark + light modes
eldadfux Sep 24, 2023
14f32f3
Updated line number spacing
eldadfux Sep 24, 2023
af21d7f
Updated community feedback
eldadfux Sep 24, 2023
38d35ea
Fixed size for images and better page rendering
eldadfux Sep 25, 2023
3c976ee
Added clickable framework links
eldadfux Sep 25, 2023
a4b5ea8
Updated graphql icon
eldadfux Sep 25, 2023
04eb02c
Hiding changelog for now.
eldadfux Sep 25, 2023
cb1c129
Merge branch 'main' of https://github.com/appwrite/website into feat-…
TorstenDittmann Sep 25, 2023
28a8a73
feat: quickstart
TorstenDittmann Sep 25, 2023
6afcc72
fix: markdoc syntax
TorstenDittmann Sep 25, 2023
30bcccd
fix: things
TorstenDittmann Sep 25, 2023
6e33a91
fix: more things
TorstenDittmann Sep 25, 2023
a7ab443
fix: all links
TorstenDittmann Sep 25, 2023
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
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/images/logos/logo.svg" />
<link rel="stylesheet" href="/icon-font/aw-icon.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Appwrite Next</title>
<title>Appwrite - open-source backend as a service</title>
%sveltekit.head%
</head>
<body class="theme-dark" data-sveltekit-preload-data="hover">
Expand Down
2 changes: 0 additions & 2 deletions src/icons/scripts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// @ts-expect-error missing types
import SVGFixer from 'oslllo-svg-fixer';
import svgtofont from 'svgtofont';
import { resolve } from 'path';

Expand Down
4 changes: 3 additions & 1 deletion src/icons/svg/x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/lib/animations/OpenSource.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<div class="u-flex-vertical u-main-space-between u-gap-32">
<span class="aw-icon-discord aw-u-font-size-40" aria-hidden="true" aria-label="Discord" />
</div>
<div class="aw-title u-margin-block-start-auto">125k+ Discord Members</div>
<div class="aw-title u-margin-block-start-auto">17k+ Discord Members</div>
</a>

<a
Expand Down Expand Up @@ -152,7 +152,7 @@
<div class="u-flex-vertical u-main-space-between u-gap-32">
<span class="aw-icon-youtube aw-u-font-size-40" aria-hidden="true" aria-label="YouTube" />
</div>
<div class="aw-title u-margin-block-start-auto">16k+ Youtube Subscribers</div>
<div class="aw-title u-margin-block-start-auto">3k+ Youtube Subscribers</div>
</a>

<a
Expand Down
2 changes: 1 addition & 1 deletion src/lib/animations/Products/functions/code.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ return res.json({ success: true });`.trim();
<span in:fade>Pushing to GitHub...</span>
<div class="loader is-small" in:fade />
{:else if $state.submit === 'success'}
<span>Deployed to GitHub</span>
<span>Deployed to Appwrite Cloud</span>
<span class="aw-icon-check" />
{/if}
</div>
Expand Down
42 changes: 1 addition & 41 deletions src/lib/components/FooterNav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<a class="aw-link" href="/docs/quick-starts/nextjs">Next.js</a>
</li>
<li>
<a class="aw-link" href="/docs/quick-starts/vuejs">Vue.js</a>
<a class="aw-link" href="/docs/quick-starts/vue">Vue.js</a>
</li>
<li>
<a class="aw-link" href="/docs/quick-starts/sveltekit">SvelteKit</a>
Expand Down Expand Up @@ -94,45 +94,6 @@
</li>
</ul>
</li>
<li class="aw-footer-nav-main-item">
<h5 class="aw-footer-nav-main-title aw-is-not-mobile aw-caption-500 aw-eyebrow">Learn</h5>
<button class="aw-footer-nav-button is-open aw-is-only-mobile">
<span class="aw-caption-500 aw-eyebrow">Learn</span>
<svg
class="aw-footer-nav-button-arrow"
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M10.4243 13.0243C10.19 13.2586 9.81007 13.2586 9.57576 13.0243L5.07576 8.52426C4.84145 8.28995 4.84145 7.91005 5.07576 7.67574C5.31007 7.44142 5.68997 7.44142 5.92429 7.67574L10 11.7515L14.0758 7.67574C14.3101 7.44142 14.69 7.44142 14.9243 7.67574C15.1586 7.91005 15.1586 8.28995 14.9243 8.52426L10.4243 13.0243Z"
fill="#ADADB0"
/>
</svg>
</button>
<ul class="aw-footer-nav-secondary-list aw-sub-body-400">
<li>
<a class="aw-link" href="/docs">Docs</a>
</li>
<li>
<a class="aw-link" href="/community">Community</a>
</li>
<li><a class="aw-link" href="/blog">Blog</a></li>
<li><a class="aw-link" href="/roadmap">Roadmap</a></li>
<li>
<a class="aw-link" href="https://github.com/appwrite/appwrite/releases" target="_blank"
>Changelog</a
>
</li>
<li>
<a class="aw-link" href="https://status.appwrite.io" target="_blank">Status</a>
</li>
</ul>
</li>
<li class="aw-footer-nav-main-item">
<h5 class="aw-footer-nav-main-title aw-is-not-mobile aw-caption-500 aw-eyebrow">About</h5>
<button class="aw-footer-nav-button is-open aw-is-only-mobile">
Expand All @@ -155,7 +116,6 @@
</button>
<ul class="aw-footer-nav-secondary-list aw-sub-body-400">
<li><a class="aw-link" href="/#">#</a></li>
<li><a class="aw-link" href="/company">Company</a></li>
<li><a class="aw-link" href="/careers">Careers</a></li>
<li><a class="aw-link" href="/heroes">Heroes</a></li>
<li>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/MainFooter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@
<li>
<a href="https://status.appwrite.io" target="_blank">Status</a>
</li>
<li>
<!-- <li>
<a href="https://github.com/appwrite/appwrite/releases" target="_blank">Changelog</a>
</li>
</li> -->
</ul>
<div class="aw-main-footer-grid-1-column-4 aw-main-footer-copyright">
Copyright © 2023 Appwrite
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/MobileNav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<a href="https://github.com/appwrite/appwrite/stargazers" target="_blank" class="aw-button is-text u-width-full-line">
<span class="aw-icon-star" aria-hidden="true" />
<span class="text">Star on GitHub</span>
<span class="aw-inline-tag aw-sub-body-400">33.2k</span>
<span class="aw-inline-tag aw-sub-body-400">33.2K</span>
</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/PreFooter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<li class="aw-strip-plans-item aw-strip-plans-container-query">
<div class="aw-strip-plans-item-wrapper">
<div class="aw-strip-plans-plan">
<h4 class="title aw-description">Free</h4>
<h4 class="title aw-description">Starter</h4>
<div class="aw-title aw-u-color-text-primary">$0</div>
<div class="info aw-caption-500" />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/layouts/Docs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
/>
</svg>
<span class="text">Star on GitHub</span>
<span class="aw-inline-tag aw-sub-body-400">33.2k</span>
<span class="aw-inline-tag aw-sub-body-400">33.2K</span>
</a>
<a href="https://cloud.appwrite.io/console" class="aw-button">
<span class="aw-sub-body-500">Go to console</span>
Expand Down
113 changes: 61 additions & 52 deletions src/lib/layouts/DocsArticle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,43 @@

<script lang="ts">
export let title: string;
export let back: string;
export let toc: Array<TocItem>;
</script>

<main class="u-contents">
<article class="aw-article u-contents">
<header class="aw-article-header">
<div class="aw-article-header-start u-flex-vertical aw-u-cross-start">
<button
class="
{#if back !== undefined}
<a
href={back}
class="
aw-button is-text aw-is-only-mobile
aw-u-padding-block-0 aw-u-padding-inline-start-0 aw-u-padding-inline-end-12"
aria-label="previous page"
>
<span class="icon-cheveron-left" aria-hidden="true" />
</button>
aria-label="previous page"
>
<span class="icon-cheveron-left" aria-hidden="true" />
</a>
{/if}
<ul class="aw-metadata aw-caption-400">
<slot name="metadata" />
</ul>
<div class="u-position-relative u-flex u-cross-center">
<button
class="
{#if back !== undefined}
<a
href={back}
class="
aw-button is-text is-icon aw-u-cross-center aw-u-size-40
u-position-absolute u-inset-inline-start-0 aw-u-translate-x-negative"
aria-label="previous page"
>
<span
class="icon-cheveron-left aw-u-font-size-24 aw-u-color-text-primary aw-is-not-mobile"
aria-hidden="true"
/>
</button>
aria-label="previous page"
>
<span
class="icon-cheveron-left aw-u-font-size-24 aw-u-color-text-primary aw-is-not-mobile"
aria-hidden="true"
/>
</a>
{/if}
<h1 class="aw-title">{title}</h1>
</div>
</div>
Expand Down Expand Up @@ -106,44 +113,46 @@
</div>
<aside class="aw-references-menu aw-u-padding-inline-start-24">
<div class="aw-references-menu-content">
<div class="u-flex u-main-space-between u-cross-center u-gap-16">
<h5 class="aw-references-menu-title aw-eyebrow">On This Page</h5>
</div>
<ol class="aw-references-menu-list">
{#each toc as parent (parent.href)}
<li class="aw-references-menu-item" class:article-scroll-indicator={parent.selected}>
<a
href={parent.href}
class="aw-references-menu-link"
class:is-selected={parent.selected}
>
{#if parent?.step}
<span class="aw-numeric-badge">{parent.step}</span>
{/if}
<span class="aw-caption-400">{parent.title}</span>
</a>
{#if parent.children}
<ol
class="aw-references-menu-list u-margin-block-start-16 u-margin-inline-start-32"
{#if toc && toc.length > 0}
<div class="u-flex u-main-space-between u-cross-center u-gap-16">
<h5 class="aw-references-menu-title aw-eyebrow">On This Page</h5>
</div>
<ol class="aw-references-menu-list">
{#each toc as parent (parent.href)}
<li class="aw-references-menu-item" class:article-scroll-indicator={parent.selected}>
<a
href={parent.href}
class="aw-references-menu-link"
class:is-selected={parent.selected}
>
{#each parent.children as child}
<li class="aw-references-menu-item">
<a href={child.href} class="aw-references-menu-link">
<span class="aw-caption-400">{child.title}</span>
</a>
</li>
{/each}
</ol>
{/if}
</li>
{/each}
</ol>
<div class="u-sep-block-start u-padding-block-start-20">
<a class="aw-link u-inline-flex u-cross-center u-gap-8" href="#top">
<span class="icon-arrow-up" aria-hidden="true" />
<span class="aw-sub-body-500">Back to top</span>
</a>
</div>
{#if parent?.step}
<span class="aw-numeric-badge">{parent.step}</span>
{/if}
<span class="aw-caption-400">{parent.title}</span>
</a>
{#if parent.children}
<ol
class="aw-references-menu-list u-margin-block-start-16 u-margin-inline-start-32"
>
{#each parent.children as child}
<li class="aw-references-menu-item">
<a href={child.href} class="aw-references-menu-link">
<span class="aw-caption-400">{child.title}</span>
</a>
</li>
{/each}
</ol>
{/if}
</li>
{/each}
</ol>
<div class="u-sep-block-start u-padding-block-start-20">
<a class="aw-link u-inline-flex u-cross-center u-gap-8" href="#top">
<span class="icon-arrow-up" aria-hidden="true" />
<span class="aw-sub-body-500">Back to top</span>
</a>
</div>
{/if}
</div>
</aside>
</article>
Expand Down
14 changes: 7 additions & 7 deletions src/lib/layouts/Main.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@
label: 'Blog',
href: '/blog'
},
{
label: 'Changelog',
href: '#'
},
// {
// label: 'Changelog',
// href: '#'
// },
{
label: '#',
href: '/#'
Expand Down Expand Up @@ -159,7 +159,7 @@
class:is-transparent={browser}
class:is-hidden={isHeaderHidden}
>
<div class="aw-top-banner">
<!-- <div class="aw-top-banner">
<div class="aw-top-banner-content aw-u-color-text-primary">
<span class="aw-caption-500">We are having lots of fun on</span>
<span class="aw-icon-discord" aria-hidden="true" />
Expand All @@ -168,7 +168,7 @@
<span class="aw-icon-close" aria-hidden="true" />
</button>
</div>
</div>
</div> -->

<div class="aw-container" style="--container-size:103rem">
<div class="aw-main-header-wrapper">
Expand Down Expand Up @@ -202,7 +202,7 @@
<a href="https://github.com/appwrite/appwrite/stargazers" target="_blank" class="aw-button is-text">
<span aria-hidden="true" class="aw-icon-star" />
<span class="text">Star on GitHub</span>
<span class="aw-inline-tag aw-sub-body-400">33.2k</span>
<span class="aw-inline-tag aw-sub-body-400">33.2K</span>
</a>
<a href="https://cloud.appwrite.io/register" class="aw-button is-secondary">#</a>
<a href="https://cloud.appwrite.io" class="aw-button">
Expand Down
2 changes: 1 addition & 1 deletion src/lib/layouts/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<a href="https://github.com/appwrite/appwrite/stargazers" target="_blank" class="aw-button is-text u-width-full-line">
<span class="aw-icon-star" aria-hidden="true" />
<span class="text">Star on GitHub</span>
<span class="aw-inline-tag aw-sub-body-400">33.2k</span>
<span class="aw-inline-tag aw-sub-body-400">33.2K</span>
</a>
</div>
</div>
Expand Down
6 changes: 4 additions & 2 deletions src/lib/utils/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const languages = {
css: css
} as const satisfies Record<string, LanguageFn>;

const platformAliases: Record<Platform, keyof typeof languages> = {
const platformAliases: Record<string, keyof typeof languages> = {
[Platform.ClientWeb]: 'js',
[Platform.ClientFlutter]: 'dart',
[Platform.ClientAndroidJava]: 'java',
Expand All @@ -73,7 +73,9 @@ const platformAliases: Record<Platform, keyof typeof languages> = {
[Platform.ServerPhp]: 'php',
[Platform.ServerPython]: 'py',
[Platform.ServerRuby]: 'rb',
[Platform.ServerSwift]: 'swift'
[Platform.ServerSwift]: 'swift',
vue: 'html',
svelte: 'html'
};

Object.entries(languages).forEach(([key, value]) => {
Expand Down
6 changes: 4 additions & 2 deletions src/lib/utils/references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export enum Platform {
ServerSwift = 'server-swift'
}

export const platformMap: Record<Language, string> = {
export const platformMap: Record<Language|string, string> = {
[Platform.ClientApple]: 'Apple',
[Platform.ClientFlutter]: 'Flutter',
[Platform.ClientWeb]: 'Web',
Expand Down Expand Up @@ -86,7 +86,9 @@ export const platformMap: Record<Language, string> = {
powershell: 'PowerShell',
cmd: 'CMD',
yaml: 'YAML',
text: 'Text'
text: 'Text',
vue: 'Vue',
svelte: 'Svelte'
};

export const serviceMap: Record<Service, string> = {
Expand Down
Loading