Skip to content

Commit

Permalink
Update links directly to static content file
Browse files Browse the repository at this point in the history
  • Loading branch information
wbreza committed Aug 1, 2023
1 parent a861d95 commit 7d7b268
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 65 deletions.
7 changes: 1 addition & 6 deletions website/src/data/users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ import templates from '../../static/templates.json'
// Add your site to this list
// prettier-ignore

const Users: User[] = templates.map((template) => {
const user = template as User
user.preview = require('@site/static' + user.preview)

return user
})
const Users: User[] = templates as User[]

export const TagList = Object.keys(Tags) as TagType[];
function sortUsers() {
Expand Down
Loading

0 comments on commit 7d7b268

Please sign in to comment.