File tree Expand file tree Collapse file tree 5 files changed +42
-11
lines changed
Expand file tree Collapse file tree 5 files changed +42
-11
lines changed Original file line number Diff line number Diff line change 22import { defineConfig } from "astro/config" ;
33import starlight from "@astrojs/starlight" ;
44
5- import logoLight from "./public/logo-light.svg" ;
6- import logoDark from "./public/logo-dark.svg" ;
75import { sidebar } from "./src/config/sidebar" ;
86import { socials } from "./src/content/links" ;
97import { head } from "./src/config/head" ;
@@ -14,8 +12,8 @@ export default defineConfig({
1412 starlight ( {
1513 title : "Start UI Documentation" ,
1614 logo : {
17- dark : logoDark ,
18- light : logoLight ,
15+ dark : "/public/logo-dark.svg" ,
16+ light : "/public/logo-light.svg" ,
1917 alt : "Start UI" ,
2018 replacesTitle : true ,
2119 } ,
Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ const socials = config.social || [];
99{
1010 extraLinks .length > 0 && (
1111 <>
12- { extraLinks .map (({ label , href }) => (
12+ { extraLinks .map (({ label , href , isExternal }) => (
1313 <a
1414 { href }
1515 target = " _blank"
1616 rel = " noopenner noreferrer"
17- class = " sl-flex external-link"
17+ class = { ` sl-flex link ${ isExternal ? " external-link" : " " } ` }
1818 >
1919 { label }
20- <Icon name = " external" />
20+ { isExternal && <Icon name = " external" size = " 1em " class = " sl-ml-1 " /> }
2121 </a >
2222 ))}
2323 </>
@@ -27,7 +27,7 @@ const socials = config.social || [];
2727 socials .length > 0 && (
2828 <>
2929 { socials .map (({ label , href , icon }) => (
30- <a { href } rel = " me" class = " sl-flex" >
30+ <a { href } rel = " me" class = { " sl-flex" } >
3131 <span class = " sr-only" >{ label } </span >
3232 <Icon name = { icon } size = " 1.5em" />
3333 </a >
@@ -46,6 +46,10 @@ const socials = config.social || [];
4646 a:hover {
4747 opacity: 0.66;
4848 }
49+
50+ .link {
51+ underline: none;
52+ }
4953 .external-link {
5054 display: flex;
5155 align-items: center;
Original file line number Diff line number Diff line change 1+ ---
2+ title : About
3+ ---
4+
5+ Start UI is a set of three projects that was initiated by the [ BearStudio] ( https://bearstudio.fr ) Team
6+ and in particular by [ Ivan Dalmet] ( https://mobile.twitter.com/ivandalmet ) .
7+ The purpose of those projects is to make it easier and faster to reach the business features development time on a new project,
8+ that is to say, stop wasting time putting together the standard technologies and tooling, and having a starter for it.
9+
10+ Here are the three projects:
11+ - [[ web]] ( https://github.com/bearstudio/start-ui-web ) , which is the web starter related to this documentation
12+ - [[ native]] ( https://github.com/BearStudio/start-ui-native ) , which is a React Native starter that basically does the same
13+ as the web starter but for mobile applications made with React Native.
14+ - [[ figma]] ( https://www.figma.com/community/file/1025698982013308087 ) , which is a Figma template that contains the same components
15+ as the web starter, which will allow you to create mockups with the components you'll find in the web starter.
Original file line number Diff line number Diff line change 11---
22title : Introduction
33description : Get started building your app with Start UI.
4+ banner :
5+ content : |
6+ <a
7+ href="https://github.com/bearstudio/start-ui-web-doc"
8+ target="_blank"
9+ rel="noreferrer"
10+ >
11+ π Start UI [web]'s documentation is still in progress. Feel free to
12+ give feedback or contribute β
13+ </a>
414---
515
616π Start UI <small >[ web] </small > is an opinionated frontend starter repository created & maintained by the [ BearStudio Team] ( https://www.bearstudio.fr/team ) and other contributors.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ export const socials = [
22 {
33 icon : "github" ,
44 label : "GitHub" ,
5- href : "https://github.com/withastro/starlight " ,
5+ href : "https://github.com/BearStudio/start-ui-web-docs/ " ,
66 } ,
77 {
88 icon : "discord" ,
@@ -12,6 +12,10 @@ export const socials = [
1212] as const ;
1313
1414export const extraLinks = [
15- // { label: "Demo", href: "https://demo.start-ui.com" },
16- { label : "Contact" , href : "https://twitter.com/startui_" } ,
15+ {
16+ label : "Contact" ,
17+ href : "https://twitter.com/startui_" ,
18+ isExternal : true ,
19+ } ,
20+ { label : "About" , href : "about" } ,
1721] ;
You canβt perform that action at this time.
0 commit comments