trepur_components 0.1.1 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/.babelrc +14 -0
  2. package/babel.config.js +4 -0
  3. package/dist/Components/Breadcrumbs/README.md +0 -1
  4. package/dist/Components/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +2 -77
  5. package/dist/Components/BreadcrumbsBordered/README.md +0 -1
  6. package/dist/Components/BreadcrumbsBordered/index.css +67 -0
  7. package/dist/Components/Button/Button.stories.js +11 -11
  8. package/dist/Components/Button/README.md +0 -1
  9. package/dist/Components/Button/{Button.js → index.js} +3 -3
  10. package/dist/Components/ButtonSlide/ButtonSlide.stories.js +11 -11
  11. package/dist/Components/ButtonSlide/README.md +0 -1
  12. package/dist/Components/ButtonSlide/{ButtonSlide.js → index.js} +3 -3
  13. package/dist/Components/Card/Card.stories.js +12 -12
  14. package/dist/Components/Card/README.md +0 -1
  15. package/dist/Components/Card/{Card.js → index.js} +4 -4
  16. package/dist/Components/CardImageLink/CardImageLink.stories.js +6 -6
  17. package/dist/Components/CardImageLink/{CardImageLink.js → index.js} +0 -0
  18. package/dist/Components/CardImageLinkList/CardImageLinkList.stories.js +2 -2
  19. package/dist/Components/CardImageLinkList/{CardImageLinkList.js → index.js} +2 -2
  20. package/dist/Components/CardList/CardList.stories.js +6 -157
  21. package/dist/Components/CardList/README.md +0 -1
  22. package/dist/Components/CardList/{CardList.js → index.js} +2 -2
  23. package/dist/Components/Icon/Icon.stories.js +6 -6
  24. package/dist/Components/Icon/README.md +0 -1
  25. package/dist/Components/Icon/{Icon.js → index.js} +0 -0
  26. package/dist/Components/Jumbotron/Jumbotron.stories.js +6 -6
  27. package/dist/Components/Jumbotron/{Jumbotron.js → index.js} +3 -3
  28. package/dist/Components/Nav/Nav.stories.js +108 -0
  29. package/dist/Components/Nav/README.md +0 -0
  30. package/dist/Components/{Nav.js → Nav/index.js} +5 -5
  31. package/dist/Components/Profile/Profile.stories.js +46 -0
  32. package/dist/Components/Profile/README.md +0 -0
  33. package/dist/Components/{Profile.js → Profile/index.js} +0 -0
  34. package/dist/Components/Search/README.md +0 -0
  35. package/dist/Components/Search/Search.stories.js +72 -0
  36. package/dist/Components/{Search.js → Search/index.js} +4 -4
  37. package/dist/Components/SignedInLinks/README.md +0 -0
  38. package/dist/Components/SignedInLinks/SignedInLinks.stories.js +48 -0
  39. package/dist/Components/{SignedInLinks.js → SignedInLinks/index.js} +0 -0
  40. package/dist/Components/SignedOutLinks/README.md +0 -0
  41. package/dist/Components/SignedOutLinks/SignedOutLinks.stories.js +48 -0
  42. package/dist/Components/{SignedOutLinks.js → SignedOutLinks/index.js} +9 -4
  43. package/dist/index.css +1 -64
  44. package/package.json +2 -2
  45. package/src/Components/Breadcrumbs/README.md +0 -1
  46. package/src/Components/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +1 -92
  47. package/src/Components/BreadcrumbsBordered/README.md +0 -1
  48. package/src/Components/BreadcrumbsBordered/index.css +67 -0
  49. package/src/Components/Button/Button.stories.js +1 -1
  50. package/src/Components/Button/README.md +0 -1
  51. package/src/Components/Button/{Button.js → index.js} +1 -1
  52. package/src/Components/ButtonSlide/ButtonSlide.stories.js +1 -1
  53. package/src/Components/ButtonSlide/README.md +0 -1
  54. package/src/Components/ButtonSlide/{ButtonSlide.js → index.js} +1 -1
  55. package/src/Components/Card/Card.stories.js +1 -1
  56. package/src/Components/Card/README.md +0 -1
  57. package/src/Components/Card/{Card.js → index.js} +2 -2
  58. package/src/Components/CardImageLink/CardImageLink.stories.js +1 -1
  59. package/src/Components/CardImageLink/{CardImageLink.js → index.js} +0 -0
  60. package/src/Components/CardImageLinkList/CardImageLinkList.stories.js +1 -1
  61. package/src/Components/CardImageLinkList/{CardImageLinkList.js → index.js} +1 -1
  62. package/src/Components/CardList/CardList.stories.js +3 -165
  63. package/src/Components/CardList/README.md +0 -1
  64. package/src/Components/CardList/{CardList.js → index.js} +1 -1
  65. package/src/Components/Icon/Icon.stories.js +1 -1
  66. package/src/Components/Icon/README.md +0 -1
  67. package/src/Components/Icon/{Icon.js → index.js} +0 -0
  68. package/src/Components/Jumbotron/Jumbotron.stories.js +1 -1
  69. package/src/Components/Jumbotron/{Jumbotron.js → index.js} +1 -1
  70. package/src/Components/Nav/Nav.stories.js +89 -0
  71. package/src/Components/Nav/README.md +0 -0
  72. package/src/Components/{Nav.js → Nav/index.js} +2 -2
  73. package/src/Components/Profile/Profile.stories.js +39 -0
  74. package/src/Components/Profile/README.md +0 -0
  75. package/src/Components/{Profile.js → Profile/index.js} +0 -0
  76. package/src/Components/Search/README.md +0 -0
  77. package/src/Components/Search/Search.stories.js +58 -0
  78. package/src/Components/{Search.js → Search/index.js} +4 -4
  79. package/src/Components/SignedInLinks/README.md +0 -0
  80. package/src/Components/SignedInLinks/SignedInLinks.stories.js +39 -0
  81. package/src/Components/{SignedInLinks.js → SignedInLinks/index.js} +0 -0
  82. package/src/Components/SignedOutLinks/README.md +0 -0
  83. package/src/Components/SignedOutLinks/SignedOutLinks.stories.js +39 -0
  84. package/src/Components/SignedOutLinks/index.js +13 -0
  85. package/src/index.css +1 -64
  86. package/babel.config.json +0 -18
  87. package/dist/App.css +0 -42
  88. package/dist/App.js +0 -24
  89. package/public/Logo.png +0 -0
  90. package/public/index.html +0 -10
  91. package/public/manifest.json +0 -25
  92. package/public/robots.txt +0 -3
  93. package/public/user.jpeg +0 -0
  94. package/src/App.css +0 -42
  95. package/src/App.js +0 -23
  96. package/src/Components/SignedOutLinks.js +0 -11
@@ -1,6 +1,6 @@
1
1
  import React from 'react'
2
2
  import Readme from './README.md'
3
- import Icon from './Icon'
3
+ import Icon from './index'
4
4
  import '../../index.css';
5
5
 
6
6
  export default {
@@ -1 +0,0 @@
1
- hello this is a button
File without changes
@@ -1,6 +1,6 @@
1
1
  import React from 'react'
2
2
  import Readme from './README.md'
3
- import Jumbotron from './Jumbotron'
3
+ import Jumbotron from './index'
4
4
  import '../../index.css';
5
5
 
6
6
  export default {
@@ -1,4 +1,4 @@
1
- import Button from "../Button/Button"
1
+ import Button from "../Button/index"
2
2
 
3
3
  const Jumbotron = ({
4
4
  image,
@@ -0,0 +1,89 @@
1
+ import React from 'react'
2
+ import Readme from './README.md'
3
+ import Nav from './index'
4
+ import '../../index.css';
5
+
6
+ const links = [
7
+ { name: 'link 1', reference: '/' },
8
+ { name: 'link 2', reference: '/'},
9
+ { name: 'link n-1', reference: '/'},
10
+ { name: 'link n', reference: '/'}
11
+ ]
12
+
13
+ export default {
14
+ title: 'Components/Nav',
15
+ argTypes: {
16
+
17
+ },
18
+ decorators: [(story) => <div className={`p-4`}>{story()}</div>],
19
+ parameters: {
20
+ readme: {
21
+ sidebar: Readme,
22
+ },
23
+ },
24
+ }
25
+
26
+ export const _Nav = (args) => {
27
+ return (
28
+ <Nav
29
+ links={links}
30
+ navPosition='1'
31
+ navClass="bg-brand-light-grey pb-4 pt-2"
32
+ navLinkClass='px-2 py-2 rounded-lg flex-1 hover:text-white hover:bg-black'
33
+ logoClass='py-4'
34
+ />
35
+ )
36
+ }
37
+
38
+ export const NavWithSearch = () => {
39
+ return (
40
+ <Nav
41
+ links={links}
42
+ navPosition='1'
43
+ navClass="bg-brand-light-grey pb-4 pt-2"
44
+ navLinkClass='px-2 py-2 rounded-lg flex-1 hover:text-white hover:bg-black'
45
+ logoClass='py-4'
46
+ showSearch
47
+ />
48
+ )
49
+ }
50
+
51
+ export const NavWithProfile = () => {
52
+ return (
53
+ <Nav
54
+ links={links}
55
+ navPosition='1'
56
+ navClass="bg-brand-light-grey pb-4 pt-2"
57
+ navLinkClass='px-2 py-2 rounded-lg flex-1 hover:text-white hover:bg-black'
58
+ logoClass='py-4'
59
+ showProfile
60
+ />
61
+ )
62
+ }
63
+
64
+ export const NavWithSearchAndProfile = () => {
65
+ return (
66
+ <Nav
67
+ links={links}
68
+ navPosition='1'
69
+ navClass="bg-brand-light-grey pb-4 pt-2"
70
+ navLinkClass='px-2 py-2 rounded-lg flex-1 hover:text-white hover:bg-black'
71
+ logoClass='py-4'
72
+ showProfile
73
+ showSearch
74
+ />
75
+ )
76
+ }
77
+
78
+ export const NavAligned = () => {
79
+ return (
80
+ <Nav
81
+ links={links}
82
+ navPosition='1'
83
+ navClass="bg-brand-light-grey pb-4 pt-2"
84
+ navLinkClass='px-2 py-2 rounded-lg flex-1 hover:text-white hover:bg-black'
85
+ logoClass='py-4'
86
+ alignNavAndLogo
87
+ />
88
+ )
89
+ }
File without changes
@@ -1,6 +1,6 @@
1
1
  import { useState } from 'react'
2
- import Profile from './Profile'
3
- import Search from './Search'
2
+ import Profile from '../Profile/index'
3
+ import Search from '../Search/index'
4
4
 
5
5
  const Header = ({
6
6
  links,
@@ -0,0 +1,39 @@
1
+ import React from 'react'
2
+ import Readme from './README.md'
3
+ import Profile from './index'
4
+ import '../../index.css';
5
+
6
+ const links = [
7
+ {
8
+ link: '/',
9
+ name: 'link 1'
10
+ },
11
+ {
12
+ link: '/',
13
+ name: 'link 2'
14
+ },
15
+ {
16
+ link: '/',
17
+ name: 'Link 3'
18
+ },
19
+ ]
20
+
21
+ export default {
22
+ title: 'Components/Breadcrumbs',
23
+ argTypes: {
24
+
25
+ },
26
+ decorators: [(story) => <div className={`p-4`}>{story()}</div>],
27
+ parameters: {
28
+ readme: {
29
+ sidebar: Readme,
30
+ },
31
+ },
32
+ }
33
+
34
+ export const _Breadcrumbs = (args) => {
35
+ return (
36
+ <Profile>
37
+ </Profile>
38
+ )
39
+ }
File without changes
File without changes
File without changes
@@ -0,0 +1,58 @@
1
+ import React from 'react'
2
+ import Readme from './README.md'
3
+ import Search from './index'
4
+ import '../../index.css';
5
+ import Icon from '../Icon/index'
6
+
7
+ export default {
8
+ title: 'Components/Search',
9
+ argTypes: {
10
+ },
11
+ decorators: [(story) => <div className={`p-4`}>{story()}</div>],
12
+ parameters: {
13
+ readme: {
14
+ sidebar: Readme,
15
+ },
16
+ },
17
+ }
18
+
19
+ export const _Search = (args) => {
20
+ return (
21
+ <Search>
22
+ </Search>
23
+ )
24
+ }
25
+
26
+ export const SearchWithPlaceholder = (args) => {
27
+ return (
28
+ <Search
29
+ placeholder='Enter some search item'>
30
+ </Search>
31
+ )
32
+ }
33
+
34
+ export const SearchWithLabel = (args) => {
35
+ return (
36
+ <Search
37
+ text='Label'>
38
+ </Search>
39
+ )
40
+ }
41
+
42
+ export const SearchWithIcon = (args) => {
43
+ return (
44
+ <Search
45
+ leftIcon = 'search'>
46
+ </Search>
47
+ )
48
+ }
49
+
50
+ export const SearchWithAll = (args) => {
51
+ return (
52
+ <Search
53
+ text='Label'
54
+ leftIcon = 'search'
55
+ placeholder='Enter some search item'>
56
+ </Search>
57
+ )
58
+ }
@@ -1,4 +1,4 @@
1
- import Icon from './Icon/Icon'
1
+ import Icon from '../Icon/index'
2
2
  const Search = ({
3
3
  className,
4
4
  onChange,
@@ -14,9 +14,9 @@ const Search = ({
14
14
  {/* <input className="ml-4 border-2 border-gray-300 bg-white h-10 px-5 pr-16 rounded-lg text-sm focus:outline-none" type="search" name="search" onChange={(e) => onChange(e.target.value)} placeholder={placeholder}/> */}
15
15
  <label className="relative block">
16
16
  <span className="sr-only">Search</span>
17
- <span className="absolute inset-y-0 left-5 flex items-center pl-2">
18
- {leftIcon && iconLeft}
19
- </span>
17
+ {leftIcon && <span className="absolute inset-y-0 left-5 flex items-center pl-2">
18
+ {iconLeft}
19
+ </span>}
20
20
  <input className="ml-4 pr-32 border-2 border-gray-300 h-10 px-5 placeholder:italic placeholder:text-gray-400 rounded-md py-2 pl-9 focus:outline-none focus:border-sky-500 focus:ring-sky-500 focus:ring-1" onChange={(e) => onChange(e.target.value)} placeholder={placeholder} type="text" name="search"/>
21
21
  </label>
22
22
  </div>
File without changes
@@ -0,0 +1,39 @@
1
+ import React from 'react'
2
+ import Readme from './README.md'
3
+ import SignedInLinks from './index'
4
+ import '../../index.css';
5
+
6
+ const links = [
7
+ {
8
+ link: '/',
9
+ name: 'link 1'
10
+ },
11
+ {
12
+ link: '/',
13
+ name: 'link 2'
14
+ },
15
+ {
16
+ link: '/',
17
+ name: 'Link 3'
18
+ },
19
+ ]
20
+
21
+ export default {
22
+ title: 'Components/SignedInLinks',
23
+ argTypes: {
24
+
25
+ },
26
+ decorators: [(story) => <div className={`p-4`}>{story()}</div>],
27
+ parameters: {
28
+ readme: {
29
+ sidebar: Readme,
30
+ },
31
+ },
32
+ }
33
+
34
+ export const _SignedInLinks = (args) => {
35
+ return (
36
+ <SignedInLinks links={links}>
37
+ </SignedInLinks>
38
+ )
39
+ }
File without changes
@@ -0,0 +1,39 @@
1
+ import React from 'react'
2
+ import Readme from './README.md'
3
+ import SignedOutLinks from './index'
4
+ import '../../index.css';
5
+
6
+ const links = [
7
+ {
8
+ link: '/',
9
+ name: 'link 1'
10
+ },
11
+ {
12
+ link: '/',
13
+ name: 'link 2'
14
+ },
15
+ {
16
+ link: '/',
17
+ name: 'Link 3'
18
+ },
19
+ ]
20
+
21
+ export default {
22
+ title: 'Components/SignedOutLinks',
23
+ argTypes: {
24
+
25
+ },
26
+ decorators: [(story) => <div className={`p-4`}>{story()}</div>],
27
+ parameters: {
28
+ readme: {
29
+ sidebar: Readme,
30
+ },
31
+ },
32
+ }
33
+
34
+ export const _SignedOutLinks = (args) => {
35
+ return (
36
+ <SignedOutLinks links={links}>
37
+ </SignedOutLinks>
38
+ )
39
+ }
@@ -0,0 +1,13 @@
1
+ const SignedInLinks = ({links}) => {
2
+ return (
3
+ <div className='container flex'>
4
+ <ul className='list-none mx-auto flex flex-1'>
5
+ {links && links.map((link) => {
6
+ return <li className='flex px-4'><a className='flex-1' href={link.url}>{link.name}</a></li>
7
+ })}
8
+ </ul>
9
+ </div>
10
+ )
11
+ }
12
+
13
+ export default SignedInLinks
package/src/index.css CHANGED
@@ -1,67 +1,4 @@
1
1
  @tailwind base;
2
2
  @tailwind components;
3
3
  @tailwind utilities;
4
- @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');
5
-
6
- .right-arrow {
7
- @apply w-0;
8
- @apply h-0;
9
- border-top: 17px solid transparent;
10
- border-bottom: 17px solid transparent;
11
- border-left: 15px solid theme('colors.brand-border');
12
- @apply absolute;
13
- right: -15px;
14
- @apply top-0;
15
- }
16
-
17
- .let-arrow {
18
- @apply w-0;
19
- @apply h-0;
20
- border-top: 17px solid transparent;
21
- border-bottom: 17px solid transparent;
22
- border-left: 17px solid theme('colors.white');
23
- @apply absolute;
24
- left: 0px;
25
- @apply top-0;
26
- }
27
-
28
- .test-arrow {
29
- @apply w-0;
30
- @apply h-0;
31
- border-top: 17px solid transparent;
32
- border-bottom: 17px solid transparent;
33
- border-left: 15px solid theme('colors.brand-border');
34
- @apply absolute;
35
- left: -8px;
36
- bottom: -11px;
37
- transform: rotate(48deg);
38
- }
39
-
40
- .test-arrow-top {
41
- @apply w-0;
42
- @apply h-0;
43
- border-top: 15px solid theme('colors.brand-border');
44
- border-bottom: 17px solid transparent;
45
- border-left: 17px solid transparent;
46
- @apply absolute;
47
- left: -17px;
48
- top: 0px;
49
- }
50
-
51
- .voucherCode__btn {
52
- @apply relative;
53
- }
54
-
55
- .voucherCode__btn:hover .right-arrow {
56
- border-left-color: theme('colors.brand-primary');
57
- }
58
- .voucherCode__btn:hover .test-arrow {
59
- border-left-color: theme('colors.brand-primary');
60
- }
61
- .voucherCode__btn:hover .test-arrow-top {
62
- border-top-color: theme('colors.brand-primary');
63
- }
64
-
65
- .voucherCode__code:focus {
66
- @apply border-0;
67
- }
4
+ @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');
package/babel.config.json DELETED
@@ -1,18 +0,0 @@
1
- {
2
- "presets": [
3
- [
4
- "@babel/env",
5
- {
6
- "targets": {
7
- "edge": "17",
8
- "firefox": "60",
9
- "chrome": "67",
10
- "safari": "11.1"
11
- },
12
- "useBuiltIns": "usage",
13
- "corejs": "3.6.5"
14
- }
15
- ],
16
- "@babel/preset-react"
17
- ]
18
- }
package/dist/App.css DELETED
@@ -1,42 +0,0 @@
1
- .App {
2
- text-align: center;
3
- }
4
-
5
- .App-logo {
6
- height: 40vmin;
7
- pointer-events: none;
8
- }
9
-
10
- @media (prefers-reduced-motion: no-preference) {
11
- .App-logo {
12
- animation: App-logo-spin infinite 20s linear;
13
- }
14
- }
15
-
16
- .App-header {
17
- background-color: #282c34;
18
- min-height: 100vh;
19
- display: flex;
20
- flex-direction: column;
21
- align-items: center;
22
- justify-content: center;
23
- font-size: calc(10px + 2vmin);
24
- color: white;
25
- }
26
-
27
- .App-link {
28
- color: #61dafb;
29
- }
30
-
31
- @keyframes App-logo-spin {
32
- from {
33
- transform: rotate(0deg);
34
- }
35
- to {
36
- transform: rotate(360deg);
37
- }
38
- }
39
-
40
- react-calendar__tile--now {
41
- background: #31A3DD !important;
42
- }
package/dist/App.js DELETED
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- require("./App.css");
9
-
10
- function App() {
11
- return /*#__PURE__*/React.createElement("div", {
12
- className: "App"
13
- }, /*#__PURE__*/React.createElement("header", {
14
- className: "App-header"
15
- }, /*#__PURE__*/React.createElement("p", null, "Edit ", /*#__PURE__*/React.createElement("code", null, "src/App.js"), " and save to reload."), /*#__PURE__*/React.createElement("a", {
16
- className: "App-link",
17
- href: "https://reactjs.org",
18
- target: "_blank",
19
- rel: "noopener noreferrer"
20
- }, "Learn React")));
21
- }
22
-
23
- var _default = App;
24
- exports.default = _default;
package/public/Logo.png DELETED
Binary file
package/public/index.html DELETED
@@ -1,10 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- </head>
7
- <body>
8
- <div id="root"></div>
9
- </body>
10
- </html>
@@ -1,25 +0,0 @@
1
- {
2
- "short_name": "React App",
3
- "name": "Create React App Sample",
4
- "icons": [
5
- {
6
- "src": "favicon.ico",
7
- "sizes": "64x64 32x32 24x24 16x16",
8
- "type": "image/x-icon"
9
- },
10
- {
11
- "src": "logo192.png",
12
- "type": "image/png",
13
- "sizes": "192x192"
14
- },
15
- {
16
- "src": "logo512.png",
17
- "type": "image/png",
18
- "sizes": "512x512"
19
- }
20
- ],
21
- "start_url": ".",
22
- "display": "standalone",
23
- "theme_color": "#000000",
24
- "background_color": "#ffffff"
25
- }
package/public/robots.txt DELETED
@@ -1,3 +0,0 @@
1
- # https://www.robotstxt.org/robotstxt.html
2
- User-agent: *
3
- Disallow:
package/public/user.jpeg DELETED
Binary file
package/src/App.css DELETED
@@ -1,42 +0,0 @@
1
- .App {
2
- text-align: center;
3
- }
4
-
5
- .App-logo {
6
- height: 40vmin;
7
- pointer-events: none;
8
- }
9
-
10
- @media (prefers-reduced-motion: no-preference) {
11
- .App-logo {
12
- animation: App-logo-spin infinite 20s linear;
13
- }
14
- }
15
-
16
- .App-header {
17
- background-color: #282c34;
18
- min-height: 100vh;
19
- display: flex;
20
- flex-direction: column;
21
- align-items: center;
22
- justify-content: center;
23
- font-size: calc(10px + 2vmin);
24
- color: white;
25
- }
26
-
27
- .App-link {
28
- color: #61dafb;
29
- }
30
-
31
- @keyframes App-logo-spin {
32
- from {
33
- transform: rotate(0deg);
34
- }
35
- to {
36
- transform: rotate(360deg);
37
- }
38
- }
39
-
40
- react-calendar__tile--now {
41
- background: #31A3DD !important;
42
- }
package/src/App.js DELETED
@@ -1,23 +0,0 @@
1
- import './App.css';
2
-
3
- function App() {
4
- return (
5
- <div className="App">
6
- <header className="App-header">
7
- <p>
8
- Edit <code>src/App.js</code> and save to reload.
9
- </p>
10
- <a
11
- className="App-link"
12
- href="https://reactjs.org"
13
- target="_blank"
14
- rel="noopener noreferrer"
15
- >
16
- Learn React
17
- </a>
18
- </header>
19
- </div>
20
- );
21
- }
22
-
23
- export default App;
@@ -1,11 +0,0 @@
1
- const SignedInLinks = ({links}) => {
2
- return (
3
- <div className='container mx-auto px-4 flex'>
4
- {links && links.map((link) => {
5
- return <li className='flex-1'>{link}</li>
6
- })}
7
- </div>
8
- )
9
- }
10
-
11
- export default SignedInLinks