Skip to content

Commit

Permalink
feat(homepage): added name and logo
Browse files Browse the repository at this point in the history
  • Loading branch information
adenvt committed Jun 22, 2022
1 parent 64c497e commit 938d9ab
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
6 changes: 4 additions & 2 deletions components/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { defineConfig } from 'vitepress'
import logo from './theme/assets/logo.svg'

export default defineConfig({
base : process.env.BASE_URL ?? '/design-system/',
title : 'Design System',
description: 'Privy Design System',
title : 'Archi',
description: 'Archi - Open Source Design System by PrivyID',
themeConfig: {
logo : './assets/logo.svg',
repo : 'privy-open-source/design-system',
docsDir : 'components',
docsBranch : 'main',
Expand Down
10 changes: 5 additions & 5 deletions components/.vitepress/theme/components/Home.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<template>
<div class="flex flex-col items-center justify-center min-h-screen">
<div class="flex flex-col items-center justify-center pt-8">
<img class="py-7" src="/assets/logo.svg" alt="icon privy" width="150">

<div class="flex h-full">
<div class="px-3 border-r">
<img :src="icon" alt="icon privy">
<img src="/assets/icon-privy.svg" alt="icon privy">
</div>
<div class="px-3">
<Badge>
Official
</Badge>
<Heading class="mt-2">
Design System
<span class="text-primary-100">Archi</span> Design System
</Heading>
<Subheading>
By PrivyID
Expand All @@ -35,7 +37,6 @@
import Subheading from "../../../subheading/Subheading.vue"
import Badge from "../../../badge/Badge.vue"
import Button from "../../../button/Button.vue"
import icon from "../assets/icon-privy.svg"
import { useRouter } from "vitepress"
import IconGithub from "@carbon/icons-vue/lib/logo--github/20"
Expand All @@ -53,7 +54,6 @@
}
return {
icon,
gettingStarted,
openGithub,
}
Expand Down
File renamed without changes
3 changes: 3 additions & 0 deletions components/public/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 938d9ab

Please sign in to comment.