tabindex
This commit is contained in:
parent
c2d0a67afc
commit
95ec9f0a2b
1 changed files with 18 additions and 18 deletions
|
@ -8,56 +8,56 @@ export function SidebarMain({currentPage}:{currentPage:string}) {
|
|||
<img src="/favicon.ico" width="128" height="128" />
|
||||
</div> */}
|
||||
<div className={styles.Main_List}>
|
||||
<Link href="/" className={currentPage === "/" ? styles.Main_List_CurrentLink : ""}>
|
||||
<button className={`fw ${styles.Main_List_Button}`} tabIndex={-1}>
|
||||
<Link href="/" className={currentPage === "/" ? styles.Main_List_CurrentLink : ""} tabIndex={-1}>
|
||||
<button className={`fw ${styles.Main_List_Button}`}>
|
||||
<span className="icon">home</span>
|
||||
<span>Root</span>
|
||||
</button>
|
||||
</Link>
|
||||
<Link href="/projects/" className={currentPage.includes("/projects/") ? styles.Main_List_CurrentLink : ""}>
|
||||
<button className={`fw ${styles.Main_List_Button}`} tabIndex={-1}>
|
||||
<Link href="/projects/" className={currentPage.includes("/projects/") ? styles.Main_List_CurrentLink : ""} tabIndex={-1}>
|
||||
<button className={`fw ${styles.Main_List_Button}`}>
|
||||
<span className="icon">folder</span>
|
||||
<span>Projects</span>
|
||||
</button>
|
||||
</Link>
|
||||
<Link href="/characters/" className={currentPage.includes("/characters/") ? styles.Main_List_CurrentLink : ""}>
|
||||
<button className={`fw ${styles.Main_List_Button}`} tabIndex={-1}>
|
||||
<Link href="/characters/" className={currentPage.includes("/characters/") ? styles.Main_List_CurrentLink : ""} tabIndex={-1}>
|
||||
<button className={`fw ${styles.Main_List_Button}`}>
|
||||
<span className="icon">group</span>
|
||||
<span>Characters</span>
|
||||
</button>
|
||||
</Link>
|
||||
<Link href="/blog/" className={currentPage.includes("/blog/") ? styles.Main_List_CurrentLink : ""}>
|
||||
<button className={`fw ${styles.Main_List_Button}`} tabIndex={-1}>
|
||||
<Link href="/blog/" className={currentPage.includes("/blog/") ? styles.Main_List_CurrentLink : ""} tabIndex={-1}>
|
||||
<button className={`fw ${styles.Main_List_Button}`}>
|
||||
<span className="icon">description</span>
|
||||
<span>Blog</span>
|
||||
</button>
|
||||
</Link>
|
||||
<Link href="/gallery/" className={currentPage.includes("/gallery/") ? styles.Main_List_CurrentLink : ""}>
|
||||
<button className={`fw ${styles.Main_List_Button}`} tabIndex={-1}>
|
||||
<Link href="/gallery/" className={currentPage.includes("/gallery/") ? styles.Main_List_CurrentLink : ""} tabIndex={-1}>
|
||||
<button className={`fw ${styles.Main_List_Button}`}>
|
||||
<span className="icon">image</span>
|
||||
<span>Gallery</span>
|
||||
</button>
|
||||
</Link>
|
||||
<Link href="/stories/" className={currentPage.includes("/stories/") ? styles.Main_List_CurrentLink : ""}>
|
||||
<button className={`fw ${styles.Main_List_Button}`} tabIndex={-1}>
|
||||
<Link href="/stories/" className={currentPage.includes("/stories/") ? styles.Main_List_CurrentLink : ""} tabIndex={-1}>
|
||||
<button className={`fw ${styles.Main_List_Button}`}>
|
||||
<span className="icon">book</span>
|
||||
<span>Stories</span>
|
||||
</button>
|
||||
</Link>
|
||||
<Link href="/links/" className={currentPage.includes("/links/") ? styles.Main_List_CurrentLink : ""}>
|
||||
<button className={`fw ${styles.Main_List_Button}`} tabIndex={-1}>
|
||||
<Link href="/links/" className={currentPage.includes("/links/") ? styles.Main_List_CurrentLink : ""} tabIndex={-1}>
|
||||
<button className={`fw ${styles.Main_List_Button}`}>
|
||||
<span className="icon">link</span>
|
||||
<span>Links</span>
|
||||
</button>
|
||||
</Link>
|
||||
<Link href="/oao/" className={currentPage.includes("/oao/") ? styles.Main_List_CurrentLink : ""}>
|
||||
<button className={`fw ${styles.Main_List_Button}`} tabIndex={-1}>
|
||||
<Link href="/oao/" className={currentPage.includes("/oao/") ? styles.Main_List_CurrentLink : ""} tabIndex={-1}>
|
||||
<button className={`fw ${styles.Main_List_Button}`}>
|
||||
<span className="icon">campaign</span>
|
||||
<span>Opinions & Objections</span>
|
||||
</button>
|
||||
</Link>
|
||||
<Link href="/about/" className={currentPage.includes("/about/") ? styles.Main_List_CurrentLink : ""}>
|
||||
<button className={`fw ${styles.Main_List_Button}`} tabIndex={-1}>
|
||||
<Link href="/about/" className={currentPage.includes("/about/") ? styles.Main_List_CurrentLink : ""} tabIndex={-1}>
|
||||
<button className={`fw ${styles.Main_List_Button}`}>
|
||||
<span className="icon">info</span>
|
||||
<span>About</span>
|
||||
</button>
|
||||
|
|
Loading…
Reference in a new issue