feat: added hashtags

This commit is contained in:
Nick 2024-11-24 01:53:40 -06:00
parent b3df4c7581
commit 33694f5ff8
4 changed files with 440 additions and 11 deletions

View file

@ -21,8 +21,7 @@ topLevelContainer =
pageList : List (Attribute msg)
pageList =
[ spacing 10
, -- Isaac yote me, fix me.
centerX
, centerX
, centerY
, alignTop
, paddingEach { top = 30, bottom = 30, left = 30, right = 30 }

View file

@ -49,7 +49,7 @@ argumentMaker onClickMsg areArgsExpanded argument indexExpand =
]
[ titleMaker onClickMsg indexExpand argument.argumentTitle isArgumentExpanded
, column
([ E.width <| px 600, centerX, transitionStyle ]
([ E.width <| px 600, centerX, transitionStyle, spacing 10 ]
++ (if not isArgumentExpanded then
[ transitionStyle
, height <| px 0
@ -87,12 +87,11 @@ titleMaker onClickMsg indexExpand title isArgumentExpanded =
, F.center
, transitionStyle
, pointer
-- , mouseOver
-- [ B.color colourTheme.highlightTextHover
-- , F.color colourTheme.nonHighlightedText
-- , D.color colourTheme.highlightTextHover
-- ]
, mouseOver
[ B.color colourTheme.highlightTextHover
, F.color colourTheme.nonHighlightedText
, D.color colourTheme.highlightTextHover
]
, V.onClick <| onClickMsg indexExpand
]
++ (if not isArgumentExpanded then
@ -168,7 +167,7 @@ tableMaker argument isArgumentExpanded =
in
List.indexedMap
(\index argumentEntry ->
column (paragraphFormat ++ [ spacing 3, centerX, E.width <| px 500 ])
column (paragraphFormat ++ [ spacing 3, centerX, E.width <| px 500, paddingEach { top = 10, right = 0, bottom = 0, left = 0 } ])
(List.indexedMap
(\premiseIndex premiseWithNotation ->
column argumentFormatting
@ -201,7 +200,7 @@ tableMaker argument isArgumentExpanded =
argument.argumentFormalization
in
column [ centerX, E.width <| px 600 ]
[ wrappedRow (paragraphBoldFormat ++ [ E.alignLeft, E.width fill, paddingEach { top = 10, right = 0, bottom = 10, left = 0 } ])
[ wrappedRow (paragraphBoldFormat ++ [ E.alignLeft, E.width fill ])
[ E.table
[ spacing 0
, D.rounded 10

View file

@ -0,0 +1 @@
module Hashtags.Helpers exposing (..)

View file

@ -0,0 +1,430 @@
module Hashtags.Types exposing (..)
type Hashtags =
Nutrition
| Disease
| Debate
| Cuckery
| DiseaseCardiovascular
| DebateOpponents
| LipoProteinsLowDensity
| DiseaseCoronaryHeart
| Humans
| BloodLipids
| FatPolyunsaturated
| FatMonounsaturated
| AnimalFoods
| FatSaturated
| FatDietary
| Veganism
| Epidemiology
| FoodsSeedOils
| Cucks
| DiseaseType2Diabetes
| AllCauseMortality
| FatsAnimal
| DietsLowCarbohydrate
| DietsHighCarbohydrate
| FoodsAnimal
| Arguments
| Cancer
| FatsPlant
| FoodsPlant
| ProteinAnimal
| ProteinPlant
| CuckPapers
| DiseaseObesity
| LipoProteinsApoB
| BloodGlucose
| LipoProteinsHighDensity
| FoodsMeat
| Lipidology
| FoodsRedMeat
| FoodsProcessedMeat
| FatsLinoleicAcid
| Nutrients
| HealthWeightLoss
| Carbohydrates
| Exercise
| FatsOmega6
| Philosophy
| DiseaseInflammation
| DietsKeto
| NutritionalStatus
| BloodLipidsTriglycerides
| HealthAnthropometrics
| FoodsDairy
| ExerciseHypertrophy
| AncestryPrimitiveCulture
| HealthWeightGain
| HumansChildren
| FoodsProcessedFood
| MarkersInsulinSensitivity
| DieaseNAFLD
| Diseasetroke
| ResearchSystematicReview
| ResearchMetaAnalysis
| DietsPlantBased
| DietsAnimalBased
| MarkersBiomarkers
| Fallacies
| FoodsFruit
| FoodsLegumes
| DiseaseMortality
| AncestryAntagonisticPleiotropy
| DietsCarnivore
| BloodLipidsCholesterol
| NutritionEnergyIntake
| NutritionAntiNutrient
| HealthBodyWeight
| MarkersCReactiveProtein
| DebateCoursework
| AncestryHunterGatherers
| FatsTrans
| DietsDietaryGuidelines
| FoodsEggs
| ExerciseFitness
| MarkersInsulin
| DiseaseMetabolicSyndrome
| FatsOmega3
| ResearchAnthropology
| ResearchCardiology
| HumansInfants
| DiseaseMentalIllness
| MedicationsStatins
| CarbohydratesSugar
| NutrientBioavailability
| FoodsCheese
| ResearchCohortStudies
| DiseaseCoronaryArteryCalcification
| NutrientDietaryCholesterol
| DiseaseHeartDisease
| FoodsSoyProducts
| LipoProteinsApoA
| NutrientArtificialSweeteners
| CancerColorectalCancer
| FoodsFish
| CarbohydratesFructose
| MarkersHbA1C
| DiseaseNutrientDeficiency
| ResearchNutritionScience
| FoodsNuts
| Animals
| DiseaseAutoImmune
| MarkersBMI
| FatsDHA
| FatsEPA
| FoodsOliveOil
| LipoProteinsOxidizedLowDensity
| NutrientPhytate
| FoodsPoultry
| FoodsRefinedGrains
| FoodsWholeGrains
| FoodsSugarSweetenedBeverages
| FoodsVegetables
| ResearchClinicalTrials
| Evolution
| FoodsFermentedFoods
| NutrientGluten
| MarkersHormones
| DiseaseHypertensions
| MarkersInterleukin6
| CancerLungCancer
| ResearchMendelianRandomization
| FoodsMilk
| DiseaseOverweight
| NutrientPolyphenols
| MarkersSatiety
| ResearchSubstitionAnalysis
| MarkersTNF
| NutrientK2
| Agriculture
| CancerBreastCancer
| HumansChildDevelopment
| FoodsChocolate
| NutrientFibre
| ResearchMice
| MarkersMicrobiome
| NutrientAnimal
| MarkersOxidativeStress
| FoodsPotatoes
| CancerProstateCancer
| Proteoglycans
| DiseaseType1Diabetes
| NutrientVitaminA
| NutrientVitaminC
| FoodsYogurt
| DiseaseAnemia
| AgricultureAnimal
| AgriculturePlant
| DiseaseAtherosclerosis
| NutrientAntioxidants
| MarkersAutoAntibodies
| FoodsAvocado
| MarkersBloodPressure
| CancerColonCancer
| MarkersEnergyExpenditure
| FoodsFriedFoods
| DiseaseHeartAttack
| DiseaseKidneyDisease
| FallaciesMechanisticSpeculation
| DietsMediterraneanDiet
| LipoProteinsNonHDL
| VeganismNameTheTrait
| NutrientOxalate
| ResearchPhysiology
| PhilosophyPropositionalLogic
| PhilosophyPredicateLogic
| PhilosophyModalLogic
| ResearchPsychology
| SocioEconomicStatus
| NutrientFibreSoluble
| NutrientFibreInsoluble
| NutrientSupplements
| NutrientB12
| Assays4E6
| AssaysE06
| FoodsBread
| PhilosophyCausalInference
| DiseaseCholestasis
| NutrientCholine
| DiseaseDementia
| ResearchDoseResponse
| PhilosophyEpistemology
| CancerEsophagealCancer
| DiseaseGallstones
| HumansGrowth
| MarkersImmuneFunction
| MarkersLiverFunction
| MarkersLiverEnzymes
| DiseaseMacularDegeneration
| MarkersDMA
| PhysiologyMetabolism
| NutrientMinerals
| PhilosophyMoralRealism
| CancerPancreaticCancer
| NutrientPhytoEstrogens
| FoodsPork
| PhysiologyPostMenopause
| AnimalsPredators
| FallaciesRedHerring
| ResearchSexuality
| NutrientVitaminE
| HealthSmoking
| NutrientSodium
| PhysiologySubendothelialSpace
| MarkersTMAO
| HumanTransGender
| FoodsWhey
| FoodsWhiteMeat
| FoodsWholeFoods
| NutrientsAlcohol
| FoodsAlmonds
| FallaciesAppealToNature
| FoodsBeef
| NutrientsBetaCarotene
| AnimalsBivalves
| FoodsButter
| FoodsCanolaOil
| DiseaseCeliacDisease
| FoodsCereals
| MedicationsCETPInhibitors
| FoodsCoconutOil
| FoodsCoffee
| DiseaseConstipation
| VeganismCropDeaths
| DiseaseDepression
| ResearchPDCAAS
| ResearchDIAAS
| HealthDigestion
| FallaciesEcological
| CancerEndometrialCancer
| DietsFasting
| HumansFemaleHealth
| HumansMaleHealth
| FoodsFlaxseeds
| NutrientFODMAPs
| ResearchFFQs
| DiseaseFracture
| DiseaseFrailty
| PhysiologyGluconeogenesis
| ResearchGlycemicIndex
| DiseaseHeartFailure
| DiseaseHyperphagia
| NutrientIsoflavones
| FoodsJuice
| DiseaseKidneyStones
| CuckeryLMHR
| HealthLongevity
| FoodsMayonnaise
| PhilosophyMoralSubjectivism
| DiseaseNeuroDegenerative
| ResearchOphthalmology
| DiseaseOsteoporosis
| AnimalsOrca
| DietsPaleo
| FoodsPalmOil
| MarkersPCSK9
| NutrientsPhytosterols
| PhysiologyPreMenopause
| CancerRectalCancer
| DiseaseRespiratoryDisease
| PhysiologySenescence
| PhilosophySentience
| MarkersSexHormones
| AnimalsShellfish
| CancerSkinCancer
| HealthSkin
| FatsStearicAcid
| CancerStomachCancer
| FoodsUltraProcessed
| DietsVegetarian
| LipoProteinsVeryLowDensity
| MarkersVisceralFat
| NutrientVitaminB6
| FoodsWalnuts
| FoodsWheat
| MarkersAbdominalFat
| PoliticsAbortion
| MarkersAcrylamide
| PhysiologyAdiposeTissue
| HumansAdolescents
| DiseaseAFib
| ExerciseAgility
| PlantsAlgae
| DietsAncestral
| PhysiologyAndrogens
| PhilosophyAntiNatalism
| PhilosophyEfilism
| FallaciesAppealFromIncredulity
| FallaciesAppealToAuthority
| FallaciesBeggingTheQuestion
| FallaciesAppealToIgnorance
| FatsArachidonicAcid
| ResearchArcheology
| DiseaseArrythmia
| PhilosophyAutopoiesis
| NutrientBiotin
| CancerBladderCancer
| MarkersBodyOdor
| MarkersBoneMineralDensity
| ResearchBradfordHill
| FoodsBreakfastCereals
| FoodsBreastMilk
| FoodsBrewedDrinks
| DiseaseBronchitis
| NutrientCalcium
| NutrientCarotenoids
| ResearchCaseControl
| ResearchRandomizedControlledTrial
| NutrientCasein
| AnimalsCats
| AnimalsDogs
| AnimalsChickens
| LipoproteinsChylomicrons
| ResearchClimateScience
| DiseaseCognitiveDecline
| MarkersCognitiveFunction
| DiseaseColonPolyops
| DiseaseCOVID19
| NutrientCreatine
| AnimalsCrustaceans
| FoodsCulturedMeat
| PhilosophyDeMorgansLaw
| PhysiologyDeNovoLipogenesis
| DebateModeration
| ResearchDermatology
| DiseaseDisability
| CancerDistalColonCancer
| DiseaseDiverticularDisease
| ResearchEconomics
| PhysiologyEjaculation
| DiseaseEmphysema
| MarkersEndothelialFunction
| PhilosophyEthics
| FallaciesEquivocation
| DiseaseErectileDysfunction
| ResearchEvidenceHierarchy
| NutrientFat
| HealthFertility
| FoodsFishOil
| CuckeryFlatEarth
| MarkersFlowMediatedDilation
| FoodsFrenchFries
| CancerGasticCancer
| FallaciesGeneticFallacy
| ResearchGenetics
| CarbohydratesGlucose
| MarkersGlucoseTolerance
| ResearchGlycemicLoad
| PhysiologyGlycogen
| NutrientGoitrogens
| FoodsGoldenRice
| FoodsGreenTea
| HealthGutHealth
| FoodsHazelnuts
| MarkersHeartRate
| MarkersHOMAIR
| DietsHypocaloric
| DietsHypercaloric
| DietsEucaloric
| DiseaseHypothyroidism
| ResearchImmunology
| MarkersIGF1
| PoliticsIsraelPalestine
| MarkersKetones
| ResearchKinetics
| NutrientLCarnitine
| NutrientLectins
| HealthLifestyle
| PhilosophyLinguisticPrescriptivism
| MarkersLPS
| LipoProteinsLPA
| PhysiologyLPL
| DiseaseLupus
| MarkersMalondialdehyde
| NutrientManganese
| FoodsMargarine
| HealthMasturbation
| FatsMCTs
| ResearchMetaRegression
| FoodsMockMeats
| DiseaseMoodDisorders
| FallaciesMuddyingTheWaters
| ResearchMulticollinearity
| FoodsMushroom
| FoodsOats
| FoodsOrgans
| CancerOvarianCancer
| NutrientPhosphorus
| MedicationsPCSK9Inhibitors
| DiseaseSchizophrenia
| FoodsSeafood
| DiseaseScurvy
| HealthSelfImprovement
| DiseaseSepsis
| MarkersSNPs
| FoodsSoybeanOil
| DietsStandardAmericanDiet
| DiseaseStenosis
| FallaciesStrawman
| DiseaseSunburn
| Sunlight
| ResearchSurvivorshipBias
| NutrientTannins
| Tattooing
| NutrientTaurine
| MarkersTestosterone
| DiseaseThrombosis
| DietsTimeRestrictedFeeding
| DiseaseTinnitus
| FoodsTofu
| FoodsTomatoes
| FoodsTurmeric
| DiseaseUlcerativeColitis
| DiseaseUnderweight
| ResearchVirology
| DiseaseVisionLoss
| NutrientVitaminB5
| NutrientVitaminD
| FoodsYeast